/* ==========================================================
   PUTRA STAFF PORTAL - MASTER CUSTOM CSS
   Consolidated from the original page-specific stylesheets.
   Theme: Navy #20265b | Teal #85D0C9
   Keep Bootstrap / SB Admin 2 CSS loaded before this file.
   ========================================================== */


/* ===== GLOBAL CPD STATUS REQUEST : source cpd-status(1).css ===== */

:root {
            --putra-navy: #20265b;
            --putra-teal: #85D0C9;
            --putra-teal-dark: #3d9f98;
            --putra-bg: #f4f7fb;
            --putra-text: #30364b;
        }
        body { background: var(--putra-bg); color: var(--putra-text); }
        #content-wrapper { background: var(--putra-bg); }
        .container-fluid { padding-top: 1.5rem; padding-bottom: 1.5rem; }
        .cpd-page-heading {
            display:flex; align-items:center; justify-content:space-between;
            gap:1rem; margin-bottom:1.5rem;
        }
        .cpd-page-heading h1 { color:var(--putra-navy); font-weight:800; margin:0; }
        .cpd-page-heading p { color:#7b8195; margin:.35rem 0 0; font-size:.9rem; }
        .cpd-year-label { color:var(--putra-navy); font-weight:700; }
        .cpd-summary-card {
            border:0; border-radius:14px; overflow:hidden;
            box-shadow:0 5px 20px rgba(32,38,91,.08);
            transition:transform .2s ease, box-shadow .2s ease;
        }
        .cpd-summary-card:hover { transform:translateY(-3px); box-shadow:0 9px 25px rgba(32,38,91,.12); }
        .cpd-summary-card .card-body { padding:1.35rem 1.5rem; }
        .cpd-summary-card.approved { border-left:5px solid var(--putra-teal); }
        .cpd-summary-card.pending { border-left:5px solid var(--putra-navy); }
        .cpd-summary-label {
            color:#737b91; font-size:.72rem; font-weight:800;
            letter-spacing:.07em; text-transform:uppercase; margin-bottom:.45rem;
        }
        .cpd-summary-value { color:var(--putra-navy); font-size:1.8rem; font-weight:800; line-height:1.2; }
        .cpd-summary-icon {
            width:48px; height:48px; display:flex; align-items:center; justify-content:center;
            border-radius:13px; background:rgba(133,208,201,.22); color:var(--putra-navy);
        }
        .cpd-filter {
            display:flex; align-items:center; flex-wrap:wrap; gap:.75rem;
            background:#fff; padding:1rem 1.2rem; border-radius:12px;
            box-shadow:0 3px 14px rgba(32,38,91,.05); margin-bottom:1.2rem;
        }
        .cpd-filter .form-control { max-width:150px; border-radius:8px; border-color:#dce2ed; }
        .cpd-filter .form-control:focus { border-color:var(--putra-teal-dark); box-shadow:0 0 0 .2rem rgba(133,208,201,.25); }
        .cpd-table-card { border:0; border-radius:14px; overflow:hidden; box-shadow:0 5px 20px rgba(32,38,91,.07); }
        .cpd-table-card .card-header {
            background:var(--putra-navy); color:#fff; border:0;
            padding:1rem 1.35rem;
        }
        .cpd-table-card .card-header h6 { color:#fff !important; font-weight:800; }
        #dataTable { color:#424960; border-color:#e8ecf3; margin-bottom:0; }
        #dataTable thead th {
            background:#eef8f7; color:var(--putra-navy); font-size:.76rem;
            text-transform:uppercase; letter-spacing:.035em; font-weight:800;
            border-bottom:2px solid var(--putra-teal); white-space:nowrap;
            vertical-align:middle;
        }
        #dataTable tbody td { vertical-align:middle; font-size:.86rem; }
        #dataTable tbody tr:hover { background:#f4fbfa; }
        .cpd-status {
            display:inline-block; padding:.35rem .7rem; border-radius:30px;
            font-size:.72rem; font-weight:800; letter-spacing:.02em;
        }
        .cpd-status.approved { background:#e5f7f1; color:#18794e; }
        .cpd-status.pending { background:#eaf0ff; color:var(--putra-navy); }
        .cpd-status.rejected { background:#fdebec; color:#b42332; }
        .dataTables_wrapper .dataTables_paginate .paginate_button.current {
            background:var(--putra-navy) !important; color:#fff !important;
            border:1px solid var(--putra-navy) !important; border-radius:6px;
        }
        .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
            background:var(--putra-teal) !important; color:var(--putra-navy) !important;
            border:1px solid var(--putra-teal) !important;
        }
        .btn-primary { background:var(--putra-navy); border-color:var(--putra-navy); }
        .btn-primary:hover { background:#151a45; border-color:#151a45; }
        .modal-content { border:0; border-radius:14px; overflow:hidden; }
        .modal-header { background:var(--putra-navy); color:#fff; }
        .modal-header .close { color:#fff; text-shadow:none; opacity:.9; }
        @media (max-width:767.98px) {
            .cpd-page-heading { align-items:flex-start; flex-direction:column; }
            .cpd-summary-card .card-body { padding:1rem; }
            .cpd-filter { align-items:flex-start; }
        }

.cpd-col-number {
    width: 3%;
}

.cpd-status-table {
    width: 100%;
}


/* ===== CPD INDIVIDUAL REPORT : source cpd-individual(1).css ===== */

/* Putra Staff Portal - Individual CPD Report */
:root {
    --putra-navy: #20265b;
    --putra-teal: #85D0C9;
    --putra-teal-dark: #3d9f98;
    --putra-ink: #27304b;
    --putra-muted: #778096;
    --putra-bg: #f4f7fb;
}

body {
    background: var(--putra-bg);
    color: var(--putra-ink);
    font-family: "Nunito", sans-serif;
}

#content-wrapper {
    background: var(--putra-bg);
}

.cpd-individual-page {
    padding-top: 1.7rem;
    padding-bottom: 2rem;
}

.cpd-page-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.5rem;
}

.cpd-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    color: var(--putra-navy);
    background: rgba(133, 208, 201, .3);
    font-size: 1.35rem;
}

.cpd-eyebrow {
    color: var(--putra-teal-dark);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .13em;
    margin-bottom: 3px;
}

.cpd-page-heading h1 {
    color: var(--putra-navy);
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0;
}

.cpd-page-heading p {
    color: var(--putra-muted);
    font-size: .9rem;
    margin: 4px 0 0;
}

.cpd-individual-card {
    overflow: hidden;
    border: 1px solid #e8edf4;
    border-radius: 14px;
    box-shadow: 0 5px 22px rgba(32, 38, 91, .06);
    margin-bottom: 1.5rem;
}

.cpd-card-header {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 86px;
    padding: 1.1rem 1.35rem;
    background: #fff;
    border-bottom: 1px solid #edf0f5;
}

.cpd-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 12px;
    color: var(--putra-navy);
    background: rgba(133, 208, 201, .3);
    font-size: 1rem;
}

.cpd-card-header h6 {
    color: var(--putra-navy);
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 3px;
}

.cpd-card-header > div:nth-child(2) span {
    color: var(--putra-muted);
    font-size: .78rem;
}

.cpd-year-label {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
    color: var(--putra-muted);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cpd-year-label strong {
    color: var(--putra-navy);
    font-size: 1.2rem;
    letter-spacing: 0;
}

.cpd-individual-card .card-body {
    padding: 1.35rem;
}

.cpd-year-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.2rem;
}

.cpd-year-filter label {
    color: var(--putra-ink);
    font-size: .82rem;
    font-weight: 800;
    margin: 0;
}

.cpd-year-filter select {
    width: 130px;
    min-height: 40px;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    color: var(--putra-ink);
    font-size: .85rem;
    box-shadow: none;
}

.cpd-year-filter select:focus {
    border-color: var(--putra-teal-dark);
    box-shadow: 0 0 0 .18rem rgba(133, 208, 201, .22);
}

.cpd-filter-hint {
    color: var(--putra-muted);
    font-size: .76rem;
}

.cpd-staff-table {
    color: var(--putra-ink);
    font-size: .83rem;
    margin-bottom: 0;
}

.cpd-staff-table thead th {
    padding: .85rem .7rem;
    vertical-align: middle;
    white-space: nowrap;
    background: var(--putra-navy);
    border-color: var(--putra-navy);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.cpd-staff-table tbody td {
    padding: .75rem .7rem;
    vertical-align: middle;
    border-color: #e8edf4;
}

.cpd-staff-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.cpd-staff-table tbody tr:hover {
    background: rgba(133, 208, 201, .13);
}

.cpd-no-column {
    width: 55px;
    text-align: center;
}

.cpd-staff-id {
    display: inline-block;
    padding: .25rem .5rem;
    border-radius: 6px;
    background: #eef1f8;
    color: var(--putra-navy);
    font-size: .78rem;
    font-weight: 800;
}

.cpd-staff-name {
    font-weight: 800;
    color: var(--putra-navy);
}

.cpd-role {
    display: inline-block;
    padding: .25rem .55rem;
    border-radius: 20px;
    background: rgba(133, 208, 201, .22);
    color: #287d77;
    font-size: .72rem;
    font-weight: 800;
}

.cpd-points {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: .3rem .6rem;
    border-radius: 7px;
    background: var(--putra-navy);
    color: #fff;
    font-weight: 800;
    font-size: .82rem;
}

.cpd-download-btn {
    width: 32px;
    height: 31px;
    margin: 0 2px;
    padding: .35rem;
    border: 1px solid #e5eaf1;
    border-radius: 7px;
    background: #fff;
}

.cpd-download-btn:hover {
    background: #f0f4fa;
    border-color: #cbd5e3;
}

.cpd-excel-icon {
    color: #198754;
}

.cpd-pdf-icon {
    color: #dc3545;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    color: var(--putra-muted);
    font-size: .8rem;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border: 1px solid #dfe5ee;
    border-radius: 7px;
    padding: .3rem .5rem;
    color: var(--putra-ink);
}

.dataTables_wrapper .page-item.active .page-link {
    background: var(--putra-navy);
    border-color: var(--putra-navy);
}

.dataTables_wrapper .page-link {
    color: var(--putra-navy);
}

@media (max-width: 767.98px) {
    .cpd-individual-page {
        padding-top: 1.2rem;
    }

    .cpd-page-heading {
        align-items: flex-start;
    }

    .cpd-heading-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 13px;
    }

    .cpd-page-heading h1 {
        font-size: 1.35rem;
    }

    .cpd-card-header,
    .cpd-individual-card .card-body {
        padding: 1rem;
    }

    .cpd-year-label {
        font-size: .62rem;
    }

    .cpd-year-label strong {
        font-size: 1rem;
    }

    .cpd-year-filter {
        align-items: flex-start;
    }

    .cpd-filter-hint {
        flex-basis: 100%;
    }
}


/* ===== CPD GENERAL REPORT : source cpd-report(1).css ===== */

/* Putra Staff Portal - CPD Report page theme */
:root {
    --putra-navy: #20265b;
    --putra-teal: #85D0C9;
    --putra-teal-dark: #3d9f98;
    --putra-ink: #27304b;
    --putra-muted: #778096;
    --putra-bg: #f4f7fb;
}

body {
    background: var(--putra-bg);
    color: var(--putra-ink);
    font-family: "Nunito", sans-serif;
}

#content-wrapper {
    background: var(--putra-bg);
}

.cpd-report-page {
    padding-top: 1.7rem;
    padding-bottom: 2.2rem;
}

.cpd-page-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.6rem;
}

.cpd-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    color: var(--putra-navy);
    background: rgba(133, 208, 201, .28);
    font-size: 1.35rem;
}

.cpd-eyebrow {
    color: var(--putra-teal-dark);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .13em;
    margin-bottom: 3px;
}

.cpd-page-heading h1 {
    color: var(--putra-navy);
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0;
}

.cpd-page-heading p {
    color: var(--putra-muted);
    font-size: .9rem;
    margin: 4px 0 0;
}

.cpd-report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.cpd-report-card {
    overflow: hidden;
    border: 1px solid #e8edf4;
    border-radius: 14px;
    box-shadow: 0 5px 22px rgba(32, 38, 91, .06);
    margin-bottom: 1.25rem;
}

.cpd-card-header {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 86px;
    padding: 1.15rem 1.35rem;
    background: #fff;
    border-bottom: 1px solid #edf0f5;
}

.cpd-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 12px;
    color: var(--putra-navy);
    background: rgba(133, 208, 201, .30);
    font-size: 1rem;
}

.cpd-card-header h6 {
    color: var(--putra-navy);
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 3px;
}

.cpd-card-header span {
    color: var(--putra-muted);
    font-size: .78rem;
}

.cpd-report-card .card-body {
    padding: 1.4rem 1.35rem 1.5rem;
}

.cpd-form-group {
    margin-bottom: 1.2rem;
}

.cpd-form-group label {
    color: var(--putra-ink);
    display: block;
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: .45rem;
}

.cpd-optional {
    color: #8992a5;
    font-size: .75rem;
    font-weight: 600;
}

.cpd-report-card .form-control {
    min-height: 44px;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    color: var(--putra-ink);
    font-size: .88rem;
    box-shadow: none;
}

.cpd-report-card .form-control:focus {
    border-color: var(--putra-teal-dark);
    box-shadow: 0 0 0 .18rem rgba(133, 208, 201, .22);
}

.cpd-report-card .form-text {
    color: var(--putra-muted);
    font-size: .75rem;
    margin-top: .45rem;
}

.cpd-btn-primary {
    min-height: 42px;
    padding: .62rem 1.15rem;
    border: 0;
    border-radius: 8px;
    background: var(--putra-navy);
    color: #fff;
    font-size: .84rem;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cpd-btn-primary:hover,
.cpd-btn-primary:focus {
    color: #fff;
    background: #303a83;
    box-shadow: 0 5px 12px rgba(32, 38, 91, .18);
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .cpd-report-page {
        padding-top: 1.2rem;
    }

    .cpd-report-grid {
        grid-template-columns: 1fr;
        gap: .25rem;
    }

    .cpd-page-heading {
        align-items: flex-start;
    }

    .cpd-heading-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 13px;
    }

    .cpd-page-heading h1 {
        font-size: 1.35rem;
    }

    .cpd-card-header {
        padding: 1rem;
    }

    .cpd-report-card .card-body {
        padding: 1.1rem;
    }
}


/* ===== CPD MANAGE APPROVAL / NEW REQUEST : source newrequest(1).css ===== */

/* Putra Staff Portal - CPD New Request theme */
:root {
    --putra-navy: #20265b;
    --putra-teal: #85D0C9;
    --putra-teal-dark: #398f89;
    --putra-bg: #f4f7fb;
    --putra-text: #26304a;
    --putra-muted: #7b8498;
}

body {
    background: var(--putra-bg);
    color: var(--putra-text);
}

.cpd-page {
    padding-top: 1.6rem;
    padding-bottom: 1.5rem;
}

.cpd-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cpd-eyebrow {
    display: inline-block;
    color: var(--putra-teal-dark);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: .35rem;
}

.cpd-page-heading h1 {
    color: var(--putra-navy);
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0;
}

.cpd-page-heading p {
    color: var(--putra-muted);
    margin: .35rem 0 0;
    font-size: .92rem;
}

.cpd-heading-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--putra-navy);
    background: rgba(133, 208, 201, .28);
    font-size: 1.45rem;
}

.cpd-year-filter {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.2rem;
    padding: .85rem 1rem;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(32, 38, 91, .04);
}

.cpd-year-filter label {
    color: var(--putra-navy);
    font-weight: 700;
    margin: 0;
}

.cpd-year-filter select {
    width: auto;
    min-width: 125px;
    border: 1px solid #dce3ed;
    border-radius: 8px;
}

.cpd-request-card {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
}

.cpd-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid #edf0f5;
    border-left: 5px solid var(--putra-teal);
    padding: 1.1rem 1.25rem;
}

.cpd-card-header h6 {
    color: var(--putra-navy);
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 .2rem;
}

.cpd-card-header span:not(.cpd-header-icon) {
    color: var(--putra-muted);
    font-size: .8rem;
}

.cpd-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(133, 208, 201, .24);
    color: var(--putra-navy);
}

.cpd-request-card .card-body {
    padding: 1.25rem;
}

.cpd-request-table {
    color: #4b556b;
    font-size: .82rem;
    border-color: #e8edf4;
    margin-bottom: 0;
}

.cpd-request-table thead th {
    background: var(--putra-navy);
    color: #fff;
    border-color: rgba(255,255,255,.12);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .025em;
    white-space: nowrap;
    vertical-align: middle;
    padding: .85rem .65rem;
}

.cpd-request-table tbody td {
    vertical-align: middle;
    padding: .7rem .65rem;
    border-color: #e8edf4;
}

.cpd-request-table tbody tr:hover {
    background: #f2fbfa;
}

.cpd-no-column {
    width: 3%;
}

.cpd-action-column {
    min-width: 95px;
}

.cpd-staff-name {
    color: var(--putra-navy);
    font-weight: 700;
    min-width: 150px;
}

.cpd-activity {
    min-width: 190px;
}

.cpd-category {
    display: inline-block;
    color: var(--putra-navy);
    background: rgba(133, 208, 201, .25);
    border-radius: 6px;
    padding: .25rem .5rem;
    font-weight: 800;
    white-space: nowrap;
}

.cpd-point {
    display: inline-flex;
    min-width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    color: var(--putra-navy);
    background: #eef0fa;
    border-radius: 8px;
    font-weight: 800;
}

.cpd-actions {
    min-width: 95px;
    text-align: center;
}

.cpd-action-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
}

.cpd-approve-btn,
.cpd-reject-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, box-shadow .15s ease;
}

.cpd-approve-btn {
    color: #167b63;
    background: #e5f6f1;
}

.cpd-approve-btn:hover {
    color: #fff;
    background: #16866d;
    box-shadow: 0 4px 10px rgba(22, 134, 109, .2);
    transform: translateY(-1px);
}

.cpd-reject-btn {
    color: #c43e50;
    background: #fff0f1;
}

.cpd-reject-btn:hover {
    color: #fff;
    background: #c43e50;
    box-shadow: 0 4px 10px rgba(196, 62, 80, .2);
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .cpd-page {
        padding-top: 1rem;
    }

    .cpd-page-heading h1 {
        font-size: 1.35rem;
    }

    .cpd-heading-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .cpd-year-filter {
        align-items: flex-start;
        flex-direction: column;
    }

    .cpd-year-filter select {
        width: 100%;
    }

    .cpd-request-card .card-body {
        padding: .8rem;
    }
}


/* ===== LOGIN PAGE : source login-custom(1).css ===== */

/* Login-only styles. Kept separate so the existing portal pages remain unchanged. */
.login-page {
    min-height: 100vh;
    margin: 0;
    background: #eef4f6;
    color: #25334a;
    font-family: 'Nunito', sans-serif;
}

.login-page * { box-sizing: border-box; }
.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 24px;
    background:
        radial-gradient(circle at 12% 15%, rgba(133, 208, 201, .20), transparent 28%),
        radial-gradient(circle at 90% 85%, rgba(32, 38, 91, .08), transparent 30%),
        #eef4f6;
}
.login-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
    width: 100%;
    max-width: 1060px;
    min-height: 650px;
    overflow: hidden;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(27, 48, 75, .13);
}
.login-brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 54px 52px 34px;
    color: #fff;
    background: linear-gradient(145deg, #20265b 0%, #253b70 58%, #247d83 100%);
}
.brand-panel-content, .brand-panel-footer { position: relative; z-index: 2; }
.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    padding: 13px;
    margin-bottom: 38px;
    border-radius: 22px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 12px 30px rgba(8, 18, 52, .15);
}
.brand-logo { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-eyebrow, .login-kicker {
    margin: 0 0 13px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}
.brand-eyebrow { color: #a9e6df; }
.brand-panel-content h1 {
    margin: 0 0 17px;
    color: #fff;
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -.8px;
}
.brand-description { max-width: 360px; margin: 0; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.8; }
.brand-feature-list { display: grid; gap: 17px; margin-top: 46px; }
.brand-feature { display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.92); font-size: 14px; font-weight: 700; }
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 11px;
    color: #b9eee7;
    background: rgba(255,255,255,.09);
}
.brand-panel-footer { color: rgba(255,255,255,.55); font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.brand-decoration { position: absolute; z-index: 1; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; pointer-events: none; }
.brand-decoration-one { width: 420px; height: 420px; right: -210px; top: 70px; }
.brand-decoration-two { width: 300px; height: 300px; right: -150px; top: 130px; background: rgba(133,208,201,.06); }
.login-form-panel { display: flex; align-items: center; justify-content: center; padding: 58px 62px; background: #fff; }
.login-form-inner { width: 100%; max-width: 370px; }
.mobile-logo-wrap { display: none; }
.login-heading { margin-bottom: 34px; }
.login-kicker { color: #238c89; }
.login-heading h2 { margin: 0 0 9px; color: #20265b; font-size: 27px; font-weight: 900; letter-spacing: -.5px; }
.login-heading p { margin: 0; color: #8792a3; font-size: 13px; line-height: 1.7; }
.login-alert { display: flex; align-items: flex-start; gap: 10px; margin: -13px 0 22px; padding: 12px 14px; border: 1px solid #f5c7c7; border-radius: 10px; color: #a63232; background: #fff5f5; font-size: 12px; font-weight: 700; }
.login-field { margin-bottom: 21px; }
.login-field label { display: block; margin: 0 0 9px; color: #35415a; font-size: 12px; font-weight: 900; }
.input-with-icon { position: relative; }
.input-with-icon > i:first-child { position: absolute; z-index: 1; top: 50%; left: 16px; transform: translateY(-50%); color: #91a0b2; font-size: 14px; }
.input-with-icon input {
    display: block;
    width: 100%;
    height: 52px;
    padding: 0 46px 0 44px;
    border: 1px solid #e2e8ef;
    border-radius: 11px;
    outline: none;
    color: #26344c;
    background: #fbfcfd;
    font-family: inherit;
    font-size: 13px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.input-with-icon input::placeholder { color: #aab4c1; }
.input-with-icon input:focus { border-color: #55b8b0; background: #fff; box-shadow: 0 0 0 4px rgba(85,184,176,.13); }
.password-toggle { position: absolute; top: 50%; right: 12px; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; transform: translateY(-50%); border: 0; border-radius: 7px; color: #8492a5; background: transparent; cursor: pointer; }
.password-toggle:hover { color: #238c89; background: #edf8f7; }
.login-options { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 27px; font-size: 11px; }
.secure-note { color: #8792a3; }
.secure-note i { margin-right: 5px; color: #23928c; }
.login-options a { color: #238c89; font-weight: 900; text-decoration: none; }
.login-options a:hover { color: #20265b; text-decoration: underline; }
.login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(100deg, #20265b, #238c89);
    box-shadow: 0 9px 20px rgba(35,140,137,.18);
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.login-submit:hover { transform: translateY(-2px); box-shadow: 0 13px 24px rgba(35,140,137,.25); }
.login-divider { display: flex; align-items: center; gap: 13px; margin: 31px 0 15px; color: #b0bac6; font-size: 9px; font-weight: 900; letter-spacing: 1.7px; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: #edf0f3; }
.login-help { margin: 0; color: #8a96a5; text-align: center; font-size: 11px; line-height: 1.7; }
.login-copyright { margin-top: 43px; color: #b0bac6; text-align: center; font-size: 9px; line-height: 1.6; }

@media (max-width: 900px) {
    .login-card { max-width: 760px; grid-template-columns: .82fr 1fr; }
    .login-brand-panel { padding: 42px 34px 28px; }
    .login-form-panel { padding: 48px 38px; }
    .brand-logo-wrap { width: 92px; height: 92px; margin-bottom: 30px; }
    .brand-feature-list { margin-top: 32px; }
}
@media (max-width: 680px) {
    .login-shell { padding: 20px 14px; }
    .login-card { display: block; max-width: 440px; min-height: auto; border-radius: 19px; }
    .login-brand-panel { display: none; }
    .login-form-panel { padding: 34px 27px 27px; }
    .mobile-logo-wrap { display: flex; justify-content: center; margin-bottom: 23px; }
    .mobile-logo { width: 82px; height: 82px; object-fit: contain; }
    .login-heading { margin-bottom: 27px; text-align: center; }
    .login-heading h2 { font-size: 24px; }
    .login-options { align-items: flex-start; font-size: 10px; }
    .login-copyright { margin-top: 32px; }
}
@media (max-width: 360px) {
    .login-form-panel { padding-right: 20px; padding-left: 20px; }
    .login-options { flex-direction: column; }
}

/* ==========================================================
   Dashboard theme additions - scoped to .dashboard-page only
   Shares the same navy / teal / white palette as the login.
   ========================================================== */
.dashboard-page {
    background: #f3f7f9;
    color: #344158;
    font-family: 'Nunito', sans-serif;
}
.dashboard-page #content-wrapper { background: #f3f7f9; }
.dashboard-page #content { min-height: calc(100vh - 1px); }
.dashboard-container { padding-top: 27px; padding-bottom: 32px; }
.dashboard-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 23px;
}
.dashboard-eyebrow, .dashboard-welcome-label, .dashboard-section-kicker {
    color: #238c89;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.8px;
}
.dashboard-heading h1 {
    margin: 4px 0 4px;
    color: #20265b;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -.5px;
}
.dashboard-heading p { margin: 0; color: #8490a1; font-size: 12px; }
.dashboard-year-filter {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 11px 8px 14px;
    border: 1px solid #e7edf1;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(32,38,91,.035);
}
.dashboard-year-filter label { margin: 0; color: #657187; font-size: 11px; font-weight: 800; white-space: nowrap; }
.dashboard-year-filter label i { margin-right: 5px; color: #238c89; }
.dashboard-year-filter .form-control {
    width: 105px;
    height: 34px;
    padding: 4px 28px 4px 10px;
    border: 1px solid #e5ebef;
    border-radius: 8px;
    color: #20265b;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
}
.dashboard-welcome-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 175px;
    margin-bottom: 25px;
    padding: 29px 36px;
    overflow: hidden;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(112deg, #20265b 0%, #263c70 58%, #238c89 100%);
    box-shadow: 0 13px 28px rgba(32,38,91,.12);
}
.dashboard-welcome-copy { position: relative; z-index: 2; max-width: 620px; }
.dashboard-welcome-label { color: #a9e6df; }
.dashboard-welcome-copy h2 { margin: 9px 0 8px; color: #fff; font-size: 23px; font-weight: 900; letter-spacing: -.4px; }
.dashboard-welcome-copy p { max-width: 560px; margin: 0; color: rgba(255,255,255,.75); font-size: 12px; line-height: 1.7; }
.dashboard-welcome-mark {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    margin-right: 8%;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 25px;
    color: #b9eee7;
    background: rgba(255,255,255,.10);
    font-size: 38px;
    transform: rotate(-7deg);
}
.dashboard-welcome-orbit { position: absolute; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; pointer-events: none; }
.dashboard-orbit-one { top: -145px; right: 6%; width: 360px; height: 360px; }
.dashboard-orbit-two { top: -95px; right: 1%; width: 260px; height: 260px; background: rgba(133,208,201,.045); }
.dashboard-stat-row { margin-left: -10px; margin-right: -10px; }
.dashboard-stat-row > [class*='col-'] { padding-left: 10px; padding-right: 10px; }
.dashboard-stat-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #eaf0f3;
    border-left: 4px solid #85d0c9;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(32,38,91,.045);
    transition: transform .2s ease, box-shadow .2s ease;
}
.dashboard-stat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(32,38,91,.085); }
.dashboard-stat-card .card-body { padding: 19px 19px 17px; }
.dashboard-stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #7d899b; font-size: 9px; font-weight: 900; letter-spacing: .8px; }
.dashboard-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    color: #238c89;
    background: #eaf8f6;
    font-size: 14px;
}
.dashboard-stat-value { margin-top: 13px; color: #20265b; font-size: 29px; font-weight: 900; line-height: 1.1; letter-spacing: -.6px; }
.dashboard-stat-caption { margin-top: 7px; color: #9aa4b1; font-size: 10px; }
.dashboard-stat-card.stat-pending { border-left-color: #e7b65b; }
.dashboard-stat-card.stat-pending .dashboard-stat-icon { color: #b77a20; background: #fff6e7; }
.dashboard-stat-card.stat-date { border-left-color: #6b91c9; }
.dashboard-stat-card.stat-date .dashboard-stat-icon { color: #527ab2; background: #edf3fc; }
.dashboard-stat-card.stat-time { border-left-color: #8c83c6; }
.dashboard-stat-card.stat-time .dashboard-stat-icon { color: #7168ad; background: #f1effb; }
.dashboard-stat-value.dashboard-date-value { font-size: 21px; letter-spacing: -.3px; }
.dashboard-stat-value.dashboard-time-value { font-size: 23px; letter-spacing: -.3px; white-space: nowrap; }
.dashboard-information-card { overflow: hidden; border: 1px solid #eaf0f3; border-radius: 14px; background: #fff; box-shadow: 0 7px 22px rgba(32,38,91,.045); }
.dashboard-information-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 22px;
    border-bottom: 1px solid #edf1f4;
    background: #fff;
}
.dashboard-information-card .card-header h6 { margin: 3px 0 0; color: #20265b; font-size: 14px; font-weight: 900; }
.dashboard-section-kicker { font-size: 8px; }
.dashboard-section-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; color: #238c89; background: #eaf8f6; }
.dashboard-information-card .card-body { padding: 18px 22px 22px; }
.dashboard-carousel { overflow: hidden; border-radius: 10px; background: #f2f6f8; }
.dashboard-carousel .carousel-item img { width: 100%; max-height: 390px; object-fit: cover; }
.dashboard-carousel .carousel-indicators { margin-bottom: 9px; }
.dashboard-carousel .carousel-indicators li { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #fff; opacity: .65; }
.dashboard-carousel .carousel-indicators li.active { background: #85d0c9; opacity: 1; }
.dashboard-page .navbar { box-shadow: 0 2px 12px rgba(32,38,91,.035); }
.dashboard-page .scroll-to-top { background: #20265b; }
.dashboard-page .scroll-to-top:hover { background: #238c89; }

@media (max-width: 767.98px) {
    .dashboard-container { padding-top: 19px; }
    .dashboard-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
    .dashboard-heading h1 { font-size: 24px; }
    .dashboard-year-filter { width: 100%; justify-content: space-between; }
    .dashboard-year-filter .form-control { width: 115px; }
    .dashboard-welcome-panel { min-height: 155px; padding: 24px 22px; }
    .dashboard-welcome-copy { max-width: 78%; }
    .dashboard-welcome-copy h2 { font-size: 19px; }
    .dashboard-welcome-copy p { font-size: 11px; }
    .dashboard-welcome-mark { width: 58px; height: 58px; margin: 0; border-radius: 17px; font-size: 24px; }
    .dashboard-stat-card .card-body { padding: 16px; }
    .dashboard-stat-value { font-size: 26px; }
    .dashboard-information-card .card-body { padding: 13px; }
}
@media (max-width: 420px) {
    .dashboard-welcome-mark { display: none; }
    .dashboard-welcome-copy { max-width: 100%; }
    .dashboard-stat-top { font-size: 8px; }
    .dashboard-stat-value.dashboard-date-value { font-size: 18px; }
    .dashboard-stat-value.dashboard-time-value { font-size: 20px; }
}


/* =========================================
   STAFF PORTAL - SIDEBAR CUSTOM
   Theme: Navy, Teal & White
========================================= */

.sidebar-custom {
    background: linear-gradient(180deg, #20265b 0%, #171c46 100%) !important;
    min-height: 100vh;
}

.sidebar-custom .sidebar-brand {
    min-height: 150px;
    height: auto;
    text-decoration: none;
}

.sidebar-custom .sidebar-logo {
    width: 95px;
    max-height: 75px;
    object-fit: contain;
}

.sidebar-custom .sidebar-brand-text {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.sidebar-custom .sidebar-subtitle {
    color: #aeb6dc;
    font-size: 8px;
    letter-spacing: 1px;
    margin-top: 5px;
}

.sidebar-custom .sidebar-divider {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin: 0 1rem 1rem;
}

.sidebar-custom .nav-item {
    margin: 3px 10px;
}

.sidebar-custom .nav-item .nav-link {
    color: #dce1f5;
    border-radius: 8px;
    padding: 13px 14px;
    transition: all 0.25s ease;
}

.sidebar-custom .nav-item .nav-link i {
    color: #85D0C9;
    font-size: 14px;
}

.sidebar-custom .nav-item .nav-link span {
    font-size: 13px;
    font-weight: 600;
}

.sidebar-custom .nav-item .nav-link:hover {
    background: rgba(133, 208, 201, 0.13);
    color: #ffffff;
}

.sidebar-custom .nav-item.active > .nav-link {
    background: #85D0C9;
    color: #20265b;
    font-weight: 700;
}

.sidebar-custom .nav-item.active > .nav-link i {
    color: #20265b;
}

.sidebar-custom .collapse-inner {
    background: rgba(255,255,255,0.97);
    margin: 0 5px 8px;
    padding: 10px 0;
}

.sidebar-custom .collapse-header {
    color: #20265b;
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    padding: 8px 15px;
    letter-spacing: 0.5px;
}

.sidebar-custom .collapse-item {
    color: #555b70;
    font-size: 12px;
    padding: 10px 15px;
    transition: all 0.2s ease;
}

.sidebar-custom .collapse-item:hover {
    background: #edf8f7;
    color: #20265b;
}

.sidebar-custom .collapse-item.active {
    background: #e0f4f1;
    color: #20265b;
    font-weight: 700;
    border-left: 3px solid #85D0C9;
}

.sidebar-custom .sidebar-footer {
    padding: 15px 10px 20px;
    text-align: center;
    color: #aeb6dc;
}

.sidebar-custom .sidebar-footer-line {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 15px;
}

.sidebar-custom .sidebar-footer-text {
    color: #85D0C9;
    font-size: 12px;
    font-weight: 700;
}

.sidebar-custom .sidebar-footer small {
    display: block;
    font-size: 10px;
    margin-top: 4px;
}

/* Sidebar responsive */
@media (max-width: 768px) {
    .sidebar-custom .sidebar-brand {
        min-height: 120px;
    }

    .sidebar-custom .sidebar-logo {
        width: 70px;
    }
}



/* ==========================================================
   LOGIN PAGE COMPATIBILITY FIX
   Matches the current index.php class names.
   Keeps existing dashboard and sidebar styles unchanged.
   ========================================================== */

.login-page {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background:
        radial-gradient(circle at 12% 15%, rgba(133, 208, 201, .20), transparent 28%),
        radial-gradient(circle at 90% 85%, rgba(32, 38, 91, .08), transparent 30%),
        #eef4f6;
}

.login-page .login-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-page .login-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    width: 100%;
    max-width: 1060px;
    min-height: 580px;
    overflow: hidden;
    background: #fff;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(27, 48, 75, .13);
}

.login-page .login-left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    overflow: hidden;
    padding: 48px 46px 32px;
    color: #fff;
    background: linear-gradient(145deg, #20265b 0%, #253b70 58%, #247d83 100%);
}

.login-page .login-brand,
.login-page .login-welcome,
.login-page .login-left-footer {
    position: relative;
    z-index: 1;
}

.login-page .login-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.login-page .login-brand img {
    display: block;
    width: 190px;
    max-width: 100%;
    max-height: 125px;
    object-fit: contain;
    object-position: left center;
    padding: 10px;
    border-radius: 16px;
    background: #fff;
}

.login-page .brand-divider {
    width: 48px;
    height: 4px;
    margin: 8px 0 2px;
    border-radius: 5px;
    background: #85d0c9;
}

.login-page .login-brand span {
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.8px;
    line-height: 1.6;
}

.login-page .login-welcome {
    margin: 42px 0;
}

.login-page .welcome-label {
    display: inline-block;
    margin-bottom: 14px;
    color: #a9e6df;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.login-page .login-welcome h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -.8px;
}

.login-page .login-welcome p {
    max-width: 340px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.8;
}

.login-page .login-left-footer {
    color: rgba(255,255,255,.82);
    font-size: 12px;
    font-weight: 700;
}

.login-page .login-left-footer i {
    margin-right: 7px;
    color: #a9e6df;
}

.login-page .login-right {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 52px 58px;
    background: #fff;
}

.login-page .login-content {
    width: 100%;
    max-width: 370px;
}

.login-page .mobile-logo {
    display: none;
}

.login-page .login-heading {
    margin-bottom: 32px;
}

.login-page .login-subtitle {
    display: block;
    margin-bottom: 10px;
    color: #238c89;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.login-page .login-heading h2 {
    margin: 0 0 9px;
    color: #20265b;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -.5px;
}

.login-page .login-heading p {
    margin: 0;
    color: #8792a3;
    font-size: 12px;
    line-height: 1.7;
}

.login-page .login-error {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: -10px 0 20px;
    padding: 12px 14px;
    border: 1px solid #f5c7c7;
    border-radius: 10px;
    color: #a63232;
    background: #fff5f5;
    font-size: 12px;
    font-weight: 700;
}

.login-page .form-group {
    margin-bottom: 20px;
}

.login-page .form-group label {
    display: block;
    margin: 0 0 8px;
    color: #35415a;
    font-size: 12px;
    font-weight: 800;
}

.login-page .input-wrapper {
    position: relative;
    width: 100%;
}

.login-page .input-wrapper .input-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #91a0b2;
    font-size: 14px;
    pointer-events: none;
}

.login-page .input-wrapper .login-input {
    display: block;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 48px 0 43px;
    border: 1px solid #e2e8ef;
    border-radius: 10px;
    outline: none;
    color: #26344c;
    background: #fbfcfd;
    font-family: inherit;
    font-size: 13px;
    box-shadow: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.login-page .input-wrapper .login-input:focus {
    border-color: #55b8b0;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(85,184,176,.13);
}

.login-page .password-toggle {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 7px;
    color: #8492a5;
    background: transparent;
    cursor: pointer;
}

.login-page .password-toggle:hover {
    color: #238c89;
    background: #edf8f7;
}

.login-page .login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    margin-top: 7px;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(100deg, #20265b, #238c89);
    box-shadow: 0 9px 20px rgba(35,140,137,.18);
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}

.login-page .login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 24px rgba(35,140,137,.25);
}

.login-page .login-links {
    margin-top: 18px;
    text-align: center;
    font-size: 12px;
}

.login-page .login-links a,
.login-page .login-home a {
    color: #238c89;
    font-weight: 800;
    text-decoration: none;
}

.login-page .login-links a:hover,
.login-page .login-home a:hover {
    color: #20265b;
    text-decoration: underline;
}

.login-page .login-home {
    margin-top: 15px;
    text-align: center;
    font-size: 12px;
}

.login-page .login-home i {
    margin-right: 5px;
}

.login-page .login-copyright {
    margin-top: 38px;
    color: #aab4c1;
    text-align: center;
    font-size: 9px;
    line-height: 1.7;
}

/* Tablet */
@media (max-width: 900px) {
    .login-page .login-card {
        max-width: 760px;
        min-height: 540px;
        grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    }

    .login-page .login-left {
        padding: 38px 32px 28px;
    }

    .login-page .login-right {
        padding: 42px 34px;
    }

    .login-page .login-brand img {
        width: 165px;
    }
}

/* Mobile: show only the compact logo and form */
@media (max-width: 680px) {
    .login-page {
        padding: 18px 13px;
    }

    .login-page .login-card {
        display: block;
        width: 100%;
        max-width: 440px;
        min-height: auto;
        border-radius: 19px;
    }

    .login-page .login-left {
        display: none;
    }

    .login-page .login-right {
        padding: 32px 25px 26px;
    }

    .login-page .mobile-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 22px;
    }

    .login-page .mobile-logo img {
        display: block;
        width: 105px;
        height: 85px;
        object-fit: contain;
    }

    .login-page .login-heading {
        margin-bottom: 26px;
        text-align: center;
    }

    .login-page .login-heading h2 {
        font-size: 24px;
    }

    .login-page .login-copyright {
        margin-top: 30px;
    }
}

@media (max-width: 360px) {
    .login-page .login-right {
        padding-right: 19px;
        padding-left: 19px;
    }
}


/* ===== CPD REQUEST FORM : source cpd-request-custom.css ===== */

/* =========================================
   PSHMSB STAFF PORTAL - CPD REQUEST PAGE
   Theme: Navy #20265b / Teal #85D0C9
   Scoped to .cpd-request-page
========================================= */

.cpd-request-page {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.cpd-request-page .cpd-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.cpd-request-page .cpd-eyebrow {
    display: inline-block;
    color: #238c89;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: .45rem;
}

.cpd-request-page .cpd-page-heading h1 {
    color: #20265b;
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0 0 .35rem;
}

.cpd-request-page .cpd-page-heading p {
    color: #788095;
    font-size: .9rem;
    margin: 0;
}

.cpd-request-page .cpd-heading-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    color: #20265b;
    background: #e5f6f4;
    border-radius: 16px;
    font-size: 1.45rem;
}

.cpd-request-page .cpd-info-strip {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .85rem 1rem;
    margin-bottom: 1.25rem;
    color: #34405f;
    background: #edf8f7;
    border: 1px solid #d4eeeb;
    border-left: 4px solid #85D0C9;
    border-radius: 9px;
    font-size: .85rem;
}

.cpd-request-page .cpd-info-strip i {
    color: #238c89;
    font-size: 1rem;
}

.cpd-request-page .cpd-form-card {
    border: 1px solid #e8ebf2;
    border-radius: 13px;
    overflow: hidden;
}

.cpd-request-page .cpd-form-card .card-header {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1.15rem 1.4rem;
    background: #fff;
    border-bottom: 1px solid #edf0f5;
}

.cpd-request-page .cpd-card-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #20265b;
    background: #e5f6f4;
    border-radius: 11px;
    font-size: 1.05rem;
}

.cpd-request-page .cpd-form-card .card-header h2 {
    color: #20265b;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 .2rem;
}

.cpd-request-page .cpd-form-card .card-header p {
    color: #8790a3;
    font-size: .76rem;
    margin: 0;
}

.cpd-request-page .card-body {
    padding: 1.5rem;
}

.cpd-request-page .form-section {
    padding-bottom: 1.45rem;
    margin-bottom: 1.45rem;
    border-bottom: 1px solid #edf0f5;
}

.cpd-request-page .form-section-title {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    margin-bottom: 1.2rem;
}

.cpd-request-page .section-number {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    color: #20265b;
    background: #e5f6f4;
    border-radius: 9px;
    font-size: .78rem;
    font-weight: 800;
}

.cpd-request-page .form-section-title h3 {
    color: #20265b;
    font-size: .95rem;
    font-weight: 800;
    margin: 0 0 .2rem;
}

.cpd-request-page .form-section-title p {
    color: #8790a3;
    font-size: .76rem;
    margin: 0;
}

.cpd-request-page label {
    color: #303957;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: .45rem;
}

.cpd-request-page .required-mark {
    color: #d9534f;
}

.cpd-request-page .form-control {
    min-height: 43px;
    color: #303957;
    background-color: #fff;
    border: 1px solid #dfe4ed;
    border-radius: 8px;
    font-size: .85rem;
    box-shadow: none;
}

.cpd-request-page .form-control:focus {
    border-color: #85D0C9;
    box-shadow: 0 0 0 .18rem rgba(133, 208, 201, .2);
}

.cpd-request-page select.form-control {
    cursor: pointer;
}

.cpd-request-page .form-control-file {
    display: block;
    width: 100%;
    padding: .65rem .75rem;
    color: #59627a;
    background: #fbfcfe;
    border: 1px dashed #b9c5d5;
    border-radius: 8px;
    font-size: .82rem;
}

.cpd-request-page .cpd-evidence-field {
    padding: 1rem;
    background: #f7fbfb;
    border: 1px solid #dcefed;
    border-radius: 9px;
}

.cpd-request-page .cpd-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #fbfcfe;
    border-top: 1px solid #edf0f5;
}

.cpd-request-page .cpd-form-note {
    color: #8790a3;
    font-size: .75rem;
}

.cpd-request-page .cpd-form-note i {
    color: #238c89;
    margin-right: .3rem;
}

.cpd-request-page .cpd-action-buttons {
    display: flex;
    gap: .6rem;
}

.cpd-request-page .btn {
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    padding: .65rem 1rem;
    transition: all .2s ease;
}

.cpd-request-page .btn-cpd-primary {
    color: #20265b;
    background: #85D0C9;
    border: 1px solid #85D0C9;
}

.cpd-request-page .btn-cpd-primary:hover {
    color: #fff;
    background: #238c89;
    border-color: #238c89;
}

.cpd-request-page .btn-cpd-light {
    color: #20265b;
    background: #fff;
    border: 1px solid #dfe4ed;
}

.cpd-request-page .btn-cpd-light:hover {
    background: #f0f3f8;
}

@media (max-width: 767.98px) {
    .cpd-request-page {
        padding-top: 1rem;
    }

    .cpd-request-page .cpd-page-heading h1 {
        font-size: 1.35rem;
    }

    .cpd-request-page .cpd-heading-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        font-size: 1.1rem;
    }

    .cpd-request-page .card-body {
        padding: 1rem;
    }

    .cpd-request-page .cpd-form-actions {
        align-items: stretch;
        flex-direction: column;
        padding: 1rem;
    }

    .cpd-request-page .cpd-action-buttons {
        width: 100%;
    }

    .cpd-request-page .cpd-action-buttons .btn {
        flex: 1;
    }
}


/* ===== STAFF DIRECTORY : source staff-custom.css ===== */

/* Staff directory page - PSHMSB navy / teal theme */
.staff-page { background: #f5f7fb; }
.staff-page #content { background: #f5f7fb; }
.staff-container { padding-top: 1.6rem; padding-bottom: 1.5rem; }
.staff-page-heading { margin-bottom: 1.5rem; }
.staff-page-heading h1 { color: #20265b; font-size: 1.65rem; font-weight: 800; margin: .2rem 0 .25rem; }
.staff-page-heading p { color: #7b8195; font-size: .88rem; margin: 0; }
.staff-eyebrow, .staff-card-kicker { color: #399b95; font-size: .65rem; font-weight: 800; letter-spacing: 1.2px; }
.staff-heading-icon { width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: #e2f4f2; color: #20265b; font-size: 1.35rem; }
.staff-alert { border: 0; border-left: 4px solid #85D0C9; border-radius: 8px; box-shadow: 0 3px 12px rgba(32,38,91,.05); }
.staff-summary-row { margin-bottom: .35rem; }
.staff-summary-card, .staff-info-card { height: 100%; min-height: 84px; background: #fff; border-radius: 12px; padding: 17px 20px; display: flex; align-items: center; gap: 15px; box-shadow: 0 4px 18px rgba(32,38,91,.045); }
.staff-summary-icon, .staff-upload-icon { width: 43px; height: 43px; flex: 0 0 43px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #e5f5f3; color: #238c89; font-size: 1.1rem; }
.staff-summary-card span { display: block; color: #7b8195; font-size: .72rem; font-weight: 700; }
.staff-summary-card strong { display: block; color: #20265b; font-size: 1.45rem; line-height: 1.3; }
.staff-info-card { color: #626b82; font-size: .82rem; line-height: 1.5; }
.staff-info-card i { color: #399b95; font-size: 1.2rem; }
.staff-card { border: 0; border-radius: 13px; overflow: hidden; }
.staff-card-header { background: #fff; border-bottom: 1px solid #edf0f6; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.staff-card-header h6 { color: #20265b; font-size: 1rem; font-weight: 800; margin: 3px 0 0; }
.staff-card .card-body { padding: 22px; }
.staff-btn-primary { background: #20265b; color: #fff; border: 1px solid #20265b; border-radius: 8px; padding: 9px 15px; font-size: .8rem; font-weight: 700; transition: .2s ease; }
.staff-btn-primary:hover, .staff-btn-primary:focus { background: #85D0C9; border-color: #85D0C9; color: #20265b; }
.staff-upload-panel { background: #f7fbfb; border: 1px dashed #b7deda; border-radius: 11px; padding: 15px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.staff-upload-copy { display: flex; align-items: center; gap: 12px; }
.staff-upload-copy strong { display: block; color: #20265b; font-size: .82rem; }
.staff-upload-copy small { display: block; color: #8a90a1; font-size: .7rem; margin-top: 3px; }
.staff-upload-form { display: flex; align-items: center; gap: 10px; width: min(560px, 65%); }
.staff-file-input { min-width: 150px; flex: 1; }
.staff-file-input .custom-file-input, .staff-file-input .custom-file-label { cursor: pointer; height: 38px; font-size: .75rem; }
.staff-file-input .custom-file-label { padding-top: 9px; color: #737b8e; border-color: #dce2eb; border-radius: 7px; }
.staff-file-input .custom-file-label::after { height: 36px; padding-top: 8px; background: #edf3f5; color: #20265b; }
.staff-btn-outline { white-space: nowrap; border: 1px solid #85D0C9; color: #20265b; background: #fff; border-radius: 8px; padding: 9px 14px; font-size: .78rem; font-weight: 700; }
.staff-btn-outline:hover { background: #85D0C9; color: #20265b; }
.staff-table { color: #515a70; font-size: .78rem; border-collapse: separate; border-spacing: 0; }
.staff-table thead th { background: #f3f6fa; color: #20265b; border: 0; border-bottom: 1px solid #e7ebf2; padding: 13px 11px; font-size: .68rem; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.staff-table tbody td { vertical-align: middle; padding: 12px 11px; border-top: 1px solid #edf0f5; }
.staff-table tbody tr:hover { background: #f8fcfc; }
.staff-name-cell { display: flex; align-items: center; gap: 9px; min-width: 175px; }
.staff-name-cell strong { color: #303851; font-weight: 700; }
.staff-avatar { width: 29px; height: 29px; flex: 0 0 29px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #e0f3f1; color: #238c89; font-size: .72rem; font-weight: 800; }
.staff-role-badge { display: inline-block; padding: 5px 8px; border-radius: 20px; background: #edf0f7; color: #20265b; font-size: .61rem; font-weight: 800; letter-spacing: .3px; white-space: nowrap; }
.staff-role-badge.role-admin { background: #e6e9fa; color: #20265b; }
.staff-role-badge.role-hr { background: #e1f4f1; color: #247d78; }
.staff-role-badge.role-user { background: #f0f2f6; color: #687087; }
.staff-action-btn { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #e8f5f3; color: #238c89; font-size: .78rem; }
.staff-action-btn:hover { background: #20265b; color: #fff; }
.staff-page .dataTables_wrapper .dataTables_filter input { border: 1px solid #dce2eb; border-radius: 7px; padding: 7px 11px; outline: none; font-size: .78rem; }
.staff-page .dataTables_wrapper .dataTables_length select { border: 1px solid #dce2eb; border-radius: 7px; padding: 5px 8px; color: #515a70; }
.staff-page .dataTables_wrapper .dataTables_info, .staff-page .dataTables_wrapper .dataTables_length, .staff-page .dataTables_wrapper .dataTables_filter { color: #7b8195; font-size: .75rem; }
.staff-page .page-item.active .page-link { background: #20265b; border-color: #20265b; }
.staff-page .page-link { color: #20265b; font-size: .75rem; }
.staff-modal { border: 0; border-radius: 13px; overflow: hidden; }
.staff-modal-header { background: #f7fbfb; border-bottom: 1px solid #edf0f6; align-items: flex-start; }
.staff-modal-header .modal-title { color: #20265b; font-weight: 800; margin-top: 3px; }
.staff-modal .modal-body { padding: 22px 24px; }
.staff-modal label { color: #414a63; font-size: .76rem; font-weight: 700; }
.staff-modal .form-control { height: 41px; border: 1px solid #dfe4ec; border-radius: 7px; font-size: .82rem; }
.staff-modal .form-control:focus { border-color: #85D0C9; box-shadow: 0 0 0 .15rem rgba(133,208,201,.2); }
.staff-role-options { display: flex; flex-wrap: wrap; gap: 8px; }
.staff-role-options label { display: inline-flex; align-items: center; gap: 6px; padding: 9px 11px; margin: 0; border: 1px solid #e2e7ef; border-radius: 7px; cursor: pointer; }
.staff-role-options input { accent-color: #238c89; }
.staff-password-note { margin-top: 17px; padding: 10px 12px; background: #f4f8fb; border-radius: 7px; color: #687087; font-size: .7rem; }
.staff-password-note i { color: #399b95; }
@media (max-width: 767.98px) {
    .staff-container { padding-top: 1rem; }
    .staff-page-heading h1 { font-size: 1.35rem; }
    .staff-heading-icon { display: none; }
    .staff-card-header { align-items: flex-start; flex-direction: column; }
    .staff-upload-panel, .staff-upload-form { align-items: stretch; flex-direction: column; width: 100%; }
    .staff-upload-form { gap: 9px; }
    .staff-card .card-body { padding: 15px; }
}


/* ===== DASHBOARD AND BENEFIT BALANCE : source dashboard-benefit.css ===== */

/* Dashboard + Benefit Balance - Putra Staff Portal */
:root {
    --putra-navy: #20265b;
    --putra-teal: #85D0C9;
    --putra-teal-dark: #3d9f98;
    --putra-ink: #27304b;
    --putra-muted: #778096;
    --putra-bg: #f4f7fb;
}

#content-wrapper,
body {
    background: var(--putra-bg);
    color: var(--putra-ink);
    font-family: "Nunito", sans-serif;
}

.dashboard-page {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.dashboard-eyebrow {
    color: var(--putra-teal-dark);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .13em;
    margin-bottom: .2rem;
}

.dashboard-title {
    color: var(--putra-navy);
    font-weight: 800;
}

.dashboard-subtitle {
    color: var(--putra-muted);
    font-size: .88rem;
}

.dashboard-year-filter label {
    color: var(--putra-ink);
    font-size: .82rem;
    font-weight: 800;
}

.dashboard-year-filter select {
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    min-height: 40px;
}

.dashboard-stat-card {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(32, 38, 91, .07);
    overflow: hidden;
}

.dashboard-stat-card .card-body {
    position: relative;
    min-height: 112px;
    padding: 1.2rem 1.25rem;
}

.dashboard-stat-card .stat-label {
    position: relative;
    z-index: 1;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .55rem;
}

.dashboard-stat-card .stat-value {
    position: relative;
    z-index: 1;
    font-size: 1.45rem;
    font-weight: 800;
}

.dashboard-stat-card .stat-icon {
    position: absolute;
    right: 1.15rem;
    top: 1.55rem;
    font-size: 2rem;
    opacity: .18;
}

.stat-navy {
    background: var(--putra-navy);
    color: #fff;
}

.stat-teal {
    background: var(--putra-teal);
    color: var(--putra-navy);
}

.stat-light {
    background: #fff;
    color: var(--putra-navy);
}

.stat-date {
    font-size: 1.15rem !important;
}

.benefit-dashboard-card,
.dashboard-carousel-card {
    border: 1px solid #e8edf4;
    border-radius: 14px;
    box-shadow: 0 5px 22px rgba(32, 38, 91, .06);
    overflow: hidden;
}

.benefit-dashboard-header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 1rem 1.35rem;
    background: #fff;
    border-bottom: 1px solid #edf0f5;
}

.benefit-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 12px;
    color: var(--putra-navy);
    background: rgba(133, 208, 201, .3);
    font-size: 1rem;
}

.benefit-dashboard-header h6 {
    color: var(--putra-navy);
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 3px;
}

.benefit-dashboard-header span {
    color: var(--putra-muted);
    font-size: .76rem;
}

.benefit-header-link {
    margin-left: auto;
    color: var(--putra-teal-dark);
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

.benefit-header-link:hover {
    color: var(--putra-navy);
    text-decoration: none;
}

.benefit-dashboard-card .card-body {
    padding: 1.35rem;
}

.benefit-summary-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 95px;
    padding: 1rem 1.1rem;
    border-radius: 10px;
}

.benefit-summary-box span {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .035em;
    margin-bottom: .4rem;
}

.benefit-summary-box strong {
    font-size: 1.35rem;
    font-weight: 800;
}

.summary-entitlement {
    background: #eef1f8;
    color: var(--putra-navy);
}

.summary-used {
    background: #fff5e8;
    color: #9b641b;
}

.summary-balance {
    background: rgba(133, 208, 201, .25);
    color: #226f69;
}

.benefit-balance-table {
    color: var(--putra-ink);
    font-size: .84rem;
}

.benefit-balance-table thead th {
    padding: .8rem .85rem;
    background: var(--putra-navy);
    border-color: var(--putra-navy);
    color: #fff;
    font-size: .74rem;
    font-weight: 800;
    white-space: nowrap;
}

.benefit-balance-table tbody td {
    padding: .8rem .85rem;
    vertical-align: middle;
    border-color: #e8edf4;
}

.benefit-balance-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.benefit-category-name {
    color: var(--putra-navy);
    font-weight: 800;
}

.benefit-balance-value {
    color: #287d77;
    font-weight: 800;
}

.benefit-empty-state {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1rem;
    border: 1px dashed #d7dfeb;
    border-radius: 10px;
    background: #fbfcfe;
}

.benefit-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    border-radius: 50%;
    background: rgba(133, 208, 201, .25);
    color: var(--putra-navy);
    font-size: 1.1rem;
}

.benefit-empty-state h6 {
    color: var(--putra-navy);
    font-weight: 800;
    margin: 0 0 3px;
}

.benefit-empty-state p {
    color: var(--putra-muted);
    font-size: .82rem;
    margin: 0;
}

.dashboard-carousel-card .card-header {
    padding: 1rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid #edf0f5;
}

.dashboard-carousel-card .card-header h6 {
    color: var(--putra-navy);
    font-weight: 800;
}

.dashboard-carousel-card .card-body {
    padding: 1.25rem;
}

@media (max-width: 767.98px) {
    .dashboard-page {
        padding-top: 1rem;
    }

    .dashboard-year-filter {
        margin-top: 1rem;
    }

    .benefit-dashboard-header {
        flex-wrap: wrap;
        padding: 1rem;
    }

    .benefit-header-link {
        width: 100%;
        margin-left: 56px;
    }

    .benefit-dashboard-card .card-body {
        padding: 1rem;
    }

    .benefit-summary-box strong {
        font-size: 1.2rem;
    }

    .benefit-empty-state {
        align-items: flex-start;
    }
}




/* ==========================================================
   TOPBAR - PUTRA STAFF PORTAL
   Scoped to .topbar-custom to avoid affecting other navbars.
   ========================================================== */
.topbar-custom {
    min-height: 62px;
    padding: .55rem 1.25rem;
    background: #fff !important;
    border-bottom: 3px solid #85D0C9;
    box-shadow: 0 3px 14px rgba(32, 38, 91, .045) !important;
    z-index: 100;
}
.topbar-custom .topbar-heading { min-height: 38px; gap: 12px; }
.topbar-custom .topbar-heading-mark {
    display: block; width: 4px; height: 34px; flex: 0 0 4px;
    border-radius: 10px; background: #85D0C9;
}
.topbar-custom .topbar-heading-title {
    color: #20265b; font-size: .88rem; font-weight: 900; line-height: 1.25;
}
.topbar-custom .topbar-heading-subtitle {
    display: block; margin-top: 3px; color: #8792a5;
    font-size: .68rem; font-weight: 500;
}
.topbar-custom .navbar-nav { align-items: center; }
.topbar-custom .topbar-user-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    padding: .3rem .15rem .3rem .65rem; color: #20265b !important;
}
.topbar-custom .topbar-user-toggle::after { display: none; }
.topbar-custom .topbar-user-name {
    max-width: 230px; overflow: hidden; color: #20265b;
    font-size: .7rem; font-weight: 800; letter-spacing: .025em;
    text-overflow: ellipsis; white-space: nowrap;
}
.topbar-custom .topbar-user-avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 37px; height: 37px; flex: 0 0 37px;
    border: 1px solid rgba(133, 208, 201, .55); border-radius: 50%;
    color: #20265b; background: #eaf8f6; font-size: .9rem;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.topbar-custom .topbar-user-toggle:hover .topbar-user-avatar,
.topbar-custom .topbar-user-toggle[aria-expanded="true"] .topbar-user-avatar {
    color: #fff; background: #20265b; transform: translateY(-1px);
}
.topbar-custom .topbar-user-menu {
    min-width: 225px; margin-top: .65rem; padding: .45rem 0;
    border: 1px solid #e8edf4; border-radius: 11px;
    box-shadow: 0 12px 30px rgba(32, 38, 91, .13) !important;
}
.topbar-custom .topbar-user-menu-heading {
    display: flex; flex-direction: column; gap: 3px;
    padding: .75rem 1rem; border-bottom: 1px solid #edf0f5;
}
.topbar-custom .topbar-user-menu-heading strong {
    color: #20265b; font-size: .8rem; font-weight: 800;
}
.topbar-custom .topbar-user-menu-heading small {
    color: #8792a5; font-size: .68rem;
}
.topbar-custom .topbar-user-menu .dropdown-item {
    padding: .65rem 1rem; color: #4b556b; font-size: .78rem;
    transition: background .15s ease, color .15s ease;
}
.topbar-custom .topbar-user-menu .dropdown-item i { color: #3d9f98; }
.topbar-custom .topbar-user-menu .dropdown-item:hover,
.topbar-custom .topbar-user-menu .dropdown-item:focus {
    color: #20265b; background: #edf8f7;
}
@media (max-width: 575.98px) {
    .topbar-custom { min-height: 56px; padding: .45rem .75rem; }
    .topbar-custom .topbar-heading-title { font-size: .8rem; }
    .topbar-custom .topbar-heading-subtitle { font-size: .62rem; }
    .topbar-custom .topbar-user-avatar {
        width: 34px; height: 34px; flex-basis: 34px;
    }
}


/* =====================================================
   TOPBAR - PUTRA STAFF PORTAL
   ===================================================== */

.topbar-custom {
    min-height: 62px;
    background: #ffffff !important;
    border-bottom: 3px solid #85D0C9;
    padding: 0 1.25rem;
    box-shadow: 0 3px 12px rgba(32, 38, 91, 0.06) !important;
}

/* Portal heading */
.topbar-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-heading-mark {
    width: 4px;
    height: 34px;
    border-radius: 5px;
    background: #85D0C9;
}

.topbar-heading-title {
    color: #20265b;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.topbar-heading-subtitle {
    color: #858da5;
    font-size: 10px;
    display: block;
    margin-top: 2px;
}

/* User dropdown */
.topbar-user-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0 8px 12px !important;
}

.topbar-user-name {
    color: #20265b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.topbar-user-avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e5f5f3;
    border: 1px solid #c4e9e5;
    color: #20265b;
    font-size: 14px;
}

.topbar-user-toggle:hover .topbar-user-avatar {
    background: #85D0C9;
    color: #20265b;
}

/* Dropdown menu */
.topbar-user-menu {
    min-width: 220px;
    padding: 8px;
    border: 1px solid #edf0f5;
    border-radius: 10px;
}

.topbar-user-menu-heading {
    padding: 12px;
    border-bottom: 1px solid #edf0f5;
    margin-bottom: 6px;
}

.topbar-user-menu-heading strong {
    display: block;
    color: #20265b;
    font-size: 12px;
}

.topbar-user-menu-heading small {
    display: block;
    color: #858da5;
    font-size: 10px;
    margin-top: 4px;
}

.topbar-user-menu .dropdown-item {
    padding: 10px 12px;
    border-radius: 6px;
    color: #4d5670;
    font-size: 12px;
}

.topbar-user-menu .dropdown-item i {
    color: #399b95;
}

.topbar-user-menu .dropdown-item:hover {
    background: #e5f5f3;
    color: #20265b;
}

.topbar-user-menu .dropdown-divider {
    border-top-color: #edf0f5;
}

/* Mobile */
@media (max-width: 575.98px) {
    .topbar-custom {
        padding: 0 12px;
    }

    .topbar-heading-title {
        font-size: 12px;
    }

    .topbar-heading-subtitle {
        font-size: 9px;
    }

    .topbar-user-avatar {
        width: 33px;
        height: 33px;
    }
}
