@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* =========================
   BASE / GLOBAL
========================= */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* =========================
   BLAZOR ERROR UI
========================= */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvYz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

/* =========================
   SMALL HELPERS
========================= */
.no-highlight {
    background-color: transparent;
}

.highlight-row {
    background-color: #d1ffd1 !important;
}

.updated-row {
    background-color: #fff3cd !important;
}

.table-striped tbody tr:nth-child(odd) {
    background-color: #f6f6f6;
}

.table-striped tbody tr:hover {
    background-color: #dbefff;
}

.btn-danger {
    background-color: #d9534f;
}

.btn-success {
    background-color: #5cb85c;
}

.btn-warning {
    background-color: #f0ad4e;
}

/* =========================
   GENERIC MODAL (if used)
========================= */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 900;
}

.modal-container {
    position: fixed;
    z-index: 1050;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1100px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 30px rgba(0,0,0,0.4);
}

.show-modal {
    display: block;
}

.modal-header {
    border-bottom: 1px solid #e3e3e3;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* =========================
   SCROLL CONTAINERS
========================= */
.parovi-scroll {
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.left-scroll-container,
.detail-scroll-container {
    height: calc(100vh - 130px);
    overflow-y: auto;
    padding-right: 5px;
}

    .detail-scroll-container::-webkit-scrollbar {
        width: 8px;
    }

    .detail-scroll-container::-webkit-scrollbar-thumb {
        background: #c0c0c0;
        border-radius: 4px;
    }

/* =========================
   NAV SUB MENU
========================= */
.sub-menu .nav-link {
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

    .sub-menu .nav-link .oi {
        font-size: 0.8rem;
    }

/* =========================
   TABLE WIDTH HELPERS
========================= */
.fixed-table {
    table-layout: fixed;
    width: 100%;
}

.col-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-full {
    white-space: nowrap;
}

.selected-row {
    background-color: #0d6efd !important;
    color: white !important;
}

    .selected-row td {
        font-weight: 600;
    }

/* =========================
   CARDS (tip / ticket / match)
========================= */
.tip-card-list, .ticket-card-list, .match-card-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tip-card, .ticket-card {
    background: #f7f7f7;
    border-radius: 6px;
    padding: 10px 12px;
    border: 1px solid #ccc;
}

.tip-card {
    background: #f6f6f6;
    border-color: #dcdcdc;
    cursor: pointer;
    transition: 0.15s;
}

    .tip-card:hover {
        background: #e8f0ff;
    }

.tip-card-selected {
    background: #0d6efd !important;
    color: white !important;
    border-color: #0d6efd;
}

.tip-card-header, .ticket-card-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.tip-card-body {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 13px;
}

.ticket-card-body {
    margin-top: 4px;
    font-size: 13px;
    display: flex;
    flex-direction: column;
}

.match-card {
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 10px 12px;
    cursor: pointer;
    transition: 0.15s ease-in-out;
}

    .match-card:hover {
        background: #e8efff;
        border-color: #3b7cff;
    }

.match-card-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 4px;
    color: #333;
}

.match-league {
    font-weight: 600;
}

.match-card-teams {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.match-card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.match-card-selected {
    background: #0d6efd !important;
    color: white !important;
    border-color: #0d6efd !important;
}

.selected-match-card {
    border-color: #0d6efd !important;
    background: #e7f0ff !important;
}

/* =========================
   TICKET MODAL (LEVEL 2)
========================= */
.ticket-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9800;
}

.ticket-modal-container {
    position: fixed;
    top: 7%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    background: #ffffff;
    border: 2px solid #dddddd;
    border-radius: 12px;
    overflow: hidden;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    max-height: 86vh;
}

.ticket-modal-header {
    flex-shrink: 0;
    padding: 10px 12px;
}

.ticket-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
}

.ticket-modal-footer {
    position: sticky;
    bottom: 0;
    background: white;
    padding-top: 10px;
}

.ticket-modal-loading {
    position: fixed;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
}

.btn-close-white {
    background: none;
    border: none;
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
    color: white !important;
    cursor: pointer;
}

/* Top information row */
.ticket-info-row .label {
    font-size: 11px;
    opacity: 0.8;
}

/* Matches scroll zone */
.ticket-matches-container {
    max-height: 55vh;
    overflow-y: auto;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.ticket-matches-wrapper {
    margin-top: 12px;
}

/* Status header colors */
.ticket-win {
    background: #1c8c1c;
}

.ticket-lost {
    background: #c72626;
}

.ticket-neutral {
    background: #8b8b8b;
}

/* =========================
   TICKET SUMMARY (ALL SIZES)
========================= */
.ticket-summary-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.ticket-summary-box {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 2px 9px rgba(0,0,0,0.04);
}

.box-title {
    font-weight: 800;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 6px;
    margin-bottom: 4px;
}

.row-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
}

    .row-item span {
        opacity: 0.75;
        white-space: nowrap;
    }

    .row-item strong {
        font-size: 13px;
        font-weight: 800;
        text-align: right;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 60%;
    }

    .row-item.highlight strong {
        color: #008f25;
        font-weight: 900;
    }

    .row-item.win {
        border-top: 1px dashed #aaa;
        padding-top: 8px;
        margin-top: 6px;
    }

/* =========================
   DESKTOP TICKET TABLE
========================= */
.ticket-lines-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 13px;
}

    .ticket-lines-table thead th {
        background: #cfcfcf;
        color: #1a1a1a;
        padding: 8px 8px;
        border-bottom: 1px solid #b7b7b7;
        text-align: left;
        font-weight: 700;
    }

    .ticket-lines-table tbody td {
        padding: 8px 8px;
        border-bottom: 1px solid #bdbdbd;
        vertical-align: middle;
        background: #efefef;
    }

    .ticket-lines-table .col-status {
        width: 38px;
    }

    .ticket-lines-table .col-date {
        width: 90px;
    }

    .ticket-lines-table .col-odds {
        width: 70px;
        text-align: right;
    }

    .ticket-lines-table .col-result {
        width: 90px;
        text-align: right;
    }

    .ticket-lines-table td.status-cell {
        padding: 0;
        text-align: center;
        color: white;
        font-weight: 800;
    }

.ticket-line.row-win td.status-cell {
    background: #1c8c1c;
}

.ticket-line.row-lose td.status-cell {
    background: #b61f1f;
}

.ticket-line.row-pending td.status-cell {
    background: #caa400;
}

.ticket-line.row-postponed td.status-cell {
    background: #2b6cb0;
}

.status-icon {
    display: inline-flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* event cell formatting */
.event-top {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.event-code {
    font-weight: 800;
    white-space: nowrap;
}

.event-teams {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.event-sub, .play-sub, .muted {
    font-size: 12px;
    opacity: 0.75;
}

/* F badge */
.ticket-flag {
    display: inline-flex;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #8d8d8d;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    flex: 0 0 auto;
}

/* =========================
   MOBILE TICKET LINES
========================= */
.ticket-lines-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Card */
.ticket-line-mobile {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    overflow: hidden;
    background: #fffdf0; /* tiket beige */
    color: #111;
}

    /* Left status strip */
    .ticket-line-mobile .m-status {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #d0d0d0;
    }

    .ticket-line-mobile .status-icon {
        width: 26px;
        height: 26px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        font-size: 18px;
        color: #fff;
        background: rgba(255,255,255,0.20);
        min-height: auto;
    }

    /* Middle content */
    .ticket-line-mobile .m-mid {
        padding: 10px 10px 10px 0;
        min-width: 0;
    }

    .ticket-line-mobile .m-meta {
        font-size: 12px;
        line-height: 1.2;
        display: flex;
        flex-direction: column;
        gap: 2px;
        color: #222;
    }

    .ticket-line-mobile .m-event {
        margin-top: 6px;
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .ticket-line-mobile .m-code {
        font-weight: 900;
        white-space: nowrap;
    }

    .ticket-line-mobile .m-teams {
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }

    /* Pick line UNDER teams */
    .ticket-line-mobile .m-pickline {
        margin-top: 8px;
        padding-top: 6px;
        border-top: 1px solid rgba(0,0,0,0.10);
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
    }

    .ticket-line-mobile .m-pick-right {
        display: flex;
        flex-direction: row; /* kvota + status u istom redu */
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        flex: 0 0 auto;
    }

    .ticket-line-mobile .m-tip {
        font-size: 14px;
        font-weight: 900;
        line-height: 1.1;
    }

    .ticket-line-mobile .muted {
        font-size: 12px;
        font-weight: 700;
        opacity: 0.75;
    }

    .ticket-line-mobile .m-odds {
        line-height: 1;
        font-weight: 900;
    }

    .ticket-line-mobile .m-result {
        display: flex;
        align-items: center;
        line-height: 1;
    }

        .ticket-line-mobile .m-result .badge {
            font-size: 11px;
            padding: 4px 8px;
        }

    .ticket-line-mobile .bg-warning {
        background-color: #d39e00 !important;
        color: #111 !important;
    }

    /* Status colors only on left strip for readability */
    .ticket-line-mobile.row-win .m-status {
        background: #1c8c1c;
    }

    .ticket-line-mobile.row-lose .m-status {
        background: #b61f1f;
    }

    .ticket-line-mobile.row-pending .m-status {
        background: #caa400;
    }

    .ticket-line-mobile.row-postponed .m-status {
        background: #2b6cb0;
    }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    /* hide desktop table on mobile (if you use it elsewhere) */
    .matches-table {
        display: none !important;
    }

    .ticket-modal-container {
        width: 95vw !important;
        left: 50%;
        transform: translateX(-50%);
        top: 3%;
        max-height: 94vh;
    }

    .ticket-info-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 6px;
    }

    .ticket-modal-body {
        padding: 8px !important;
        font-size: 14px;
    }

    /* summary mobile: one column */
    .ticket-summary-grid {
        grid-template-columns: 1fr;
    }

    /* if values are long, allow wrap on mobile */
    .row-item strong {
        white-space: normal;
        max-width: 65%;
        line-height: 1.15;
    }
}

@media (min-width: 769px) {
    /* Desktop summary: 3 columns */
    .ticket-summary-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        margin-bottom: 18px;
    }
}

.shopTotalsWrap {
    max-height: calc(100vh - 220px);
    overflow: auto;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    background: #fff;
}

.shopTotalsTable thead th {
    position: sticky;
    top: 0;
    background: #f1f1f1;
    z-index: 2;
    cursor: pointer;
    user-select: none;
}

.shopTotalsTable tfoot td {
    position: sticky;
    bottom: 0;
    background: #fafafa;
    z-index: 1;
}

.negText {
    color: #c30000 !important;
}

.negRow td {
    color: #c30000;
}

.tfootRow td {
    border-top: 2px solid #cfcfcf;
}

/* ===== Tickets Overview layout ===== */
.tickets-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.tickets-main,
.grid-wrap,
.tickets-table-wrap {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 992px) {
    .tickets-layout {
        grid-template-columns: 1fr;
    }
}

.tickets-summary .summary-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    position: sticky;
    top: 10px;
}

.tickets-summary .summary-title {
    font-weight: 800;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
    margin-bottom: 8px;
}

.summary-lines {
    font-size: 13px;
    line-height: 1.35;
}

.filter-bar {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 12px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .filter-bar {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .filter-actions {
        grid-column: 1 / -1;
    }

    .filter-right {
        grid-column: 1 / -1;
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

    .filter-group .form-label {
        font-size: 12px;
        opacity: .75;
    }

.filter-actions {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.filter-right {
    margin-left: auto;
    display: flex;
    align-items: flex-end;
}

.grid-wrap {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.tickets-table-wrap {
    max-height: calc(100vh - 230px);
    overflow: auto;
    max-width: 100%;
}

.tickets-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f2f2f2;
    border-bottom: 1px solid #d0d0d0;
    font-weight: 800;
    white-space: nowrap;
}

.tickets-table td, .tickets-table th {
    font-size: 12.5px;
    white-space: nowrap;
}

.nowrap {
    white-space: nowrap;
}

.ticket-row {
    cursor: pointer;
}

    .ticket-row:hover {
        background: #eef6ff;
    }

.paging-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 10px;
    gap: 10px;
}

.paging-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.paging-info {
    font-size: 13px;
    white-space: nowrap;
}

.paging-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 992px) {
    .paging-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .paging-left, .paging-right {
        justify-content: space-between;
        width: 100%;
    }
}

.ticket-new {
    background: #e8fff0 !important;
    animation: pulse 1.2s ease;
}

@keyframes pulse {
    0% {
        background-color: #c8f7d2;
    }

    100% {
        background-color: #e8fff0;
    }
}

.page {
    min-width: 0;
}

main {
    min-width: 0;
}

/* tvoj wrapper */
.content {
    min-width: 0;
    max-width: 100%;
}

/* bootstrap .table-responsive zna “gurati” layout u flexu */
.table-responsive {
    min-width: 0;
    max-width: 100%;
}

.tickets-table tfoot td {
    position: sticky;
    bottom: 0;
    z-index: 3;
    background: #eef6ff;
    border-top: 2px solid #cfcfcf;
}

.group-header td {
    background: #f5f7ff;
    border-top: 1px solid #d8deff;
    font-size: 13px;
}

.group-total td {
    background: #fff7e6;
    border-top: 1px dashed #e2b86a;
    font-weight: 700;
}

.grand-total td {
    font-weight: 800;
}

.cell-competition {
    max-width: 220px;
}
/* prilagodi po želji */
.cell-sport {
    max-width: 120px;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== STATUS CELL ===== */
.status-cell {
    vertical-align: middle;
}

/* cijeli TD kad je završen */
.status-cell-finished {
    background-color: #eaf7ee !important;
}

/* badge */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* normal */
.status-badge-normal {
    background-color: #f1f3f5;
    color: #333;
}

/* finished */
.status-badge-finished {
    background-color: #28a745; /* bootstrap success */
    color: #fff;
}

.row-dirty td {
    background-color: #fff3cd !important; /* Bootstrap warning light */
}

.unsaved-badge {
    color: #856404;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
