/* Professional Emerald Green Theme */
:root {
    --binan-emerald-dark: #082d1d;
    --binan-emerald-primary: #0d5c3a;
    --binan-emerald-medium: #157e50;
    --binan-emerald-light: #e6f4ed;
    --binan-accent-gold: #cca028;
    --binan-border: #d2e8dc;
}

body {
    background-color: #f3f7f5;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #2c3e50;
}

/* Sidebar Styling */
.sidebar {
    width: 260px;
    height: 100vh;
    background: linear-gradient(180deg, var(--binan-emerald-dark) 0%, #051e13 100%);
    color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 25px;
    z-index: 1000;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.05);
}

.sidebar-header {
    text-align: center;
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.sidebar-header h2 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #a2e8dd;
    margin: 0;
}

.sidebar-header span {
    font-size: 11px;
    color: #79c9bb;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d0edd3;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    border-left: 4px solid transparent;
}

.sidebar a:hover, .sidebar a.active {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-left: 4px solid var(--binan-accent-gold);
}

.main-content {
    margin-left: 260px;
    padding: 35px 40px;
    min-height: 100vh;
}

.card-custom {
    background: #ffffff;
    border: 1px solid var(--binan-border);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-custom:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.btn-binan-primary {
    background-color: var(--binan-emerald-primary);
    color: #ffffff;
    font-weight: 600;
    border: none;
}

.btn-binan-primary:hover {
    background-color: var(--binan-emerald-dark);
    color: #ffffff;
}

.btn-binan-gold {
    background-color: var(--binan-accent-gold);
    color: #1a1a1a;
    font-weight: 600;
    border: none;
}

.btn-binan-gold:hover {
    background-color: #b58d1f;
    color: #000000;
}

.navbar-custom {
    background-color: var(--binan-emerald-dark);
}

.section-title {
    color: var(--binan-emerald-dark);
    font-weight: 700;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--binan-emerald-primary);
    padding-bottom: 8px;
    margin-top: 25px;
    margin-bottom: 20px;
}

/* Staff pages: documents, reports, and announcements */
.staff-layout {
    background:
        radial-gradient(ellipse at 92% 0, rgba(21, 126, 80, 0.055), transparent 28rem),
        #f3f7f5;
}

.staff-layout .sidebar {
    padding-top: 24px;
    box-shadow: 8px 0 28px rgba(5, 30, 19, 0.12);
}

.staff-layout .sidebar-header {
    padding-bottom: 22px;
    margin-bottom: 18px;
}

.staff-layout .sidebar a {
    margin: 3px 12px;
    padding: 12px 16px;
    border-left: 0;
    border-radius: 9px;
}

.staff-layout .sidebar a:hover,
.staff-layout .sidebar a.active {
    border-left: 0;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 3px 0 var(--binan-accent-gold);
}

.staff-layout .sidebar a i {
    width: 18px;
    text-align: center;
}

.staff-layout .main-content {
    padding: clamp(24px, 3.2vw, 48px);
}

.staff-page {
    width: min(100%, 1600px);
    margin: 0 auto;
}

.staff-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.staff-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--binan-emerald-medium);
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.staff-title {
    margin: 0;
    color: var(--binan-emerald-dark);
    font-size: clamp(1.55rem, 2.5vw, 2.15rem);
    font-weight: 750;
    letter-spacing: -0.04em;
}

.staff-subtitle {
    margin: 7px 0 0;
    color: #68786e;
    font-size: 0.94rem;
}

.staff-panel {
    overflow: hidden;
    border: 1px solid #e1eae4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(8, 45, 29, 0.055);
}

.staff-panel-heading {
    padding: 21px 24px 16px;
}

.staff-panel-title {
    margin: 0;
    color: var(--binan-emerald-dark);
    font-size: 1rem;
    font-weight: 700;
}

.staff-panel-description {
    margin: 5px 0 0;
    color: #738077;
    font-size: 0.85rem;
}

.staff-table-wrap {
    padding: 0 20px 18px;
}

.staff-table {
    margin: 0;
    color: #304139;
    font-size: 0.92rem;
}

.staff-table thead th {
    padding: 13px 14px;
    border-bottom: 1px solid #dbe9e1;
    background: #eef6f1;
    color: #315b45;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    white-space: nowrap;
}

.staff-table tbody td {
    padding: 15px 14px;
    border-color: #edf1ee;
    vertical-align: middle;
}

.staff-table tbody tr:last-child td {
    border-bottom: 0;
}

.staff-table .student-name {
    color: #24382c;
    font-weight: 700;
}

.staff-empty-state {
    padding: 40px 20px !important;
    color: #758178 !important;
    text-align: center;
}

.staff-empty-state i {
    display: block;
    margin-bottom: 12px;
    color: #a0b4a7;
    font-size: 1.7rem;
}

.document-missing {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #8a7560;
    font-size: 0.84rem;
    white-space: nowrap;
}

.documents-header {
    position: relative;
    overflow: hidden;
    min-height: 164px;
    align-items: center;
    margin-bottom: 20px;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid #dceae1;
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 90% 15%, rgba(21, 126, 80, 0.12), transparent 19rem),
        linear-gradient(115deg, #fff 0%, #f5faf6 100%);
    box-shadow: 0 8px 26px rgba(8, 45, 29, 0.045);
}

.documents-header .staff-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.documents-header .staff-subtitle {
    max-width: 660px;
}

.documents-header-icon {
    display: grid;
    width: 68px;
    height: 68px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #dcebe1;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(8, 45, 29, 0.06);
    color: var(--binan-emerald-primary);
    font-size: 1.65rem;
}

.documents-stats {
    margin-bottom: 22px;
}

.documents-stat-card {
    display: flex;
    min-height: 106px;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border: 1px solid #e3ebe5;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff 0%, #fbfdfb 100%);
    box-shadow: 0 6px 18px rgba(8, 45, 29, 0.04);
}

.documents-stat-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 13px;
    background: #edf6f0;
    color: var(--binan-emerald-primary);
    font-size: 1.05rem;
}

.documents-stat-card.is-submitted .documents-stat-icon {
    background: #e8f5ec;
    color: #23814e;
}

.documents-stat-card.is-missing .documents-stat-icon {
    background: #fff5df;
    color: #a86e0c;
}

.documents-stat-label {
    display: block;
    margin-bottom: 5px;
    color: #68786e;
    font-size: 0.77rem;
    font-weight: 650;
}

.documents-stat-value {
    display: block;
    color: #20382a;
    font-size: 1.55rem;
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.documents-stat-total {
    color: #8a988f;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
}

.documents-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.documents-student {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 190px;
}

.documents-student-avatar {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #dcebe1;
    border-radius: 50%;
    background: #eff7f1;
    color: #315b45;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.025em;
}

.documents-level {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2eae4;
    border-radius: 7px;
    background: #f7f9f7;
    color: #596a60;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 9px;
    white-space: nowrap;
}

.documents-view-link {
    white-space: nowrap;
}

.enrollment-header {
    position: relative;
    overflow: hidden;
    min-height: 164px;
    align-items: center;
    margin-bottom: 22px;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid #dceae1;
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 90% 15%, rgba(21, 126, 80, 0.12), transparent 19rem),
        linear-gradient(115deg, #fff 0%, #f5faf6 100%);
    box-shadow: 0 8px 26px rgba(8, 45, 29, 0.045);
}

.enrollment-header .staff-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.enrollment-header .staff-subtitle {
    max-width: 680px;
}

.enrollment-header-icon {
    display: grid;
    width: 68px;
    height: 68px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #dcebe1;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(8, 45, 29, 0.06);
    color: var(--binan-emerald-primary);
    font-size: 1.65rem;
}

.enrollment-alert {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(8, 45, 29, 0.04);
}

.enrollment-stats {
    margin-bottom: 22px;
}

.enrollment-stat-card {
    display: flex;
    min-height: 100px;
    align-items: center;
    gap: 14px;
    padding: 17px 19px;
    border: 1px solid #e3ebe5;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff 0%, #fbfdfb 100%);
    box-shadow: 0 6px 18px rgba(8, 45, 29, 0.04);
}

.enrollment-stat-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    background: #edf6f0;
    color: var(--binan-emerald-primary);
}

.enrollment-stat-card.is-pending .enrollment-stat-icon {
    background: #fff5df;
    color: #a86e0c;
}

.enrollment-stat-card.is-approved .enrollment-stat-icon {
    background: #e8f5ec;
    color: #23814e;
}

.enrollment-stat-card.is-rejected .enrollment-stat-icon {
    background: #fff0ed;
    color: #ad453d;
}

.enrollment-stat-label {
    display: block;
    margin-bottom: 4px;
    color: #68786e;
    font-size: 0.75rem;
    font-weight: 650;
}

.enrollment-stat-value {
    display: block;
    color: #20382a;
    font-size: 1.5rem;
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.enrollment-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.enrollment-table {
    min-width: 1050px;
}

.enrollment-student {
    display: flex;
    min-width: 165px;
    align-items: center;
    gap: 10px;
}

.enrollment-student-number {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dcebe1;
    border-radius: 8px;
    background: #f0f7f2;
    color: #236a3e;
    font-size: 0.8rem;
    font-weight: 750;
    padding: 7px 9px;
    white-space: nowrap;
}

.enrollment-unassigned {
    color: #879188;
    font-size: 0.82rem;
    white-space: nowrap;
}

.enrollment-email {
    color: #596a60 !important;
    font-size: 0.84rem !important;
}

.status-pill.is-pending {
    background: #fff5df;
    color: #8a5b0a;
}

.enrollment-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.enrollment-actions .btn {
    border-radius: 8px;
    padding: 7px 9px;
}

.enrollment-completed {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #23814e;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .documents-header {
        min-height: 0;
    }

    .documents-header-icon {
        width: 52px;
        height: 52px;
        border-radius: 15px;
        font-size: 1.3rem;
    }

    .documents-panel-heading {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 18px 14px;
    }

    .announcements-header {
        min-height: 0;
    }

    .announcements-header-icon {
        width: 52px;
        height: 52px;
        border-radius: 15px;
        font-size: 1.3rem;
    }

    .documents-table {
        min-width: 820px;
    }

    .enrollment-header {
        min-height: 0;
    }

    .enrollment-header-icon {
        width: 52px;
        height: 52px;
        border-radius: 15px;
        font-size: 1.3rem;
    }

    .enrollment-panel-heading {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 18px 14px;
    }

    .announcement-compose-panel {
        position: static;
    }

    .announcement-list-panel .staff-panel-heading {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 18px 14px;
    }

    .announcement-compose-panel .staff-panel-heading {
        padding: 18px 18px 14px;
    }

    .announcement-compose {
        padding: 8px 18px 20px;
    }

    .announcement-card {
        margin: 0 14px;
    }
}

.staff-layout .btn-binan-primary {
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 2px 5px rgba(8, 45, 29, 0.12);
}

.report-stat-card {
    display: flex;
    min-height: 156px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 20px !important;
    border: 1px solid #e4ece6;
    border-left: 4px solid var(--binan-emerald-medium);
    border-radius: 14px;
    background: linear-gradient(135deg, #fff 0%, #fbfdfb 100%);
    box-shadow: 0 7px 20px rgba(8, 45, 29, 0.045);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.report-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(8, 45, 29, 0.08);
}

.report-stat-approved {
    border-left-color: #23814e;
}

.report-stat-pending {
    border-left-color: #ca8b19;
}

.report-stat-rejected {
    border-left-color: #bf5147;
}

.report-stat-label {
    margin-bottom: 9px;
    color: #69796f;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.065em;
}

.report-stat-value {
    margin: 0;
    color: #20382a;
    font-size: clamp(2rem, 3vw, 2.4rem);
    font-weight: 750;
    letter-spacing: -0.04em;
    line-height: 1;
}

.report-stat-note {
    margin-top: 9px;
    color: #7b887f;
    font-size: 0.8rem;
}

.report-stat-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    background: #edf6f0;
    color: var(--binan-emerald-primary);
    font-size: 1rem;
}

.report-stat-approved .report-stat-icon {
    background: #e8f5ec;
    color: #23814e;
}

.report-stat-pending .report-stat-icon {
    background: #fff5df;
    color: #a86e0c;
}

.report-stat-rejected .report-stat-icon {
    background: #fff0ed;
    color: #ad453d;
}

.report-header {
    position: relative;
    overflow: hidden;
    min-height: 176px;
    align-items: center;
    margin-bottom: 24px;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid #dceae1;
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 92% 10%, rgba(21, 126, 80, 0.12), transparent 20rem),
        linear-gradient(115deg, #fff 0%, #f5faf6 100%);
    box-shadow: 0 8px 26px rgba(8, 45, 29, 0.045);
}

.report-header::after {
    position: absolute;
    right: -48px;
    bottom: -108px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(21, 126, 80, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(21, 126, 80, 0.035), 0 0 0 48px rgba(21, 126, 80, 0.025);
    content: "";
    pointer-events: none;
}

.report-header > * {
    position: relative;
    z-index: 1;
}

.report-header .staff-title {
    font-size: clamp(1.8rem, 3.3vw, 2.55rem);
}

.report-header .staff-subtitle {
    max-width: 620px;
}

.report-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.report-export-button,
.report-print-button {
    flex: 0 0 auto;
    min-height: 46px;
    border-radius: 10px;
    padding: 11px 18px;
    white-space: nowrap;
}

.report-print-button {
    box-shadow: 0 4px 12px rgba(181, 141, 31, 0.18);
}

.report-stats {
    margin-bottom: 28px;
}

.report-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px 18px;
}

.report-panel-heading .staff-panel-title {
    font-size: 1.08rem;
}

.report-record-count {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    border: 1px solid #dcebe1;
    border-radius: 999px;
    background: #f2f8f4;
    color: #315b45;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 12px;
}

.report-table thead th {
    background: #edf5ef;
    font-size: 0.72rem;
}

.report-table tbody tr {
    transition: background-color 150ms ease;
}

.report-table tbody tr:hover > * {
    background-color: #f6faf7;
}

.report-table td:nth-child(2),
.report-table td:nth-child(6) {
    color: #596a60;
    font-size: 0.86rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.status-pill.is-approved {
    background: #e8f5ec;
    color: #236a3e;
}

.status-pill.is-rejected {
    background: #fff0ed;
    color: #a33c30;
}

@media (max-width: 767.98px) {
    .report-header {
        min-height: 0;
        align-items: flex-start;
    }

    .report-actions {
        align-self: flex-start;
    }

    .report-panel-heading {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 18px 14px;
    }

    .report-stat-card {
        min-height: 138px;
        padding: 17px 14px !important;
    }

    .report-stat-note {
        max-width: 130px;
        line-height: 1.35;
    }
}

@media (max-width: 420px) {
    .report-header .staff-title {
        font-size: 1.65rem;
    }

    .report-actions {
        width: 100%;
        flex-direction: column;
    }

    .report-actions .btn {
        width: 100%;
    }
}

.announcement-layout {
    align-items: flex-start;
}

.announcements-header {
    position: relative;
    overflow: hidden;
    min-height: 164px;
    align-items: center;
    margin-bottom: 22px;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid #dceae1;
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 90% 15%, rgba(21, 126, 80, 0.12), transparent 19rem),
        linear-gradient(115deg, #fff 0%, #f5faf6 100%);
    box-shadow: 0 8px 26px rgba(8, 45, 29, 0.045);
}

.announcements-header .staff-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.announcements-header .staff-subtitle {
    max-width: 680px;
}

.announcements-header-icon {
    display: grid;
    width: 68px;
    height: 68px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #dcebe1;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(8, 45, 29, 0.06);
    color: var(--binan-emerald-primary);
    font-size: 1.65rem;
}

.announcements-alert {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(8, 45, 29, 0.04);
}

.announcement-compose-panel {
    position: sticky;
    top: 24px;
}

.announcement-compose-panel .staff-panel-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 23px 24px 18px;
}

.announcement-compose-icon,
.announcement-post-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #dcebe1;
    border-radius: 13px;
    background: #eff7f1;
    color: var(--binan-emerald-primary);
    font-size: 1rem;
}

.announcement-compose {
    padding: 8px 24px 24px;
}

.announcement-compose .form-label {
    margin-bottom: 7px;
    color: #35473c;
    font-size: 0.84rem;
}

.announcement-compose .form-control {
    min-height: 44px;
    border-color: #dce6df;
    border-radius: 9px;
    padding: 10px 12px;
}

.announcement-compose textarea.form-control {
    min-height: 148px;
    resize: vertical;
    line-height: 1.6;
}

.announcement-compose .form-control:focus {
    border-color: #78af8b;
    box-shadow: 0 0 0 3px rgba(21, 126, 80, 0.12);
}

.announcement-field-hint {
    margin-top: 6px;
    color: #859188;
    font-size: 0.75rem;
}

.announcement-publish-button {
    min-height: 46px;
    border-radius: 9px !important;
    box-shadow: 0 5px 13px rgba(8, 45, 29, 0.12) !important;
}

.announcement-email-note {
    margin: 13px 0 0;
    color: #78857d;
    font-size: 0.76rem;
    line-height: 1.5;
    text-align: center;
}

.announcement-list-panel .staff-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.announcement-card {
    position: relative;
    margin: 0 18px;
    padding: 20px 6px;
    border-bottom: 1px solid #edf1ee;
}

.announcement-card:first-of-type {
    padding-top: 8px;
}

.announcement-card:last-child {
    border-bottom: 0;
}

.announcement-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.announcement-post-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

.announcement-card-heading {
    min-width: 0;
}

.announcement-card-title {
    margin: 0;
    color: #24382c;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.announcement-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    color: #7b887f;
    font-size: 0.78rem;
    line-height: 1.4;
}

.announcement-card-content {
    margin: 0;
    padding-left: 50px;
    color: #5d6c62;
    font-size: 0.9rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .staff-layout .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 14px 0 10px;
    }

    .staff-layout .sidebar-header {
        padding: 0 18px 12px;
        margin-bottom: 8px;
        text-align: left;
    }

    .staff-layout .sidebar a {
        display: inline-flex;
        margin: 2px 4px;
        padding: 9px 11px;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .staff-layout .sidebar a.mt-4 {
        margin-top: 2px !important;
    }

    .staff-layout .main-content {
        margin-left: 0;
        padding: 24px 16px;
    }

    .staff-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .announcements-header {
        min-height: 0;
    }

    .announcements-header-icon {
        width: 52px;
        height: 52px;
        border-radius: 15px;
        font-size: 1.3rem;
    }

    .staff-table-wrap {
        padding-right: 12px;
        padding-left: 12px;
    }

    .announcement-compose-panel {
        position: static;
    }

    .announcement-compose-panel .staff-panel-heading,
    .announcement-list-panel .staff-panel-heading {
        padding: 18px 18px 14px;
    }

    .announcement-list-panel .staff-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .announcement-compose {
        padding: 8px 18px 20px;
    }

    .announcement-card {
        margin: 0 14px;
    }

    .announcement-card-content {
        padding-left: 0;
    }
}

@media print {
    @page reportPortrait {
        size: portrait;
        margin: 12mm;
    }

    .report-page {
        page: reportPortrait;
    }

    body.staff-layout {
        background: #fff !important;
    }

    .staff-layout .sidebar {
        display: none !important;
    }

    .staff-layout .main-content {
        margin: 0 !important;
        padding: 0 !important;
    }

    body.staff-layout * {
        visibility: hidden !important;
    }

    body.staff-layout .report-table,
    body.staff-layout .report-table * {
        visibility: visible !important;
    }

    .report-table {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        border-collapse: collapse !important;
        table-layout: fixed !important;
        font-size: 8pt !important;
    }

    .report-table th:nth-child(1) { width: 10% !important; }
    .report-table th:nth-child(2) { width: 13% !important; }
    .report-table th:nth-child(3) { width: 20% !important; }
    .report-table th:nth-child(4) { width: 10% !important; }
    .report-table th:nth-child(5) { width: 7% !important; }
    .report-table th:nth-child(6) { width: 27% !important; }
    .report-table th:nth-child(7) { width: 13% !important; }

    .report-table th,
    .report-table td {
        padding: 4px !important;
        overflow-wrap: anywhere !important;
    }

    .report-table th,
    .report-table td {
        color: #000 !important;
        border: 1px solid #777 !important;
        background: #fff !important;
    }

    .report-table th {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .status-pill {
        display: inline-block !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #000 !important;
        font-size: 8pt !important;
        white-space: nowrap !important;
        box-shadow: none !important;
    }

    .report-table .status-pill i {
        display: none !important;
    }
}
