﻿/* ─── Bootstrap variable overrides ─── */
:root {
    --bs-primary: #18478b;
    --bs-primary-rgb: 24, 71, 139;
    --bs-secondary: #ad8411;
    --bs-secondary-rgb: 173, 132, 17;
    --bs-primary-bg-subtle: rgba(24,71,139,0.07);
    --bs-body-font-family: 'Lato', sans-serif;
    --bs-card-bg: #FFFFFF;
    /*--bs-body-bg: #F2F1ED;*/
    --bs-border-color: rgba(24,71,139,0.12);
    /* Table overrides */
    /*--bs-table-striped-bg: #faf8f4;*/
    --bs-table-hover-bg: rgba(24,71,139,0.07);
    --bs-table-border-color: #f0ece4;
    /* Badge overrides */
    --bs-badge-font-size: 0.68rem;
    --bs-badge-font-weight: 700;
    --bs-badge-padding-y: 0.32em;
    --bs-badge-padding-x: 0.65em;
    --bs-badge-border-radius: 20px;
    /* Button overrides */
    /*--bs-btn-font-family: 'Lato', sans-serif;
    --bs-btn-font-size: 0.72rem;
    --bs-btn-font-weight: 700;
    --bs-btn-border-radius: 5px;
    --bs-btn-padding-y: 0.3rem;
    --bs-btn-padding-x: 0.7rem;*/
    /* Card overrides */
    --bs-card-border-radius: 12px;
    --bs-card-border-color: rgba(24,71,139,0.08);
    --bs-card-box-shadow: 0 6px 32px rgba(24,71,139,0.12), 0 1px 4px rgba(0,0,0,0.06);
    /* Pagination overrides */
    --bs-pagination-border-color: #e8e4dc;
    --bs-pagination-color: #666;
    --bs-pagination-bg: #fff;
    --bs-pagination-hover-color: #18478b;
    --bs-pagination-hover-bg: rgba(24,71,139,0.07);
    --bs-pagination-hover-border-color: #18478b;
    --bs-pagination-active-color: #ad8411;
    --bs-pagination-active-bg: #18478b;
    --bs-pagination-active-border-color: #18478b;
    --bs-pagination-disabled-color: #ccc;
    --bs-pagination-font-size: 0.78rem;
    --bs-pagination-border-radius: 6px;
    /* Form control overrides */
    --bs-form-control-border-color: #ddd;
    --bs-focus-ring-color: rgba(24,71,139,0.15);
    /* Nav overrides */
    --bs-nav-link-color: rgba(255,255,255,0.65);
    --bs-nav-link-hover-color: #fff;
    --bs-nav-pills-link-active-bg: rgba(173,132,17,0.18);
    --bs-nav-pills-link-active-color: #c9991a;
    /* Badge overrides */
    --bs-badge-border-radius: 20px;
    --bs-badge-font-size: 0.65rem;
    --bs-badge-padding-y: 0.25em;
    --bs-badge-padding-x: 0.6em;
    /* Card overrides */
    --bs-card-border-radius: 10px;
    --bs-card-border-width: 0;
    --bs-card-box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    /* Sidebar dimensions */
    --sidebar-w: 268px;
    --sidebar-w-collapsed: 68px;
    --transition: 0.3s cubic-bezier(.4,0,.2,1);
    --bs-text-white: #fff;
    --navy: #19488c;
    --navy-dark: #112349;
    --navy-light: #2E5196;
    --navy-gradient: linear-gradient(135deg,#0d4b8f,#1b67b1);
    --sidebar-bg: #19488c;
    --accent: #3B82F6;
    --surface: #F4F6FB;
    --card-bg: #FFFFFF;
    --border: #E2E8F4;
    --text-main: #19488c;
    --text-muted: #7A8BAD;
    --score-green: #22C55E;
    --score-green-bg: #DCFCE7;
    --score-yellow: #EAB308;
    --score-yellow-bg: #FEF9C3;
    --score-red: #EF4444;
    --score-red-bg: #FEE2E2;
}

.card {
    background: #FFFFFF !important;
}



/* ── FORM META BAR ───────────────────────────────── */
.form-meta {
    background: var(--navy);
    border-radius: 12px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.form-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .form-meta-item .label {
        font-size: .68rem;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: rgba(255,255,255,.5);
        font-weight: 600;
    }

    .form-meta-item .value {
        font-size: .92rem;
        font-weight: 500;
        color: #fff;
    }

.form-meta .divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,.15);
}

.overall-score {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .overall-score .score-circle {
        width: 54px;
        height: 54px;
        border-radius: 50%;
        border: 3px solid;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1rem;
    }

.score-green {
    color: var(--score-green);
    border-color: var(--score-green);
}

.score-yellow {
    color: var(--score-yellow);
    border-color: var(--score-yellow);
}

.score-red {
    color: var(--score-red);
    border-color: var(--score-red);
}

/* ── QUESTION CARD ───────────────────────────────── */
.question-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: box-shadow .2s;
}

    .question-card:hover {
        box-shadow: 0 4px 18px rgba(27,58,107,.09);
    }

.question-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}

.question-card.open .question-header {
    border-bottom-color: var(--border);
}

.q-number {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--surface);
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.q-type-badge {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 3px 9px;
    border-radius: 20px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.type-textbox {
    background: #EFF6FF;
    color: #2563EB;
}

.type-radio {
    background: #F5F3FF;
    color: #7C3AED;
}

.type-select {
    background: #FFF7ED;
    color: #C2410C;
}

.type-checkbox {
    background: #ECFDF5;
    color: #059669;
}

.type-area {
    background: #FFF1F2;
    color: #BE123C;
}

.type-pdf {
    background: #FEF3C7;
    color: #B45309;
}

.q-label {
    flex: 1;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.4;
}

/* Score pill */
.score-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 700;
    flex-shrink: 0;
}

    .score-pill.green {
        background: var(--score-green-bg);
        color: #15803D;
    }

    .score-pill.yellow {
        background: var(--score-yellow-bg);
        color: #854D0E;
    }

    .score-pill.red {
        background: var(--score-red-bg);
        color: #B91C1C;
    }

    .score-pill .dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: currentColor;
        opacity: .7;
    }

.q-chevron {
    color: var(--text-muted);
    font-size: 1rem;
    transition: transform .25s;
}

.question-card.open .q-chevron {
    transform: rotate(180deg);
}

/* ── QUESTION BODY ───────────────────────────────── */
.question-body {
    display: none;
    padding: 20px 20px 24px;
}

.question-card.open .question-body {
    display: block;
}

.answer-label {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* TEXTBOX */
.ans-textbox {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .875rem;
    color: var(--text-main);
    line-height: 1.5;
}

/* RADIO */
.ans-radio-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .ans-radio-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: .875rem;
        color: var(--text-main);
    }

.radio-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .radio-dot.selected {
        border-color: var(--navy);
    }

        .radio-dot.selected::after {
            content: '';
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--navy);
        }

/* SELECT */
.ans-select {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: .875rem;
    color: var(--text-main);
}

    .ans-select i {
        color: var(--text-muted);
    }

/* CHECKBOX */
.ans-checkbox-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .ans-checkbox-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: .875rem;
        color: var(--text-main);
    }

.checkbox-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .checkbox-box.checked {
        border-color: var(--navy);
        background: var(--navy);
    }

        .checkbox-box.checked::after {
            content: '✓';
            color: #fff;
            font-size: .6rem;
            font-weight: 700;
        }

/* AREA */
.ans-area {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: .875rem;
    color: var(--text-main);
    line-height: 1.65;
    white-space: pre-wrap;
}

/* PDF */
.ans-pdf {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FEF9C3;
    border: 1px solid #FDE68A;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: .875rem;
    font-weight: 500;
    color: #92400E;
    text-decoration: none;
    transition: background .15s;
}

    .ans-pdf.success {
        background: #D1FAE5;
        color: #14532D;
        border: 1px solid #6EE7B7;
    }

    .ans-pdf.error {
        background: #FEE2E2;
        color: #7F1D1D;
        border: 1px solid #FCA5A5;
    }

    /*.ans-pdf:hover {
                background: #FEF08A;
            }*/

    .ans-pdf i {
        font-size: 1.2rem;
        color: #D97706;
    }

/* ── COMMENT ─────────────────────────────────────── */
.reviewer-comment {
    margin-top: 14px;
    padding: 12px 14px;
    background: #F8FAFF;
    border-left: 3px solid var(--navy-light);
    border-radius: 0 8px 8px 0;
}

    .reviewer-comment .rc-label {
        font-size: .7rem;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--navy-light);
        margin-bottom: 4px;
    }

    .reviewer-comment p {
        font-size: .845rem;
        color: var(--text-main);
        line-height: 1.5;
    }

/* ── FOOTER ACTION BAR ───────────────────────────── */
/* .action-bar {
            position: sticky;
            bottom: 0;
            background: #fff;
            border-top: 1px solid var(--border);
            padding: 14px 36px;
            display: flex;
            align-items: center;
        }*/

.btn-primary-navy {
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 22px;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}

    .btn-primary-navy:hover {
        background: var(--navy-light);
    }

.btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 9px 22px;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

    .btn-outline-navy:hover {
        border-color: var(--navy);
        background: var(--surface);
    }

/* Separator */
.section-sep {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 6px 0 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 14px;
}


/* ─── Base ─── */
body {
    min-height: 100vh;
    overflow-x: hidden;
}
/* ─── #sidebar — Bootstrap `.navbar` turned vertical ─── */
#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-w);
    background-color: var(--bs-primary);
    display: flex;
    flex-direction: column;
    transition: width var(--transition);
    z-index: 1040;
    overflow: hidden;
    box-shadow: 4px 0 24px rgba(24,71,139,0.22);
}
    /* diagonal texture */
    #sidebar::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: repeating-linear-gradient( -55deg, transparent, transparent 12px, rgba(255,255,255,0.025) 12px, rgba(255,255,255,0.025) 13px );
        pointer-events: none;
    }

    #sidebar.collapsed {
        width: var(--sidebar-w-collapsed);
    }
/* ─── Brand — Bootstrap `.navbar-brand` ─── */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity var(--transition);
    width: 100%;
}

    .navbar-brand span {
        color: var(--bs-secondary);
    }
    /* Brand icon box — Bootstrap `.badge` repurposed */
    .navbar-brand .badge {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        background-color: var(--bs-secondary) !important;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #102e5e;
        font-size: 1.1rem;
    }
/* ─── Search — Bootstrap `.input-group` + `.form-control` ─── */
.input-group {
    padding: 14px 14px 10px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

#sidebar.collapsed .input-group {
    padding: 10px;
}

.input-group .form-control {
    --bs-border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px !important;
    padding: 7px 10px 7px 32px;
    color: #fff;
    font-size: 0.82rem;
    transition: background 0.2s, border-color 0.2s;
}

    .input-group .form-control::placeholder {
        color: rgba(255,255,255,0.35);
    }

    .input-group .form-control:focus {
        background: rgba(255,255,255,0.14);
        border-color: var(--bs-secondary);
        box-shadow: none;
        color: #fff;
    }
/* search icon inside input */
.input-group-text {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    padding: 0;
    pointer-events: none;
    margin-top: 7px;
}

#sidebar.collapsed .form-control {
    opacity: 0;
    width: 0;
    padding: 0;
}
/* ─── Nav — Bootstrap `.nav.flex-column.nav-pills` ─── */
.nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 10px 20px;
    position: relative;
    z-index: 1;
}

    .nav::-webkit-scrollbar {
        width: 4px;
    }

    .nav::-webkit-scrollbar-track {
        background: transparent;
    }

    .nav::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.15);
        border-radius: 2px;
    }
    /* Section label — Bootstrap `.text-uppercase.small` repurposed */
    .nav .text-uppercase {
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.18em;
        color: rgba(255,255,255,0.3);
        padding: 16px 8px 6px;
        white-space: nowrap;
        display: block;
        transition: opacity var(--transition);
    }
/* Nav item — Bootstrap `.nav-item` */
.nav-item {
    margin-bottom: 2px;
    list-style: none;
}
/* Nav link — Bootstrap `.nav-link` */
.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px;
    border-radius: 6px;
    color: rgba(255,255,255,0.65);
    font-size: 0.84rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s;
}

    .nav-link i.bi:first-child {
        font-size: 1.05rem;
        flex-shrink: 0;
        width: 20px;
        text-align: center;
        color: rgba(255,255,255,0.45);
        transition: color 0.18s;
    }

    .nav-link:hover {
        background: rgba(255,255,255,0.07);
        color: #fff;
    }

        .nav-link:hover i.bi:first-child {
            color: var(--bs-secondary);
        }
/* Active — Bootstrap `.nav-pills .nav-link.active` */
.nav-pills .nav-link.active {
    background-color: rgba(173,132,17,0.18);
    color: #c9991a;
    font-weight: 700;
    border-left: 40px solid var(--bs-secondary);
    padding-left: 7px;
    border-radius: 6px;
}

    .nav-pills .nav-link.active i.bi:first-child {
        color: var(--bs-secondary);
    }
/* Badge in nav — Bootstrap `.badge.bg-warning` */
.nav-link .badge {
    margin-left: auto;
    background-color: var(--bs-secondary) !important;
    color: #102e5e;
}
/* Sub-menu collapse — Bootstrap `.collapse` */
.collapse .nav-link {
    font-size: 0.8rem;
    padding: 7px 10px;
}

.ps-4 {
    padding-left: 32px !important;
}

#sidebar.collapsed .text-uppercase, #sidebar.collapsed .collapse, #sidebar.collapsed .nav-label {
    display: none;
}

#sidebar.collapsed .navbar-brand span, #sidebar.collapsed .navbar-brand .brand-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}
/* ─── Sidebar footer — Bootstrap `.list-group-item` repurposed ─── */
.list-group-item {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    cursor: pointer;
    background: transparent;
    border-left: none;
    border-right: none;
    border-bottom: none;
    transition: background 0.18s;
}

    .list-group-item:hover {
        background: rgba(255,255,255,0.05);
    }
/* Avatar — Bootstrap `.rounded-circle` */
.rounded-circle {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background-color: var(--bs-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #102e5e;
    font-weight: 700;
    font-size: 0.85rem;
    border: 2px solid rgba(255,255,255,0.15);
}

.list-group-item .fw-bold {
    font-size: 0.82rem;
    color: #fff;
    white-space: nowrap;
}

.list-group-item .text-muted {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4) !important;
    white-space: nowrap;
}

.list-group-item .user-info {
    overflow: hidden;
    transition: opacity var(--transition);
}

#sidebar.collapsed .user-info {
    opacity: 0;
    width: 0;
}
/* ─── Topbar — Bootstrap `.navbar.fixed-top` repurposed ─── */
#topbar {
    position: fixed;
    top: 0;
    left: var(--sidebar-w);
    right: 0;
    height: 60px;
    background: #fff;
    border-bottom: 2px solid var(--bs-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1030;
    transition: left var(--transition);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

x

#topbar.collapsed {
    left: var(--sidebar-w-collapsed);
}

/* ─── Main content ─── */
#main {
    margin-left: var(--sidebar-w);
    /*padding-top: 60px;*/
    min-height: 100vh;
    transition: margin-left var(--transition);
}

    #main.collapsed {
        margin-left: var(--sidebar-w-collapsed);
    }
/* ─── Stat cards — Bootstrap `.card` overrides ─── */
.card {
    border-top: 3px solid var(--bs-secondary);
}

    .card.border-primary {
        border-top-color: var(--bs-primary) !important;
    }
    /* Stat icon — Bootstrap `.rounded` */
    .card .rounded {
        width: 40px;
        height: 40px;
        border-radius: 8px !important;
        background: rgba(173,132,17,0.18);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--bs-secondary);
        font-size: 1.1rem;
        margin-bottom: 14px;
    }

    .card.border-primary .rounded {
        background: rgba(24,71,139,0.18);
        color: var(--bs-primary);
    }

    .card .display-6 {
        font-family: 'Playfair Display', serif;
        font-size: 1.9rem;
        font-weight: 700;
        color: var(--bs-primary);
        line-height: 1;
        margin-bottom: 4px;
    }

    .card .text-uppercase.small {
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        color: #aaa;
    }

    .card .text-success {
        font-size: 0.75rem;
    }
/* Page title */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--bs-primary);
    margin-bottom: 6px;
}

    h1 span {
        color: var(--bs-secondary);
    }
/* ─── Mobile overlay — Bootstrap `.modal-backdrop` repurposed ─── */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1035;
}

    .modal-backdrop.show {
        display: block;
    }
/* ─── Mobile ─── */
@media (max-width: 768px) {
    #sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-w) !important;
        transition: transform var(--transition);
    }

        #sidebar.show {
            transform: translateX(0);
        }

            #sidebar.show::backdrop {
                background-color: rgba(24,71,139,0.07);
                height: 100vh;
            }

    #topbar {
        left: 0 !important;
        margin-bottom: 3em !important;
    }

    #main {
        margin-left: 0 !important;
    }
}
/* ── Body ── */
body {
    /*padding: 48px 24px;*/
    min-height: 100vh;
}
/* ── h1 ── */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-primary);
    line-height: 1.1;
}

    h1 span {
        color: var(--bs-secondary);
    }
/* ── .card overrides ── */
.card {
    overflow: hidden;
    box-shadow: var(--bs-card-box-shadow);
}
/* Toolbar border */
.card-header {
    background: #fff;
    border-bottom: 2px solid var(--bs-secondary);
    padding: 18px 22px 16px;
}
/* ── .table overrides ── */
.table {
    font-size: 0.84rem;
    margin-bottom: 0;
}

    .table thead tr {
        background: var(--bs-primary);
    }

    .table thead th {
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.65);
        border: none;
        padding: 14px 18px;
        white-space: nowrap;
        cursor: pointer;
        user-select: none;
        transition: color 0.15s;
        background: transparent;
    }

        .table thead th:hover {
            color: #c9991a;
        }

        .table thead th.sorted {
            color: #ad8411;
        }

        .table thead th:first-child {
            border-bottom: none;
        }

    .table thead tr:last-child th:first-child {
        border-start-start-radius: 8px;
    }

    .table thead tr:last-child th:last-child {
        border-start-end-radius: 8px;
    }

    .table tbody td {
        padding: 13px 18px;
        vertical-align: middle;
        border-color: #f0ece4;
        white-space: nowrap;
    }

    .table tbody tr:last-child td:first-child {
        border-end-start-radius: 8px;
    }

    .table tbody tr:last-child td:last-child {
        border-end-end-radius: 8px;
    }


    .table tbody tr:last-child td {
        border-bottom: none;
    }
/* ── .badge overrides ── */
/*Section bar*/
.section-bar {
    position: relative;
    margin: 28px 18px 0;
}

    /* corner brackets */
    .section-bar::before,
    .section-bar::after {
        content: '';
        position: absolute;
        width: 18px;
        height: 18px;
        border-color: var(--cream);
        border-style: solid;
        z-index: 1;
    }

    .section-bar::before {
        top: -6px;
        left: -6px;
        border-width: 2px 0 0 2px;
    }

    .section-bar::after {
        bottom: -6px;
        right: -6px;
        border-width: 0 2px 2px 0;
    }

.section-bar__inner {
    background: var(--bs-primary);
    position: relative;
    overflow: hidden;
}

    /* diagonal shimmer */
    .section-bar__inner::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: 100%;
        background: linear-gradient(135deg, transparent 40%, rgba(238,233,223,.08) 40%);
        pointer-events: none;
    }

    /* top accent line */
    .section-bar__inner::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, var(--cream), transparent);
    }

.section-bar__eyebrow {
    font-size: .65rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--bs-secondary);
    opacity: .75;
}

.section-bar__dot {
    width: 6px;
    height: 6px;
    background: var(--bs-secondary);
    border-radius: 50%;
    flex-shrink: 0;
}

.section-bar__title {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 2rem;
    color: var(--bs-text-white);
    line-height: 1.05;
    letter-spacing: -.01em;
}

    .section-bar__title em {
        font-style: italic;
        color: var(--blue-light);
    }

.section-bar__count {
    font-size: .75rem;
    color: var(--bs-text-white);
    opacity: .5;
    font-weight: 300;
}

.section-bar__rule {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, rgba(238,233,223,.3), transparent);
    margin-left: 12px;
}
/* Role badges */
.badge.text-bg-primary {
    background-color: #18478b !important;
    color: #ad8411 !important;
    letter-spacing: 0.06em;
    border-radius: 4px;
}

.badge.text-bg-warning {
    background-color: #ad8411 !important;
    color: #102e5e !important;
    letter-spacing: 0.06em;
    border-radius: 4px;
}

.badge.text-bg-secondary {
    background-color: #f0ece4 !important;
    color: #777 !important;
    letter-spacing: 0.06em;
    border-radius: 4px;
}

.badge.text-bg-info {
    background-color: rgba(24,71,139,0.07) !important;
    color: #18478b !important;
    border: 1px solid rgba(24,71,139,0.2);
    letter-spacing: 0.06em;
    border-radius: 4px;
}
/* ── .btn overrides ── */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    color: white;
    border: none;
    background: var(--navy);
}

    .btn-primary:hover {
        background: #123463;
    }

.btn-secondary {
    color: white;
    border: none;
    background: var(--bs-secondary);
}

    .btn-secondary:hover {
        background: var(--bs-secondary);
    }

/* ── .form-control overrides ── */
.form-control {
    font-size: 0.8rem;
    border-color: #ddd;
}

    .form-control:focus {
        border-color: #18478b;
        box-shadow: 0 0 0 3px rgba(24,71,139,0.1);
    }
/* ── .card-footer overrides ── */
.card-footer {
    background: #fdfcfa;
    border-top: 1px solid #f0ece4;
    padding: 14px 22px;
}
/* ── Amount cell ── */
td.fw-semibold {
    font-family: 'Playfair Display', serif;
    color: #102e5e;
}
/* ── .pagination overrides ── */
.pagination {
    margin-bottom: 0;
}

.page-link {
    font-family: 'Lato', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 6px !important;
    margin: 0 2px;
    min-width: 32px;
    text-align: center;
}
/* ── Badge record count ── */
.badge.bg-light {
    background-color: rgba(24,71,139,0.07) !important;
    color: #18478b !important;
    border: 1px solid rgba(24,71,139,0.15);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}
/* Toolbar title */
.card-header .fw-semibold {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: #18478b;
}
/* Sorted highlight */
thead th.sorted {
    color: #ad8411 !important;
}

.icon-table {
    width: 4em;
    height: 4em;
}

#backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.slide-wrap {
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    transition: max-width 0.3s ease, opacity 0.25s ease;
}

.dynamic-check:checked ~ .slide-wrap {
    max-width: 260px;
    opacity: 1;
}
/****************************************************************diseño leo**********************************/
.page-header {
    background: white;
    border-radius: 14px;
    padding: 28px 32px;
    box-shadow: 0 4px 18px rgba(0,0,0,.06);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    /* decoración material */

    .page-header::before {
        content: "";
        position: absolute;
        right: -60px;
        top: -60px;
        width: 220px;
        height: 220px;
        background: linear-gradient(135deg,#19488c,#2c6ed5);
        opacity: .08;
        border-radius: 50%;
        z-index: 0;
        pointer-events: none;
    }

.page-header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
/* breadcrumb */

.page-header__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #a77e2c;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

/* titulo */

.page-header__title {
    font-size: 34px;
    font-weight: 700;
    color: #19488c;
    margin: 0;
}

/* subtitulo */

.page-header__subtitle {
    color: #6b7280;
    font-size: 14px;
    margin-top: 4px;
}

/* FAB button estilo Vuetify */

.btn-fab {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #19488c;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    transition: .25s;
}

    .btn-fab:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(0,0,0,.25);
        background: #123463;
    }

/* responsive */

@media(max-width:768px) {

    .page-header {
        padding: 22px;
    }

    .page-header__title {
        font-size: 26px;
    }

    .btn-fab {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
}

/* MODAL GENERAL */

.modern-modal .modal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.2);
}

/* HEADER */


.modern-modal-header {
    background: linear-gradient(135deg,#19488c,#123463);
    color: white;
    padding: 16px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* TITLE */

.modal-title-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 18px;
}

    .modal-title-wrapper i {
        font-size: 18px;
    }

/* BODY */

.modern-modal-body {
    padding: 26px;
    background: #fafbfc;
}

/* CLOSE BUTTON */

.btn-close-white {
    filter: invert(1);
    opacity: .9;
}

    .btn-close-white:hover {
        opacity: 1;
    }

/* MODAL ANIMATION */

.modern-modal .modal-dialog {
    transform: scale(.95);
    transition: .2s ease;
}

.modern-modal.show .modal-dialog {
    transform: scale(1);
}

/* MOBILE */

@media(max-width:768px) {

    .modern-modal .modal-dialog {
        margin: 10px;
    }

    .modern-modal-body {
        padding: 18px;
    }
}
.table-card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    padding: 18px;
}

/* TOOLBAR */

.datatable-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.datatable-title {
    font-weight: 600;
    font-size: 16px;
    color: #19488c;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* SEARCH */

.datatable-search input {
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 6px 12px;
    min-width: 220px;
}

/* TABLE */

.modern-table thead {
    background: #19488c;
    color: white;
    font-size: 13px;
    text-transform: uppercase;
}

    .modern-table thead th {
        padding: 15px;
        border: none;
    }

.modern-table td {
    padding: 15px;
}

.modern-table tbody tr:hover {
    background: #f8fafc;
}

/* TITLE */

.table-title {
    font-weight: 600;
    color: #19488c;
}

/* ACTIONS */

.table-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* ICON BUTTON */

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: .15s;
    text-decoration: none;
}

/* COLORS */

.btn-info-soft {
    background: #e8f3ff;
    color: #1d72d8;
}

.btn-warning-soft {
    background: #fff4e5;
    color: #e6a700;
}

.btn-primary-soft {
    background: #eaf1ff;
    color: #19488c;
}

.btn-danger-soft {
    background: #ffeaea;
    color: #dc3545;
}

.icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,.15);
}

/* PAGINATION */

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #19488c !important;
    color: white !important;
    border: none;
}

/* MOBILE */

@media(max-width:768px) {

    .table-actions {
        justify-content: flex-start;
    }

    .datatable-search input {
        width: 100%;
    }
}
.form-surface {
    padding: 30px;
    background: white;
    border-radius: 12px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .form-field label {
        font-weight: 600;
        color: #374151;
        font-size: 14px;
    }

.modern-input {
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    padding: 10px 12px;
    transition: .2s;
}

    .modern-input:focus {
        border-color: #19488c;
        box-shadow: 0 0 0 2px rgba(25,72,140,.15);
    }

.field-validation-error {
    color: #dc3545;
    font-size: 12px;
}

.validation-summary {
    background: #ffecec;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    color: #b91c1c;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.welcome-banner {
    background: linear-gradient(135deg, #1a2a4a 0%, #1e3a6e 60%, #2563eb 100%);
    border-radius: 14px;
    padding: 36px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
}

    .welcome-banner::before {
        content: '';
        position: absolute;
        top: -40px;
        right: -40px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
    }

    .welcome-banner::after {
        content: '';
        position: absolute;
        bottom: -60px;
        right: 80px;
        width: 160px;
        height: 160px;
        border-radius: 50%;
        background: rgba(255,255,255,.04);
    }

.welcome-greeting {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 6px;
}

.welcome-name {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.welcome-role {
    font-size: .9rem;
    color: rgba(255,255,255,.65);
    margin-bottom: 20px;
}

.last-login-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: .78rem;
    color: rgba(255,255,255,.75);
}

    .last-login-pill i {
        color: #93c5fd;
    }

.welcome-avatar {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,.12);
    border: 2px solid rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

/* ── Section label ── */
.section-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 14px;
}

/* ── Quick link cards ── */
.quick-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: box-shadow .18s, transform .18s, border-color .18s;
}

    .quick-card:hover {
        box-shadow: 0 6px 24px rgba(0,0,0,.08);
        transform: translateY(-2px);
        border-color: #bfdbfe;
        color: inherit;
    }

.quick-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.icon-blue {
    background: #dbeafe;
    color: #2563eb;
}

.icon-indigo {
    background: #e0e7ff;
    color: #4338ca;
}

.quick-title {
    font-size: .97rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.quick-desc {
    font-size: .82rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 16px;
}

.quick-arrow {
    font-size: .8rem;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Activity feed ── */
.activity-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.activity-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    font-size: .9rem;
    font-weight: 600;
    color: #1f2937;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #f9fafb;
}

    .activity-item:last-child {
        border-bottom: none;
    }

.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.activity-text {
    font-size: .85rem;
    color: #374151;
    line-height: 1.45;
}

.activity-time {
    font-size: .75rem;
    color: #9ca3af;
    margin-top: 2px;
}

.activity-em {
    font-weight: 600;
    color: #1f2937;
}

.custom-tooltip {
    --bs-tooltip-bg: var(--bs-card-bg);

    * {
        justify-content: start;
    }
}

zoom-img {
    transition: transform 0.3s ease; /* Smooth animation */
}

    zoom-img:hover {
        transform: scale(1.5); /* Enlarge by 1.5x */
    }

.file-label-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E6F1FB;
    color: #0C447C;
    border-radius: 6px;
    padding: 3px 10px 3px 8px;
    font-size: 13px;
    font-weight: 500;
    width: 100px;
    flex-shrink: 0;
    cursor: pointer;
    border: 0.5px solid #B5D4F4;
}

    .file-label-tag:hover {
        background: #B5D4F4;
    }

.file-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.img-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 180px));
    justify-content: center;
    gap: 12px;
}

.img-slot-card {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    overflow: hidden;
    transition: border-color .15s;
}

    .img-slot-card:focus-within {
        border-color: #0d6efd;
        box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
    }

.slot-preview {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--bs-tertiary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

    .slot-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: none;
    }

.slot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--bs-secondary-color);
    font-size: 12px;
    text-align: center;
    padding: 1rem;
    pointer-events: none;
}

.slot-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .38);
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.slot-preview:hover .slot-overlay {
    display: flex;
}

.slot-overlay button {
    background: rgba(255, 255, 255, .92);
    border: none;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 500;
    color: #212529;
}

    .slot-overlay button:hover {
        background: #fff;
    }

.slot-overlay .rm-btn {
    background: rgba(220, 53, 69, .85);
    color: #fff;
}

    .slot-overlay .rm-btn:hover {
        background: #dc3545;
    }

.img-slot-input {
    display: none;
}

.img-slot-card.has-image .slot-placeholder {
    display: none;
}

.img-slot-card.has-image img {
    display: block;
}

.slot-footer {
    padding: 8px 10px;
    border-top: 1px solid var(--bs-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.slot-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--bs-body-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slot-status {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    flex-shrink: 0;
}

    .slot-status.empty {
        background: var(--bs-tertiary-bg);
        color: var(--bs-secondary-color);
        border: 1px solid var(--bs-border-color);
    }

    .slot-status.filled {
        background: #d1fae5;
        color: #065f46;
        border: 1px solid #6ee7b7;
    }

.pdf-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 160px));
    justify-content: center;
    gap: 12px;
}

.pdf-slot-card {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    overflow: hidden;
    transition: border-color .15s;
}

    .pdf-slot-card:focus-within {
        border-color: #0d6efd;
        box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
    }

.pdf-slot-body {
    position: relative;
    min-height: 130px;
    background: var(--bs-tertiary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    padding: 1rem;
}

/* Empty state */
.pdf-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--bs-secondary-color);
    font-size: 12px;
    text-align: center;
    pointer-events: none;
}

/* Filled state */
.pdf-filled {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    pointer-events: none;
}

.pdf-icon-wrap {
    position: relative;
    width: 48px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fee2e2;
    border-radius: 8px;
    color: #991b1b;
    flex-shrink: 0;
}

.pdf-ext {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #991b1b;
}

.pdf-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
}

.pdf-filename {
    font-size: 12px;
    font-weight: 500;
    color: var(--bs-body-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.pdf-filesize {
    font-size: 11px;
    color: var(--bs-secondary-color);
}

/* Hover overlay */
.pdf-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .38);
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pdf-slot-body:hover .pdf-overlay {
    display: flex;
}

.pdf-overlay button {
    background: rgba(255, 255, 255, .92);
    border: none;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 500;
    color: #212529;
}

    .pdf-overlay button:hover {
        background: #fff;
    }

.pdf-overlay .rm-btn {
    background: rgba(220, 53, 69, .85);
    color: #fff;
}

    .pdf-overlay .rm-btn:hover {
        background: #dc3545;
    }

.pdf-slot-input {
    display: none;
}

.pdf-slot-card.has-file .pdf-placeholder {
    display: none;
}

.pdf-slot-card.has-file .pdf-filled {
    display: flex;
}

.pdf-slot-footer {
    padding: 8px 10px;
    border-top: 1px solid var(--bs-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pdf-slot-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--bs-body-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdf-slot-status {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    flex-shrink: 0;
}

    .pdf-slot-status.empty {
        background: var(--bs-tertiary-bg);
        color: var(--bs-secondary-color);
        border: 1px solid var(--bs-border-color);
    }

    .pdf-slot-status.filled {
        background: #fee2e2;
        color: #991b1b;
        border: 1px solid #fca5a5;
    }

.img-slot-card.border-danger,
.pdf-slot-card.border-danger {
    border-color: var(--bs-danger) !important;
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .2);
}