/* =========================================
   QUANTAPLUS — GLOBAL STYLES
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #06152b;
    --dark-blue: #092448;
    --blue: #0d4f8b;
    --green: #159447;
    --gold: #d6a62c;
    --white: #ffffff;
    --light: #f5f7fa;
    --text: #172033;
    --muted: #667085;
    --border: #e4e7ec;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.section {
    padding: 90px 0;
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    border: 1px solid var(--green);
}

.btn-primary:hover {
    background: #10783a;
    border-color: #10783a;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}


/* =========================================
   NAVIGATION
========================================= */

.navbar {
    position: relative;
    z-index: 100;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--green);
    border-radius: 50%;
    color: var(--green);
    font-weight: 800;
    font-size: 19px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    color: var(--white);
    line-height: 1.1;
}

.logo-text strong {
    font-size: 18px;
    letter-spacing: 1px;
}

.logo-text small {
    margin-top: 3px;
    font-size: 7px;
    letter-spacing: 1px;
    color: #aab6c7;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 27px;
}

.nav-links a {
    color: #dce5ef;
    font-size: 14px;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* =========================================
   HERO
========================================= */

.hero {
    background:
        linear-gradient(
            110deg,
            #041126 0%,
            #08264b 55%,
            #0b3158 100%
        );
    color: var(--white);
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #7fdc9e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h1 {
    max-width: 650px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #35b966;
}

.hero-text > p {
    max-width: 580px;
    color: #d2dce8;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-visual {
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(21, 148, 71, 0.15);
    border: 1px solid rgba(21, 148, 71, 0.3);
}

.hero-card {
    position: relative;
    width: min(420px, 90%);
    padding: 45px 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    backdrop-filter: blur(8px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.hero-card span {
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-card h2 {
    margin: 15px 0;
    font-size: 32px;
    line-height: 1.15;
}

.hero-card p {
    color: #c5d0dd;
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-label {
    display: inline-block;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 45px;
}

.section-heading h2,
.intro h2,
.why-us h2 {
    color: var(--navy);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -1px;
}

.section-heading p {
    margin-top: 15px;
    color: var(--muted);
}


/* =========================================
   INTRODUCTION
========================================= */

.intro {
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.intro-grid p {
    color: var(--muted);
    margin-bottom: 18px;
}

.text-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--green);
    font-weight: 700;
}


/* =========================================
   SERVICES
========================================= */

.services {
    background: var(--light);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    padding: 30px 25px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(6, 21, 43, 0.08);
}

.service-number {
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 25px;
}

.service-card h3 {
    color: var(--navy);
    font-size: 19px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.service-card a {
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
}


/* =========================================
   HOW IT WORKS
========================================= */

.how-it-works {
    background: var(--navy);
    color: var(--white);
}

.how-it-works .section-heading h2 {
    color: var(--white);
}

.how-it-works .section-heading {
    max-width: 700px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.step > span {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 22px;
}

.step h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.step p {
    color: #aebccc;
    font-size: 14px;
}


/* =========================================
   WHY US
========================================= */

.why-us {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.why-grid > div:first-child p {
    max-width: 570px;
    margin-top: 20px;
    color: var(--muted);
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit {
    display: flex;
    gap: 18px;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.benefit > span {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f7ed;
    color: var(--green);
    border-radius: 50%;
    font-weight: 800;
}

.benefit h3 {
    color: var(--navy);
    font-size: 17px;
    margin-bottom: 4px;
}

.benefit p {
    color: var(--muted);
    font-size: 14px;
}


/* =========================================
   CTA
========================================= */

.cta {
    padding: 100px 0;
    background:
        linear-gradient(
            120deg,
            #07182f,
            #0a355e
        );
    text-align: center;
    color: var(--white);
}

.cta-content {
    max-width: 750px;
}

.cta .section-label {
    color: #7fdc9e;
}

.cta h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    margin-bottom: 18px;
}

.cta p {
    color: #c7d2df;
    margin-bottom: 30px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #030c19;
    color: var(--white);
}

.footer-grid {
    padding: 70px 0;
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.7fr 1fr;
    gap: 50px;
}

.footer-brand > p {
    max-width: 350px;
    margin-top: 20px;
    color: #8f9baa;
    font-size: 14px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-column a,
.footer-column p {
    color: #8f9baa;
    font-size: 13px;
}

.footer-column a:hover {
    color: var(--green);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: #6f7b89;
    font-size: 12px;
}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 1000px) {

    .nav-links {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-visual {
        min-height: 280px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {

    .section {
        padding: 65px 0;
    }

    .nav-container {
        min-height: 68px;
    }

    .logo-text strong {
        font-size: 15px;
    }

    .logo-text small {
        font-size: 6px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
    }

     .nav-actions {
        display: flex;
        gap: 8px;
    }

    .nav-actions .btn {
        padding: 9px 13px;
        font-size: 12px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-text > p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .service-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}
/* =========================================
   ABOUT PAGE
========================================= */

.page-hero {
    padding: 110px 0;
    background:
        linear-gradient(
            120deg,
            #06152b,
            #0a3158
        );
    color: var(--white);
}

.page-hero h1 {
    max-width: 800px;
    margin-bottom: 20px;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.page-hero h1 span {
    color: #35b966;
}

.page-hero p {
    max-width: 650px;
    color: #cbd6e3;
    font-size: 17px;
    line-height: 1.8;
}


/* ABOUT CONTENT */

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.about-grid h2,
.values-grid h2 {
    color: var(--navy);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -1px;
}

.about-content p {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}


/* OUR APPROACH */

.about-approach {
    background: var(--light);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.approach-card {
    padding: 35px 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(6, 21, 43, 0.08);
}

.approach-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 25px;
    border-radius: 50%;
    background: #e7f7ed;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

.approach-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 20px;
}

.approach-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}


/* VALUES */

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.values-grid > div:first-child p {
    max-width: 550px;
    margin-top: 20px;
    color: var(--muted);
    line-height: 1.8;
}

.values-list {
    display: flex;
    flex-direction: column;
}

.value-item {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.value-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e7f7ed;
    color: var(--green);
    font-weight: 800;
}

.value-item h3 {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 17px;
}

.value-item p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}


/* ABOUT PAGE RESPONSIVE */

@media (max-width: 1000px) {

    .about-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {

    .page-hero {
        padding: 75px 0;
    }

    .page-hero h1 {
        font-size: 42px;
    }

    .page-hero p {
        font-size: 15px;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .about-grid h2,
    .values-grid h2 {
        font-size: 34px;
    }
}
/* =========================================
   SERVICES PAGE
========================================= */

.service-intro {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.service-intro h2 {
    color: var(--navy);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -1px;
}

.service-intro p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 18px;
}


/* SERVICE DETAIL SECTIONS */

.service-detail {
    padding: 100px 0;
    background: var(--white);
}

.service-detail-alt {
    background: var(--light);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 55px;
    max-width: 1000px;
}

.service-detail-number {
    color: var(--green);
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
}

.service-detail-content {
    max-width: 760px;
}

.service-detail-content h2 {
    color: var(--navy);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 22px;
}

.service-detail-content p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}


/* SERVICE LIST */

.service-list {
    list-style: none;
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 25px;
}

.service-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 800;
}


/* BUSINESS CTA */

.business-cta {
    background: #eaf4ee;
    text-align: center;
}

.business-cta-content {
    max-width: 720px;
    margin: 0 auto;
}

.business-cta h2 {
    color: var(--navy);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.1;
    margin-bottom: 18px;
}

.business-cta p {
    color: var(--muted);
    margin-bottom: 28px;
}


/* SERVICES RESPONSIVE */

@media (max-width: 800px) {

    .service-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-detail-number {
        font-size: 45px;
    }
}


@media (max-width: 600px) {

    .service-detail {
        padding: 70px 0;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .service-detail-content h2 {
        font-size: 34px;
    }

    .service-detail-content p {
        font-size: 15px;
    }

    .service-intro h2 {
        font-size: 34px;
    }
}
/* =========================================
   CONTACT PAGE
========================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2,
.contact-form-header h2 {
    color: var(--navy);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.contact-info > p {
    max-width: 500px;
    margin: 20px 0 35px;
    color: var(--muted);
    line-height: 1.8;
}


/* CONTACT DETAILS */

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e7f7ed;
    color: var(--green);
    font-size: 16px;
    font-weight: 800;
}

.contact-item div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-item span {
    color: var(--muted);
    font-size: 12px;
}

.contact-item strong {
    color: var(--navy);
    font-size: 14px;
}


/* CONTACT FORM */

.contact-form-container {
    padding: 40px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.contact-form-header {
    margin-bottom: 30px;
}

.contact-form-header h2 {
    font-size: 32px;
    margin-top: 5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    outline: none;
    background: var(--white);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: 0.3s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(21, 148, 71, 0.08);
}

.contact-submit {
    width: fit-content;
    border: none;
}


/* WHATSAPP SECTION */

.whatsapp-section {
    padding: 65px 0;
    background: #eaf4ee;
}

.whatsapp-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.whatsapp-content h2 {
    color: var(--navy);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
    margin-bottom: 10px;
}

.whatsapp-content p {
    color: var(--muted);
}

.btn-whatsapp {
    background: var(--green);
    color: var(--white);
    border: 1px solid var(--green);
    white-space: nowrap;
}

.btn-whatsapp:hover {
    background: #10783a;
}


/* CONTACT RESPONSIVE */

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-info > p {
        max-width: 650px;
    }
}


@media (max-width: 600px) {

    .contact-form-container {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-header h2 {
        font-size: 30px;
    }

    .whatsapp-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-whatsapp {
        width: 100%;
    }

    .contact-info h2 {
        font-size: 36px;
    }
}
/* =========================================
   FAQ PAGE
========================================= */

.faq-container {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 80px;
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: 120px;
}

.faq-intro h2 {
    color: var(--navy);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.faq-intro p {
    max-width: 400px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 28px;
}


/* FAQ ITEMS */

.faq-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 25px 0;
    cursor: pointer;
    list-style: none;
    color: var(--navy);
    font-size: 16px;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary span {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e7f7ed;
    color: var(--green);
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s ease;
}

.faq-item[open] summary span {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 45px 25px 0;
}

.faq-answer p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}


/* FAQ CTA */

.faq-container + .cta {
    margin-top: 0;
}


/* FAQ RESPONSIVE */

@media (max-width: 850px) {

    .faq-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .faq-intro {
        position: static;
    }

    .faq-intro p {
        max-width: 600px;
    }
}


@media (max-width: 600px) {

    .faq-intro h2 {
        font-size: 36px;
    }

    .faq-item summary {
        font-size: 15px;
        padding: 21px 0;
    }

    .faq-answer {
        padding-right: 25px;
    }
}
/* =========================================
   REGISTRATION / AUTH PAGES
========================================= */

.auth-page {
    background: var(--light);
}

.auth-page .navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.auth-back {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.auth-back:hover {
    color: var(--green);
}


/* AUTH SECTION */

.auth-section {
    padding: 80px 20px 100px;
}

.auth-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.auth-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.auth-heading h1 {
    color: var(--navy);
    font-size: clamp(40px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.auth-heading h1 span {
    color: var(--green);
}

.auth-heading p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.8;
}


/* AUTH FORM */

.auth-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 45px;
    box-shadow: 0 15px 45px rgba(6, 21, 43, 0.05);
}

.form-section {
    padding: 35px 0;
    border-bottom: 1px solid var(--border);
}

.form-section:first-child {
    padding-top: 0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 30px;
}

.form-section-heading > span {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e7f7ed;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

.form-section-heading h2 {
    color: var(--navy);
    font-size: 21px;
    margin-bottom: 5px;
}

.form-section-heading p {
    color: var(--muted);
    font-size: 13px;
}


/* FORM FIELDS */

.auth-form .form-row {
    margin-bottom: 20px;
}

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

.auth-form .form-row .form-group {
    margin-bottom: 0;
}

.auth-form .form-group label {
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.auth-form .form-group input,
.auth-form .form-group select,
.auth-form .form-group textarea {
    padding: 15px;
    border-radius: 7px;
}

.auth-form .form-group textarea {
    min-height: 120px;
}


/* AGREEMENT */

.registration-agreement {
    padding: 25px 0 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.checkbox-label input {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--green);
}


/* SUBMIT */

.auth-submit {
    width: 100%;
    border: none;
    padding: 16px 25px;
    font-size: 15px;
}

.auth-switch {
    margin-top: 22px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.auth-switch a {
    color: var(--green);
    font-weight: 700;
}


/* AUTH MOBILE */

@media (max-width: 650px) {

    .auth-section {
        padding: 55px 15px 75px;
    }

    .auth-heading {
        margin-bottom: 35px;
    }

    .auth-heading h1 {
        font-size: 40px;
    }

    .auth-form {
        padding: 28px 20px;
        border-radius: 10px;
    }

    .form-section {
        padding: 28px 0;
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .auth-form .form-row .form-group {
        margin-bottom: 20px;
    }

    .form-section-heading h2 {
        font-size: 19px;
    }

    .auth-page .nav-container {
        justify-content: space-between;
    }

    .auth-back {
        font-size: 13px;
    }
}
/* =========================================
   LOGIN PAGE
========================================= */

.login-container {
    max-width: 560px;
}

.login-form {
    max-width: 560px;
    margin: 0 auto;
}

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

.password-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.password-label a {
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.remember-me {
    margin: 4px 0 25px;
}

.remember-me span {
    font-size: 13px;
}


/* LOGIN DIVIDER */

.login-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0 20px;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.login-divider span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}


/* LOGIN MOBILE */

@media (max-width: 600px) {

    .login-container {
        max-width: 100%;
    }

    .login-form {
        padding: 25px 20px;
    }

    .password-label {
        align-items: flex-start;
    }

}
/* =========================================
   APPLICANT DASHBOARD
========================================= */

.dashboard-page {
    background: #f6f8f7;
    color: var(--text);
}


/* SIDEBAR */

.dashboard-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;

    display: flex;
    flex-direction: column;

    overflow-y: auto;
    overflow-x: hidden;

    background: #110e4c;
    border-right: 1px solid #e8e8e8;

    z-index: 1000;

    scrollbar-width: thin;
}


/* Sidebar scrollbar - Chrome / Edge */

.dashboard-sidebar::-webkit-scrollbar {
    width: 5px;
}

.dashboard-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 10px;
}


/* Navigation area */

.dashboard-nav {
    flex: 1;
}


/* Bottom navigation */

.dashboard-sidebar-bottom {
    margin-top: auto;
    padding-bottom: 20px;
}


.dashboard-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 10px 35px;
}

.dashboard-logo .logo-mark {
    background: var(--green);
    color: var(--white);
}

.dashboard-logo .logo-text strong {
    color: var(--white);
}

.dashboard-logo .logo-text small {
    color: rgba(255,255,255,0.55);
}


/* DASHBOARD NAV */

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dashboard-nav-link {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 14px;
    border-radius: 7px;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    font-weight: 600;
    transition: 0.25s ease;
}

.dashboard-nav-link span {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.dashboard-nav-link:hover {
    background: rgba(255,255,255,0.07);
    color: var(--white);
}

.dashboard-nav-link.active {
    background: var(--green);
    color: var(--white);
}

.dashboard-sidebar-bottom {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.logout-link:hover {
    color: #ffb3b3;
}


/* MAIN AREA */

.dashboard-main {
    margin-left: 255px;
    min-height: 100vh;
}


/* TOPBAR */

.dashboard-topbar {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 45px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.dashboard-topbar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.dashboard-mobile-brand {
    display: none;
}

.notification-button {
    position: relative;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
}

.notification-button span {
    font-size: 15px;
}

.notification-button i {
    position: absolute;
    top: 6px;
    right: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e04b4b;
    border: 2px solid var(--white);
}


/* USER */

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e7f7ed;
    color: var(--green);
    font-weight: 800;
}

.dashboard-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.dashboard-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dashboard-user-info strong {
    color: var(--navy);
    font-size: 13px;
}

.dashboard-user-info span {
    color: var(--muted);
    font-size: 11px;
}


/* CONTENT */

.dashboard-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 45px;
}


/* WELCOME */

.dashboard-welcome {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.dashboard-welcome h1 {
    margin: 8px 0 12px;
    color: var(--navy);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.dashboard-welcome h1 span {
    color: var(--green);
}

.dashboard-welcome p {
    color: var(--muted);
    line-height: 1.7;
}


/* NOTICE */

.dashboard-notice {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 25px;
    margin-bottom: 30px;
    background: #edf8f1;
    border: 1px solid #d5ebdc;
    border-radius: 10px;
}

.notice-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-weight: 800;
}

.notice-content {
    flex: 1;
}

.notice-content > span {
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.notice-content h3 {
    margin: 4px 0;
    color: var(--navy);
    font-size: 15px;
}

.notice-content p {
    color: var(--muted);
    font-size: 12px;
}

.notice-action {
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}


/* STAT CARDS */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 25px;
}

.dashboard-stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.stat-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e7f7ed;
    color: var(--green);
    font-weight: 700;
}

.dashboard-stat-card div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dashboard-stat-card div span {
    color: var(--muted);
    font-size: 11px;
}

.dashboard-stat-card div strong {
    color: var(--navy);
    font-size: 20px;
}


/* DASHBOARD GRID */

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 20px;
}

.dashboard-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
}

.dashboard-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.dashboard-card-header h2 {
    margin-top: 5px;
    color: var(--navy);
    font-size: 21px;
}

.dashboard-card-header > a {
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}


/* JOB */

.job-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.job-details div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.job-details span,
.job-description > span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.job-details strong {
    color: var(--navy);
    font-size: 13px;
}

.job-description {
    padding: 20px 0;
}

.job-description p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.job-actions {
    display: flex;
    gap: 12px;
}


/* STATUS */

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.status-badge.pending {
    background: #fff5df;
    color: #a66b00;
}


/* NOTIFICATIONS */

.notification-list {
    display: flex;
    flex-direction: column;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
}

.notification-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--green);
}

.notification-dot.read {
    background: #d6dadd;
}

.notification-item div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notification-item strong {
    color: var(--navy);
    font-size: 12px;
}

.notification-item span {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.notification-item small {
    color: #a2a8ad;
    font-size: 10px;
}


/* HISTORY */

.dashboard-history {
    grid-column: 1 / -1;
}

.history-table-wrapper {
    overflow-x: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th {
    padding: 12px 10px;
    text-align: left;
    color: var(--muted);
    background: #f7f9f8;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.history-table td {
    padding: 16px 10px;
    border-bottom: 1px solid var(--border);
    color: var(--navy);
    font-size: 12px;
}


/* PROFILE COMPLETION */

.profile-progress {
    display: flex;
    align-items: center;
    gap: 20px;
}

.progress-circle {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 7px solid #dff0e5;
    border-top-color: var(--green);
    border-right-color: var(--green);
}

.progress-circle strong {
    color: var(--navy);
    font-size: 17px;
}

.profile-progress > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-progress strong {
    color: var(--navy);
    font-size: 13px;
}

.profile-progress p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.profile-progress a {
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
}

/* =========================================
   DASHBOARD RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .dashboard-sidebar {
        width: 220px;
    }

    .dashboard-main {
        margin-left: 220px;
    }

    .dashboard-content {
        padding: 32px 24px;
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-history {
        grid-column: auto;
    }

    .payment-content {
        grid-template-columns: 1fr 1fr;
    }

    .payment-instructions {
        grid-column: 1 / -1;
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 800px) {

    .dashboard-sidebar {
        width: 72px;
        padding: 20px 10px;
    }

    .dashboard-logo {
        justify-content: center;
        padding: 0 0 30px;
    }

    .dashboard-logo .logo-text,
    .dashboard-nav-link {
        font-size: 0;
    }

    .dashboard-nav-link {
        justify-content: center;
        padding: 13px 8px;
    }

    .dashboard-nav-link span {
        font-size: 17px;
    }

    .dashboard-main {
        margin-left: 72px;
    }

    .dashboard-topbar {
        padding: 0 20px;
    }

    .dashboard-content {
        padding: 28px 18px;
    }

    .dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .dashboard-notice {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    body.dashboard-page {
        overflow-x: hidden;
        padding-bottom: 82px;
    }


    /* =========================================
       MOBILE BOTTOM NAVIGATION
    ========================================= */

    .dashboard-sidebar {
        position: fixed;

        left: 0;
        right: 0;
        bottom: 0;
        top: auto;

        width: 100%;
        height: 74px;

        margin: 0;
        padding: 7px 10px;

        display: flex;
        flex-direction: row;
        align-items: center;

        background: var(--navy);

        border-top: 1px solid rgba(255, 255, 255, 0.12);

        z-index: 9999;

        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }


    .dashboard-sidebar::-webkit-scrollbar {
        display: none;
    }


    /* Hide desktop logo */

    .dashboard-sidebar .dashboard-logo {
        display: none;
    }


    /*
       Make the navigation sections act as one
       continuous horizontal row.
    */

    .dashboard-nav,
    .dashboard-sidebar-bottom {
        display: contents;
    }


    /* =========================================
       NAVIGATION LINKS
    ========================================= */

    .dashboard-nav-link {
        flex: 0 0 82px;

        width: 82px;
        min-width: 82px;
        height: 60px;

        display: flex;

        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 5px;

        padding: 6px 4px;

        color: rgba(255, 255, 255, 0.68);

        font-size: 10px;
        font-weight: 600;

        text-decoration: none;

        border-radius: 10px;

        white-space: nowrap;

        transition:
            background 0.2s ease,
            color 0.2s ease;
    }


    .dashboard-nav-link span {
        display: block;

        font-size: 19px;
        line-height: 1;
    }


    /* Active navigation */

    .dashboard-nav-link.active {
        background: var(--green);
        color: var(--white);
    }


    .dashboard-nav-link:hover {
        color: var(--white);
    }


    /* Keep Settings and Logout */

    .dashboard-sidebar-bottom .logout-link {
        display: flex;
    }


    /* =========================================
       MAIN CONTENT
    ========================================= */

    .dashboard-main {
        width: 100%;
        min-width: 0;

        margin-left: 0;
    }


    /* =========================================
       TOP BAR
    ========================================= */

    .dashboard-topbar {
        width: 100%;
        height: 64px;

        padding: 0 16px;

        position: sticky;
        top: 0;

        z-index: 100;

        display: flex;
        align-items: center;
        justify-content: space-between;

        background: var(--white);

        border-bottom: 1px solid var(--border);
    }


    .dashboard-mobile-brand {
        display: flex;
        align-items: center;

        gap: 9px;
    }


    .dashboard-mobile-brand strong {
        color: var(--navy);

        font-size: 14px;
        font-weight: 800;

        letter-spacing: 0.02em;
    }


    .dashboard-mobile-brand .logo-mark {
        width: 30px;
        height: 30px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 8px;

        background: var(--green);
        color: var(--white);

        font-weight: 800;
        font-size: 15px;
    }


    /* Hamburger not needed on mobile */

    .small-button {
        display: none;
    }


    .dashboard-topbar-right {
        display: flex;
        align-items: center;

        gap: 10px;
    }


    .dashboard-user-info {
        display: none;
    }


    .dashboard-avatar {
        width: 36px;
        height: 36px;

        font-size: 13px;
    }


    .notification-button {
        width: 34px;
        height: 34px;
    }


    /* =========================================
       CONTENT
    ========================================= */

    .dashboard-content {
        width: 100%;

        padding: 22px 14px 30px;
    }


    /* =========================================
       WELCOME
    ========================================= */

    .dashboard-welcome {
        width: 100%;

        padding: 4px 2px 20px;

        display: flex;
        flex-direction: column;

        align-items: flex-start;

        gap: 16px;
    }


    .dashboard-welcome h1 {
        font-size: 25px;
        line-height: 1.2;
    }


    .dashboard-welcome p {
        font-size: 13px;

        line-height: 1.6;

        margin-top: 7px;
    }


    .dashboard-welcome .btn {
        width: 100%;

        text-align: center;
    }


    /* =========================================
       STATS
    ========================================= */

    .dashboard-stats {
        width: 100%;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;

        margin-bottom: 16px;
    }


    .dashboard-stat-card {
        min-width: 0;

        padding: 15px 12px;

        border-radius: 12px;
    }


    .dashboard-stat-card .stat-icon {
        font-size: 18px;
    }


    .dashboard-stat-card span {
        font-size: 10px;
    }


    .dashboard-stat-card strong {
        font-size: 20px;
    }


    /* =========================================
       CARDS
    ========================================= */

    .dashboard-grid {
        display: grid;

        grid-template-columns: 1fr;

        gap: 14px;
    }


    .dashboard-card {
        width: 100%;
        min-width: 0;

        padding: 17px 15px;

        border-radius: 13px;

        overflow: hidden;
    }


    .dashboard-card-header {
        gap: 10px;
    }


    .dashboard-card-header h2 {
        font-size: 17px;

        line-height: 1.3;
    }


    .dashboard-card-header a {
        font-size: 11px;

        white-space: nowrap;
    }


    /* =========================================
       PAYMENT
    ========================================= */

    .payment-card {
        width: 100%;

        margin-bottom: 16px;

        grid-column: auto;
    }


    .payment-content {
        display: grid;

        grid-template-columns: 1fr;

        gap: 12px;
    }


    .payment-amount-box,
    .payment-countdown-box,
    .payment-instructions {
        width: 100%;

        padding: 17px;

        border-radius: 12px;
    }


    .payment-amount-box strong {
        font-size: 27px;
    }


    .payment-countdown-box strong {
        font-size: 24px;
    }


    .payment-instructions h3 {
        font-size: 17px;
    }


    .payment-instructions > p {
        font-size: 12px;

        line-height: 1.55;
    }


    .bank-details {
        gap: 8px;
    }


    .bank-detail {
        flex-direction: column;

        align-items: flex-start;

        gap: 4px;

        padding: 12px;
    }


    .bank-detail span {
        font-size: 11px;
    }


    .bank-detail strong {
        font-size: 13px;

        text-align: left;

        word-break: break-word;
    }


    .payment-whatsapp {
        padding: 14px;

        margin-bottom: 14px;
    }


    .payment-whatsapp p {
        font-size: 12px;
    }


    .whatsapp-number {
        font-size: 17px;
    }


    .payment-instructions .btn {
        width: 100%;
    }


    /* =========================================
       HISTORY TABLE
    ========================================= */

    .history-table-wrapper {
        width: 100%;

        overflow-x: auto;

        -webkit-overflow-scrolling: touch;
    }


    .history-table {
        min-width: 520px;
    }


    /* =========================================
       PROFILE
    ========================================= */

    .profile-progress {
        align-items: flex-start;

        gap: 14px;
    }


    .progress-circle {
        width: 70px;
        height: 70px;

        border-width: 6px;
    }


    .profile-progress p {
        font-size: 11px;
    }


    /* =========================================
       NOTICE
    ========================================= */

    .dashboard-notice {
        width: 100%;

        margin-top: 16px;

        padding: 16px;

        gap: 12px;

        border-radius: 12px;
    }


    .notice-content h3 {
        font-size: 15px;
    }


    .notice-content p {
        font-size: 11px;

        line-height: 1.6;
    }
}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 380px) {

    .dashboard-content {
        padding-left: 11px;
        padding-right: 11px;
    }


    .dashboard-topbar {
        padding-left: 11px;
        padding-right: 11px;
    }


    .dashboard-mobile-brand strong {
        font-size: 12px;
    }


    .dashboard-stats {
        gap: 8px;
    }


    .dashboard-stat-card {
        padding: 13px 10px;
    }


    .dashboard-stat-card strong {
        font-size: 18px;
    }


    .dashboard-card {
        padding: 15px 13px;
    }


    .dashboard-welcome h1 {
        font-size: 22px;
    }


    /* Smaller navigation items */

    .dashboard-nav-link {
        flex-basis: 76px;

        width: 76px;
        min-width: 76px;
    }
}

/* =========================================
   STAFF DASHBOARD
========================================= */

.active-status {
    background: #e7f7ed;
    color: var(--green);
}


/* STAFF APPLICANTS */

.staff-applicant-list {
    display: flex;
    flex-direction: column;
}

.staff-applicant {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.staff-person-avatar {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e7f7ed;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

.staff-person-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.staff-person-info strong {
    color: var(--navy);
    font-size: 12px;
}

.staff-person-info span {
    color: var(--muted);
    font-size: 11px;
}


/* FOLLOW UPS */

.follow-up-list {
    display: flex;
    flex-direction: column;
}

.follow-up-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 0;
    border-top: 1px solid var(--border);
}

.follow-up-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff5df;
    color: #a66b00;
    font-size: 12px;
    font-weight: 800;
}

.follow-up-icon.completed {
    background: #e7f7ed;
    color: var(--green);
}

.follow-up-item div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.follow-up-item strong {
    color: var(--navy);
    font-size: 12px;
}

.follow-up-item span {
    color: var(--muted);
    font-size: 11px;
}

.follow-up-item small {
    color: #a2a8ad;
    font-size: 10px;
}


/* REPORTS */

.report-summary {
    display: flex;
    gap: 45px;
    padding: 10px 0 25px;
}

.report-number {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.report-number strong {
    color: var(--navy);
    font-size: 30px;
}

.report-number span {
    color: var(--muted);
    font-size: 11px;
}

.report-button {
    width: 100%;
    text-align: center;
}


/* MESSAGES */

.message-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.message-avatar {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e7f7ed;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
}

.message-avatar.admin {
    background: var(--navy);
    color: var(--white);
}

.message-preview div:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.message-preview strong {
    color: var(--navy);
    font-size: 12px;
}

.message-preview span {
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.message-preview small {
    color: #a2a8ad;
    font-size: 10px;
}

.message-note {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    color: #a2a8ad;
    font-size: 10px;
    line-height: 1.5;
}


/* STAFF MOBILE */

@media (max-width: 600px) {

    .staff-applicant {
        flex-wrap: wrap;
    }

    .staff-applicant .status-badge {
        margin-left: 50px;
        margin-top: -8px;
    }

    .report-summary {
        gap: 30px;
    }

}
/* =========================================
   ADMIN DASHBOARD
========================================= */

.admin-avatar {
    background: var(--navy);
    color: var(--white);
}


/* ADMIN APPLICANT LIST */

.admin-person-list {
    display: flex;
    flex-direction: column;
}

.admin-person {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.admin-person .staff-person-info {
    flex: 1;
}


/* ADMIN TEAM */

.admin-team-summary {
    display: flex;
    gap: 45px;
    padding: 5px 0 20px;
}

.team-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-stat strong {
    color: var(--navy);
    font-size: 28px;
}

.team-stat span {
    color: var(--muted);
    font-size: 11px;
}

.staff-status-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid var(--border);
}

.staff-status-row > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.staff-status-row strong {
    color: var(--navy);
    font-size: 12px;
}

.staff-status-row span {
    color: var(--muted);
    font-size: 10px;
}

.staff-status-indicator {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
}

.staff-status-indicator.online {
    background: var(--green);
}

.staff-status-indicator.offline {
    background: #c7ccd0;
}


/* PAYMENTS */

.payment-summary {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.payment-summary > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.payment-summary span {
    color: var(--muted);
    font-size: 11px;
}

.payment-summary strong {
    color: var(--navy);
    font-size: 18px;
}

.payment-success {
    color: var(--green) !important;
}

.payment-pending {
    color: #a66b00 !important;
}


/* ADMIN NOTIFICATIONS */

.admin-notification-preview {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 0 20px;
    border-top: 1px solid var(--border);
}

.admin-notification-preview > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-notification-preview strong {
    color: var(--navy);
    font-size: 12px;
}

.admin-notification-preview span {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.admin-notification-preview small {
    color: #a2a8ad;
    font-size: 10px;
}

.notification-button-wide {
    width: 100%;
    text-align: center;
}


/* ADMIN REPORT NOTE */

.admin-report-note {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}


/* ADMIN NOTICE */

.admin-notice {
    background: #fff9eb;
    border-color: #f1e3bd;
}

.admin-notice .notice-icon {
    background: #c58a18;
}


/* ADMIN MOBILE */

@media (max-width: 600px) {

    .admin-person {
        flex-wrap: wrap;
    }

    .admin-person .status-badge {
        margin-left: 50px;
        margin-top: -8px;
    }

    .admin-team-summary {
        gap: 30px;
    }

    .payment-summary > div {
        gap: 10px;
    }

}
/* =========================================
   QUANTAPLUS CHAT / MESSAGING
========================================= */

.chat-main {
    height: 100vh;
    overflow: hidden;
}

.chat-page-content {
    min-width: 0;
}

.chat-container {
    display: flex;
    height: calc(100vh - 72px);
    min-height: 0;
    background: #f7f8f8;
    overflow: hidden;
}


/* =========================================
   CONVERSATIONS
========================================= */

.chat-conversations {
    width: 350px;
    min-width: 350px;
    flex-shrink: 0;
    background: var(--white);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.chat-conversations-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 24px 18px;
}

.chat-conversations-header h2 {
    margin-top: 5px;
    color: var(--navy);
    font-size: 25px;
    letter-spacing: -0.5px;
}

.chat-new-button {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    flex-shrink: 0;
}

.chat-search {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 20px 12px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fafafa;
}

.chat-search span {
    color: #8d969c;
    font-size: 18px;
}

.chat-search input {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--navy);
    font-family: inherit;
    font-size: 11px;
}

.chat-search input::placeholder {
    color: #9da5aa;
}


/* =========================================
   CHAT FILTERS
========================================= */

.chat-filters {
    display: flex;
    gap: 7px;
    padding: 0 20px 12px;
}

.chat-filter {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--muted);
    padding: 6px 12px;
    border-radius: 20px;
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
}

.chat-filter.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}


/* =========================================
   CONVERSATION LIST
========================================= */

.chat-conversation-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.chat-conversation-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border: none;
    border-top: 1px solid #f0f1f1;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.chat-conversation-item:hover,
.chat-conversation-item.active {
    background: #f5f8f6;
}

.chat-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e7f7ed;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    overflow: hidden;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.chat-avatar.large {
    width: 42px;
    height: 42px;
}

.chat-conversation-info {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.chat-conversation-info strong {
    color: var(--navy);
    font-size: 12px;
}

.chat-conversation-info span {
    color: var(--muted);
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-unread-dot {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--green);
}


/* =========================================
   CHAT WINDOW
========================================= */

.chat-window {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #f7f8f8;
}


/* =========================================
   CHAT WINDOW HEADER
========================================= */

.chat-window-header {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 28px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.chat-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.chat-contact > div:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-contact strong {
    color: var(--navy);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-contact span {
    color: var(--green);
    font-size: 10px;
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-header-actions button {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #7f898f;
    font-size: 18px;
    cursor: pointer;
}


/* =========================================
   MOBILE BACK BUTTON
========================================= */

.chat-mobile-back {
    display: none;
}


/* =========================================
   MESSAGES
========================================= */

.chat-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 28px 35px;
}

.chat-message {
    display: flex;
    margin-bottom: 14px;
}

.chat-message.received {
    justify-content: flex-start;
}

.chat-message.sent {
    justify-content: flex-end;
}

.chat-message-bubble {
    max-width: 62%;
    padding: 11px 14px 8px;
    border-radius: 12px;
}

.chat-message.received .chat-message-bubble {
    border-bottom-left-radius: 3px;
    background: var(--white);
    border: 1px solid var(--border);
}

.chat-message.sent .chat-message-bubble {
    border-bottom-right-radius: 3px;
    background: var(--navy);
    color: var(--white);
}

.chat-message-bubble p {
    margin: 0;
    font-size: 11px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.chat-message-bubble small {
    display: block;
    margin-top: 5px;
    font-size: 8px;
    text-align: right;
}

.chat-message.received .chat-message-bubble small {
    color: #9ca4a8;
}

.chat-message.sent .chat-message-bubble small {
    color: #aeb7bd;
}


/* =========================================
   MESSAGE COMPOSER
========================================= */

.chat-composer {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 15px 25px;
    background: var(--white);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.chat-composer textarea {
    flex: 1;
    min-width: 0;
    min-height: 42px;
    max-height: 120px;
    padding: 11px 15px;
    border: 1px solid var(--border);
    border-radius: 22px;
    outline: none;
    resize: none;
    background: #fafafa;
    color: var(--navy);
    font-family: inherit;
    font-size: 11px;
    line-height: 1.4;
}

.chat-composer textarea:focus {
    border-color: #aeb8b3;
}

.chat-composer textarea::placeholder {
    color: #9da5aa;
}

.chat-send-button {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border: none;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
}

.chat-send-button:disabled {
    opacity: .45;
    cursor: not-allowed;
}


/* =========================================
   RETENTION NOTE
========================================= */

.chat-retention-note {
    padding: 0 25px 12px;
    background: var(--white);
    color: #9da5aa;
    font-size: 8px;
    text-align: center;
    flex-shrink: 0;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .chat-conversations {
        width: 300px;
        min-width: 300px;
    }

    .chat-messages {
        padding: 22px 20px;
    }

    .chat-message-bubble {
        max-width: 75%;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .chat-page-content {
        padding-left: 0;
        padding-right: 0;
    }

    .chat-page-header {
        padding-left: 16px;
        padding-right: 16px;
    }

    .chat-page-header .btn {
        display: none;
    }

    .chat-container {
        position: relative;
        width: 100%;
        height: calc(100vh - 65px);
        min-height: 500px;
        border-radius: 0;
        margin: 0;
        overflow: hidden;
    }

    /* Conversation list is the default mobile screen */
    .chat-conversations {
        width: 100%;
        min-width: 100%;
        height: 100%;
        border-right: none;
        display: flex;
    }

    /* Chat window is hidden until a conversation is opened */
    .chat-window {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: none;
        z-index: 20;
    }

    /* JS adds this class when a conversation is opened */
    .chat-container.mobile-chat-open .chat-conversations {
        display: none;
    }

    .chat-container.mobile-chat-open .chat-window {
        display: flex;
    }

    .chat-conversations-header {
        padding: 18px 16px 14px;
    }

    .chat-conversations-header h2 {
        font-size: 21px;
    }

    .chat-search {
        margin: 0 14px 10px;
    }

    .chat-filters {
        padding: 0 14px 10px;
    }

    .chat-conversation-item {
        padding: 14px 16px;
    }

    .chat-window-header {
        min-height: 62px;
        padding: 10px 12px;
        gap: 8px;
    }

    .chat-contact {
        flex: 1;
        min-width: 0;
    }

    .chat-contact strong {
        max-width: 190px;
        font-size: 12px;
    }

    .chat-mobile-back {
        width: 34px;
        height: 34px;
        min-width: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        background: transparent;
        color: var(--navy);
        font-size: 22px;
        cursor: pointer;
        margin-right: 2px;
    }

    .chat-header-actions {
        display: none;
    }

    .chat-messages {
        padding: 18px 12px;
    }

    .chat-message {
        margin-bottom: 11px;
    }

    .chat-message-bubble {
        max-width: 84%;
        padding: 10px 12px 7px;
    }

    .chat-message-bubble p {
        font-size: 11px;
        line-height: 1.55;
    }

    .chat-composer {
        gap: 7px;
        padding: 10px 10px;
    }

    .chat-composer textarea {
        min-height: 40px;
        padding: 10px 13px;
        font-size: 11px;
    }

    .chat-send-button {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .chat-retention-note {
        padding: 0 10px 8px;
        font-size: 7px;
    }

}
/* =========================================
   APPLICANT — JOB OPPORTUNITIES
========================================= */

.opportunity-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0;
}

.opportunity-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.opportunity-search span {
    color: #8d969c;
    font-size: 18px;
}

.opportunity-search input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--navy);
    font-family: inherit;
    font-size: 11px;
}

.opportunity-search input::placeholder {
    color: #9da5aa;
}

.opportunity-filter {
    height: 44px;
    padding: 0 35px 0 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    color: var(--navy);
    font-family: inherit;
    font-size: 11px;
    outline: none;
    cursor: pointer;
}


/* OPPORTUNITY GRID */

.opportunity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}


/* OPPORTUNITY CARD */

.opportunity-card {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.opportunity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.opportunity-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 17px;
}

.opportunity-category {
    color: var(--green);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.opportunity-status {
    padding: 5px 9px;
    border-radius: 20px;
    background: #eaf7ef;
    color: var(--green);
    font-size: 9px;
    font-weight: 700;
}

.opportunity-card h2 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 19px;
    letter-spacing: -0.3px;
}

.opportunity-client {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 13px;
}

.opportunity-client span {
    color: #9ba3a8;
    font-size: 9px;
}

.opportunity-client strong {
    color: var(--navy);
    font-size: 11px;
}

.opportunity-card > p {
    min-height: 42px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

.opportunity-details {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.opportunity-details span {
    color: var(--muted);
    font-size: 10px;
}

.opportunity-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 17px;
}

.opportunity-date {
    color: #a0a7ab;
    font-size: 9px;
}

.opportunity-footer .btn {
    padding: 10px 15px;
    font-size: 9px;
}


/* MOBILE */

@media (max-width: 800px) {

    .opportunity-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .opportunity-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .opportunity-filter {
        width: 100%;
    }

    .opportunity-card {
        padding: 18px;
    }

    .opportunity-card > p {
        min-height: auto;
    }

    .opportunity-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .opportunity-footer .btn {
        width: 100%;
        text-align: center;
    }

}
/* =========================================
   APPLICANT — MY ASSIGNMENTS
========================================= */

.assignment-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0 35px;
}

.assignment-summary-card {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 9px;
}

.assignment-summary-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.assignment-summary-card strong {
    color: var(--navy);
    font-size: 28px;
    letter-spacing: -1px;
}


/* CURRENT ASSIGNMENT */

.dashboard-section {
    margin-bottom: 35px;
}

.dashboard-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 15px;
}

.dashboard-section-heading h2 {
    margin-top: 5px;
    color: var(--navy);
    font-size: 20px;
    letter-spacing: -0.4px;
}

.active-assignment-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.active-assignment-main {
    min-width: 0;
}

.assignment-category {
    margin-bottom: 8px;
    color: var(--green);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.active-assignment-main h2 {
    margin-bottom: 9px;
    color: var(--navy);
    font-size: 21px;
}

.active-assignment-main p {
    max-width: 620px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

.assignment-status span {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 20px;
    background: #eaf7ef;
    color: var(--green);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .5px;
}

.assignment-information {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.assignment-information div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.assignment-information span {
    color: #9ca4a8;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .8px;
}

.assignment-information strong {
    color: var(--navy);
    font-size: 11px;
}

.assignment-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.assignment-actions .btn {
    font-size: 9px;
    padding: 10px 15px;
}


/* ASSIGNMENT HISTORY */

.assignment-history {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.assignment-history-row {
    display: grid;
    grid-template-columns: 38px 1fr auto auto;
    align-items: center;
    gap: 15px;
    padding: 17px 20px;
    border-bottom: 1px solid var(--border);
}

.assignment-history-row:last-child {
    border-bottom: none;
}

.history-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf7ef;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
}

.history-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-main strong {
    color: var(--navy);
    font-size: 11px;
}

.history-main span {
    color: var(--muted);
    font-size: 9px;
}

.history-date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.history-date span {
    color: var(--green);
    font-size: 8px;
    font-weight: 800;
}

.history-date strong {
    color: var(--muted);
    font-size: 9px;
}

.history-view {
    color: var(--navy);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.history-view:hover {
    color: var(--green);
}


/* ASSIGNMENT NOTICE */

.dashboard-notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 18px;
    margin-bottom: 30px;
    background: #f4f7f5;
    border: 1px solid var(--border);
    border-radius: 9px;
}

.notice-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
}

.dashboard-notice strong {
    display: block;
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 11px;
}

.dashboard-notice p {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}


/* MOBILE */

@media (max-width: 800px) {

    .assignment-summary {
        grid-template-columns: repeat(3, 1fr);
    }

    .assignment-information {
        grid-template-columns: repeat(2, 1fr);
    }

    .assignment-history-row {
        grid-template-columns: 38px 1fr auto;
    }

    .history-date {
        display: none;
    }

}


@media (max-width: 600px) {

    .assignment-summary {
        gap: 8px;
        margin-top: 20px;
    }

    .assignment-summary-card {
        padding: 14px;
    }

    .assignment-summary-card strong {
        font-size: 22px;
    }

    .active-assignment-card {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .assignment-status {
        order: -1;
    }

    .assignment-information {
        grid-template-columns: 1fr 1fr;
        gap: 18px 12px;
    }

    .assignment-actions {
        flex-direction: column;
    }

    .assignment-actions .btn {
        width: 100%;
        text-align: center;
    }

    .assignment-history-row {
        grid-template-columns: 32px 1fr auto;
        gap: 10px;
        padding: 15px;
    }

    .history-icon {
        width: 29px;
        height: 29px;
    }

    .history-main strong {
        font-size: 10px;
    }

    .history-view {
        font-size: 9px;
    }

}
/* =========================================
   APPLICANT — DOCUMENTS
========================================= */

.document-status-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 28px 0 35px;
    padding: 20px;
    background: #f4f8f5;
    border: 1px solid #dce9df;
    border-radius: 10px;
}

.document-status-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
}

.document-status-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.document-status-content h2 {
    color: var(--navy);
    font-size: 16px;
}

.document-status-content p {
    max-width: 650px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}


/* DOCUMENT LIST */

.documents-list {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.document-row {
    display: grid;
    grid-template-columns: 42px 1fr auto auto;
    align-items: center;
    gap: 15px;
    padding: 17px 20px;
    border-bottom: 1px solid var(--border);
}

.document-row:last-child {
    border-bottom: none;
}

.document-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eef3f0;
    color: var(--navy);
    font-size: 10px;
    font-weight: 800;
}

.document-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.document-info strong {
    color: var(--navy);
    font-size: 11px;
}

.document-info span {
    color: var(--muted);
    font-size: 9px;
}

.document-status {
    padding: 6px 9px;
    border-radius: 20px;
    font-size: 8px;
    font-weight: 800;
}

.document-status.verified {
    background: #eaf7ef;
    color: var(--green);
}

.document-status.pending {
    background: #fff7e7;
    color: #a66b00;
}

.document-action {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    color: var(--navy);
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

.document-action:hover {
    border-color: var(--green);
    color: var(--green);
}


/* UPLOAD CARD */

.document-upload-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
    padding: 20px;
    background: var(--white);
    border: 1px dashed #cbd4cf;
    border-radius: 10px;
}

.document-upload-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eef5f0;
    color: var(--green);
    font-size: 18px;
    font-weight: 700;
}

.document-upload-card > div:nth-child(2) {
    flex: 1;
}

.document-upload-card h2 {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 12px;
}

.document-upload-card p {
    max-width: 650px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.6;
}

.document-upload-card .btn {
    flex-shrink: 0;
    padding: 10px 15px;
    font-size: 9px;
}


/* MOBILE */

@media (max-width: 700px) {

    .document-row {
        grid-template-columns: 40px 1fr auto;
    }

    .document-status {
        display: none;
    }

    .document-upload-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .document-upload-card > div:nth-child(2) {
        min-width: calc(100% - 60px);
    }

    .document-upload-card .btn {
        width: 100%;
        margin-top: 5px;
        text-align: center;
    }

}

@media (max-width: 480px) {

    .document-status-card {
        padding: 16px;
    }

    .document-row {
        grid-template-columns: 36px 1fr;
        gap: 10px;
        padding: 15px;
    }

    .document-icon {
        width: 34px;
        height: 34px;
    }

    .document-action {
        grid-column: 2;
        width: fit-content;
    }

}
/* =========================================
   APPLICANT — NOTIFICATIONS
========================================= */

.notification-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 28px 0 16px;
}

.notification-tabs {
    display: flex;
    align-items: center;
    gap: 5px;
}

.notification-tab {
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

.notification-tab:hover {
    color: var(--navy);
}

.notification-tab.active {
    background: var(--navy);
    color: var(--white);
}

.mark-read-button {
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: var(--green);
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}


/* NOTIFICATION LIST */

.notification-list {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.notification-item {
    position: relative;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 15px;
    padding: 19px 20px;
    border-bottom: 1px solid var(--border);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background: #fbfdfb;
}

.notification-item-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
}

.notification-item-icon.job {
    background: #eaf7ef;
    color: var(--green);
}

.notification-item-icon.assignment {
    background: #eef3f8;
    color: var(--navy);
}

.notification-item-icon.document {
    background: #f5f0e8;
    color: #8b6b35;
}

.notification-item-icon.general {
    background: #f0f2f3;
    color: var(--muted);
}

.notification-item-content {
    min-width: 0;
}

.notification-item-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 7px;
}

.notification-item-heading strong {
    color: var(--navy);
    font-size: 11px;
}

.notification-item-heading span {
    flex-shrink: 0;
    color: #a0a7ab;
    font-size: 8px;
}

.notification-item-content p {
    max-width: 700px;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}

.notification-item-content a {
    color: var(--green);
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
}

.notification-item-content a:hover {
    text-decoration: underline;
}

.notification-unread-dot {
    position: absolute;
    top: 23px;
    right: 18px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}


/* FOOTER NOTE */

.notification-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 15px;
    color: var(--muted);
    font-size: 9px;
}

.notification-footer-note span {
    color: var(--green);
    font-weight: 800;
}


/* MOBILE */

@media (max-width: 600px) {

    .notification-controls {
        align-items: flex-start;
        flex-direction: column;
    }

    .notification-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .notification-tab {
        flex-shrink: 0;
    }

    .mark-read-button {
        padding-left: 0;
    }

    .notification-item {
        grid-template-columns: 34px 1fr;
        gap: 11px;
        padding: 16px;
    }

    .notification-item-icon {
        width: 34px;
        height: 34px;
    }

    .notification-item-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .notification-item-heading strong {
        padding-right: 12px;
    }

    .notification-unread-dot {
        top: 18px;
        right: 13px;
    }

}
/* =========================================
   APPLICANT — MY PROFILE
========================================= */

.profile-header-card {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 28px 0 35px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.profile-photo {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
}

.profile-header-info {
    flex: 1;
}

.profile-header-info h2 {
    margin: 4px 0 5px;
    color: var(--navy);
    font-size: 20px;
}

.profile-header-info p {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 10px;
}

.profile-account-status {
    color: var(--green);
    font-size: 9px;
    font-weight: 700;
}

.profile-header-card .btn {
    flex-shrink: 0;
    padding: 10px 15px;
    font-size: 9px;
}


/* PERSONAL DETAILS */

.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.profile-detail {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-height: 80px;
    padding: 18px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.profile-detail:nth-child(3n) {
    border-right: none;
}

.profile-detail:nth-last-child(-n + 3) {
    border-bottom: none;
}

.profile-detail span,
.guarantor-card span {
    color: #9ba3a8;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .8px;
}

.profile-detail strong,
.guarantor-card strong {
    color: var(--navy);
    font-size: 11px;
}


/* SKILLS */

.profile-skills-card {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.profile-skills-card > p {
    margin-bottom: 15px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.profile-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-skills span {
    padding: 8px 11px;
    border-radius: 20px;
    background: #eef5f0;
    color: var(--green);
    font-size: 9px;
    font-weight: 700;
}


/* GUARANTOR */

.guarantor-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.guarantor-card div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}


/* MOBILE */

@media (max-width: 800px) {

    .profile-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-detail:nth-child(3n) {
        border-right: 1px solid var(--border);
    }

    .profile-detail:nth-child(2n) {
        border-right: none;
    }

    .profile-detail:nth-last-child(-n + 3) {
        border-bottom: 1px solid var(--border);
    }

    .profile-detail:nth-last-child(-n + 2) {
        border-bottom: none;
    }

}


@media (max-width: 600px) {

    .profile-header-card {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 18px;
    }

    .profile-header-info {
        min-width: calc(100% - 90px);
    }

    .profile-header-card .btn {
        width: 100%;
        margin-top: 5px;
        text-align: center;
    }

    .profile-details-grid {
        grid-template-columns: 1fr;
    }

    .profile-detail,
    .profile-detail:nth-child(3n),
    .profile-detail:nth-child(2n),
    .profile-detail:nth-last-child(-n + 3),
    .profile-detail:nth-last-child(-n + 2) {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .profile-detail:last-child {
        border-bottom: none;
    }

    .guarantor-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

}
/* =========================================
   APPLICANT — SETTINGS
========================================= */

.settings-section {
    margin-bottom: 32px;
}

.settings-section-heading {
    margin-bottom: 14px;
}

.settings-section-heading h2 {
    margin-top: 5px;
    color: var(--navy);
    font-size: 19px;
    letter-spacing: -0.3px;
}

.settings-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.setting-row,
.setting-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 19px 20px;
    border-bottom: 1px solid var(--border);
}

.setting-row:last-child,
.setting-action-row:last-child {
    border-bottom: none;
}

.setting-row strong,
.setting-action-row strong {
    display: block;
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 11px;
}

.setting-row p,
.setting-action-row p {
    max-width: 650px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.6;
}


/* TOGGLE */

.toggle {
    position: relative;
    width: 38px;
    height: 21px;
    flex-shrink: 0;
    cursor: pointer;
}

.toggle input {
    display: none;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: #d8dedb;
    transition: 0.2s ease;
}

.toggle-slider::before {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: var(--white);
    transition: 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.toggle input:checked + .toggle-slider {
    background: var(--green);
}

.toggle input:checked + .toggle-slider::before {
    transform: translateX(17px);
}


/* ACTION BUTTONS */

.settings-action-button {
    flex-shrink: 0;
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    color: var(--navy);
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

.settings-action-button:hover {
    border-color: var(--green);
    color: var(--green);
}

.settings-action-button.danger:hover {
    border-color: #c75a5a;
    color: #b33f3f;
}


/* ACCOUNT INFORMATION */

.setting-information {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.setting-information:last-child {
    border-bottom: none;
}

.setting-information span {
    color: #9ba3a8;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .8px;
}

.setting-information strong {
    color: var(--navy);
    font-size: 10px;
}

.setting-information .account-active {
    color: var(--green);
}


/* MOBILE */

@media (max-width: 600px) {

    .setting-row,
    .setting-action-row {
        align-items: flex-start;
        padding: 17px;
    }

    .setting-row {
        gap: 15px;
    }

    .setting-action-row {
        flex-direction: column;
    }

    .setting-action-button {
        width: 100%;
        text-align: center;
    }

    .setting-information {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding: 16px 17px;
    }

}
/* =========================================
   STAFF — ASSIGNMENTS
========================================= */

.assignment-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 28px 0;
}

.assignment-summary-card {
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.assignment-summary-card span {
    display: block;
    margin-bottom: 8px;
    color: #9ba3a8;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .8px;
}

.assignment-summary-card strong {
    color: var(--navy);
    font-size: 22px;
}


/* TOOLBAR */

.staff-assignment-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.staff-assignment-tabs {
    display: flex;
    align-items: center;
    gap: 5px;
}

.staff-assignment-tab {
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

.staff-assignment-tab:hover {
    color: var(--navy);
}

.staff-assignment-tab.active {
    background: var(--navy);
    color: var(--white);
}

.staff-assignment-search input {
    width: 210px;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    outline: none;
    background: var(--white);
    color: var(--navy);
    font-family: inherit;
    font-size: 9px;
}

.staff-assignment-search input:focus {
    border-color: var(--green);
}

.staff-assignment-search input::placeholder {
    color: #a4aaad;
}


/* ASSIGNMENT LIST */

.staff-assignment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.staff-assignment-card {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.staff-assignment-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.assignment-category {
    display: block;
    margin-bottom: 5px;
    color: var(--green);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .9px;
}

.staff-assignment-top h2 {
    color: var(--navy);
    font-size: 15px;
}

.staff-assignment-status {
    flex-shrink: 0;
    padding: 6px 9px;
    border-radius: 20px;
    font-size: 8px;
    font-weight: 700;
}

.staff-assignment-status.active {
    background: #eaf7ef;
    color: var(--green);
}

.staff-assignment-status.pending {
    background: #f6f1e7;
    color: #92713a;
}

.staff-assignment-status.completed {
    background: #eef1f3;
    color: var(--muted);
}


/* DETAILS */

.staff-assignment-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.staff-assignment-details div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 15px;
    border-right: 1px solid var(--border);
}

.staff-assignment-details div:last-child {
    border-right: none;
}

.staff-assignment-details span {
    color: #9ba3a8;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .7px;
}

.staff-assignment-details strong {
    color: var(--navy);
    font-size: 9px;
}


/* FOOTER */

.staff-assignment-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 14px;
}

.staff-assignment-footer span {
    color: var(--muted);
    font-size: 8px;
}

.staff-assignment-footer a {
    color: var(--green);
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
}

.staff-assignment-footer a:hover {
    text-decoration: underline;
}


/* MOBILE */

@media (max-width: 800px) {

    .assignment-summary {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .staff-assignment-search {
        width: 100%;
    }

    .staff-assignment-search input {
        width: 100%;
    }

    .staff-assignment-details {
        grid-template-columns: repeat(2, 1fr);
    }

    .staff-assignment-details div:nth-child(2) {
        border-right: none;
    }

    .staff-assignment-details div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

}


@media (max-width: 600px) {

    .assignment-summary {
        gap: 8px;
    }

    .assignment-summary-card {
        padding: 14px;
    }

    .assignment-summary-card strong {
        font-size: 18px;
    }

    .staff-assignment-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .staff-assignment-tab {
        flex-shrink: 0;
    }

    .staff-assignment-card {
        padding: 16px;
    }

    .staff-assignment-top {
        flex-direction: column;
        gap: 10px;
    }

    .staff-assignment-details {
        grid-template-columns: 1fr;
    }

    .staff-assignment-details div,
    .staff-assignment-details div:nth-child(2) {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .staff-assignment-details div:last-child {
        border-bottom: none;
    }

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

}
/* =========================================================
   STAFF APPLICANTS PAGE
   ========================================================= */


/* ---------------------------------------------------------
   SUMMARY
   --------------------------------------------------------- */

.applicant-summary {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;

    margin: 28px 0;

}


.applicant-summary-card {

    padding: 18px 20px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 12px;

}


.applicant-summary-card span {

    display: block;

    margin-bottom: 8px;

    color: #9ba3a8;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: .8px;

}


.applicant-summary-card strong {

    color: var(--navy);

    font-size: 22px;

}



/* ---------------------------------------------------------
   TOOLBAR
   --------------------------------------------------------- */

.staff-applicant-toolbar {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

}


.staff-applicant-search {

    flex: 1;

}


.staff-applicant-search input,

.staff-applicant-filter {

    width: 100%;

    padding: 11px 13px;

    border: 1px solid var(--border);

    border-radius: 8px;

    outline: none;

    background: var(--white);

    color: var(--navy);

    font-family: inherit;

    font-size: 9px;

}


.staff-applicant-search input:focus,

.staff-applicant-filter:focus {

    border-color: var(--green);

}


.staff-applicant-search input::placeholder {

    color: #a4aaad;

}


.staff-applicant-filter {

    width: 180px;

    cursor: pointer;

}



/* =========================================================
   STAFF APPLICANTS
   ========================================================= */


/* ---------------------------------------------------------
   APPLICANT LIST
   --------------------------------------------------------- */

.staff-applicant-list {

    display: flex;

    flex-direction: column;

    gap: 16px;

    width: 100%;

}


/* ---------------------------------------------------------
   APPLICANT CARD
   --------------------------------------------------------- */

.staff-applicant-card {

    display: grid;

    grid-template-columns:
        minmax(230px, 1fr)
        minmax(0, 1.8fr);

    gap: 0;

    width: 100%;

    box-sizing: border-box;

    padding: 0;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 14px;

    overflow: hidden;

    transition:
        box-shadow .2s ease,
        border-color .2s ease;

}


.staff-applicant-card:hover {

    border-color: #d4dadd;

    box-shadow:
        0 8px 24px rgba(15, 30, 45, .06);

}



/* ---------------------------------------------------------
   LEFT — APPLICANT
   --------------------------------------------------------- */

.staff-applicant-main {

    display: flex;

    align-items: center;

    gap: 15px;

    min-width: 0;

    padding: 24px;

}


.staff-applicant-avatar {

    width: 52px;

    height: 52px;

    min-width: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--navy);

    color: var(--white);

    font-size: 15px;

    font-weight: 700;

}


.staff-applicant-info {

    min-width: 0;

    flex: 1;

}


.staff-applicant-name-row {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 7px;

}


.staff-applicant-info h2 {

    margin: 0;

    color: var(--navy);

    font-size: 14px;

    font-weight: 700;

}


.staff-applicant-skill {

    margin: 0 0 5px;

    color: var(--muted);

    font-size: 10px;

    font-weight: 500;

}


.staff-applicant-email {

    display: block;

    max-width: 190px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #8d969a;

    font-size: 9px;

}



/* ---------------------------------------------------------
   STATUS
   --------------------------------------------------------- */

.staff-applicant-status {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 5px 9px;

    border-radius: 999px;

    font-size: 7px;

    font-weight: 700;

    line-height: 1;

    white-space: nowrap;

}


.staff-applicant-status.pending {

    background: #f3f5f6;

    color: #68747b;

}


.staff-applicant-status.active {

    background: #e8f7ee;

    color: var(--green);

}


.staff-applicant-status.completed {

    background: #edf3f7;

    color: #4d6678;

}


.staff-applicant-status.cancelled {

    background: #f8eeee;

    color: #a04f4f;

}



/* ---------------------------------------------------------
   RIGHT — ASSIGNMENT INFORMATION
   --------------------------------------------------------- */

.staff-applicant-details {

    display: grid;

    grid-template-columns:
        1.5fr
        1fr;

    grid-template-rows:
        1fr
        1fr;

    min-width: 0;

    border-left: 1px solid var(--border);

}


.staff-applicant-detail {

    min-width: 0;

    padding: 17px 20px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.staff-applicant-detail:nth-child(2) {

    border-left: 1px solid var(--border);

}


.staff-applicant-detail:nth-child(3) {

    border-top: 1px solid var(--border);

}


.staff-applicant-detail:nth-child(4) {

    border-top: 1px solid var(--border);

    border-left: 1px solid var(--border);

}


.staff-applicant-detail span {

    display: block;

    margin-bottom: 6px;

    color: #9ca5a9;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 1px;

}


.staff-applicant-detail strong {

    display: block;

    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: var(--navy);

    font-size: 10px;

    font-weight: 600;

}



/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.staff-applicant-footer {

    grid-column: 1 / -1;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 14px 20px;

    border-top: 1px solid var(--border);

    background: #fcfdfd;

}


.staff-applicant-contact {

    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 0;

}


.staff-applicant-contact-label {

    color: #9ca5a9;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 1px;

}


.staff-applicant-contact strong {

    color: var(--navy);

    font-size: 9px;

    font-weight: 600;

}


.staff-applicant-view-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    flex-shrink: 0;

    padding: 9px 14px;

    border-radius: 7px;

    background: var(--navy);

    color: var(--white);

    text-decoration: none;

    font-size: 8px;

    font-weight: 700;

    transition:
        transform .2s ease,
        opacity .2s ease;

}


.staff-applicant-view-button:hover {

    transform: translateY(-1px);

    opacity: .9;

}


.staff-applicant-view-button span {

    font-size: 12px;

    line-height: 1;

}


.staff-applicant-no-link {

    padding: 8px 11px;

    border: 1px solid var(--border);

    border-radius: 6px;

    color: #969ea2;

    font-size: 8px;

}



/* ---------------------------------------------------------
   EMPTY STATE
   --------------------------------------------------------- */

.staff-applicant-list .empty-state {

    padding: 50px 25px;

    text-align: center;

}


.staff-applicant-list .empty-state strong {

    display: block;

    margin-bottom: 8px;

    color: var(--navy);

    font-size: 12px;

}


.staff-applicant-list .empty-state p {

    margin: 0;

    color: var(--muted);

    font-size: 9px;

}



/* ---------------------------------------------------------
   ERROR STATE
   --------------------------------------------------------- */

.staff-applicant-list .error-state {

    padding: 30px;

    border: 1px solid #ead3d3;

    border-radius: 10px;

    background: #fff8f8;

}


.staff-applicant-list .error-state strong {

    display: block;

    margin-bottom: 8px;

    color: #9b4444;

    font-size: 11px;

}


.staff-applicant-list .error-state p {

    margin: 0;

    color: #876b6b;

    font-size: 9px;

}



/* =========================================================
   RESPONSIVE
   ========================================================= */


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .staff-applicant-card {

        grid-template-columns: 1fr;

    }


    .staff-applicant-main {

        padding: 20px;

    }


    .staff-applicant-details {

        border-left: none;

        border-top: 1px solid var(--border);

    }

}



/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .staff-applicant-card {

        border-radius: 12px;

    }


    .staff-applicant-main {

        padding: 18px;

    }


    .staff-applicant-avatar {

        width: 46px;

        height: 46px;

        min-width: 46px;

    }


    .staff-applicant-details {

        grid-template-columns: 1fr 1fr;

    }


    .staff-applicant-detail {

        padding: 15px;

    }


    .staff-applicant-detail:nth-child(2) {

        border-left: 1px solid var(--border);

    }


    .staff-applicant-footer {

        flex-direction: column;

        align-items: stretch;

        padding: 15px;

    }


    .staff-applicant-contact {

        justify-content: space-between;

    }


    .staff-applicant-view-button {

        width: 100%;

        box-sizing: border-box;

    }

}



/* ---------------------------------------------------------
   VERY SMALL PHONES
   --------------------------------------------------------- */

@media (max-width: 400px) {

    .staff-applicant-details {

        grid-template-columns: 1fr;

    }


    .staff-applicant-detail:nth-child(2),

    .staff-applicant-detail:nth-child(4) {

        border-left: none;

    }


    .staff-applicant-detail:nth-child(n + 2) {

        border-top: 1px solid var(--border);

    }


    .staff-applicant-contact {

        flex-direction: column;

        align-items: flex-start;

        gap: 5px;

    }

}


/* ---------------------------------------------------------
   ASSIGNMENT DETAILS
   --------------------------------------------------------- */

.staff-applicant-details {

    display: grid;

    grid-template-columns:
        minmax(150px, 1.5fr)
        minmax(100px, 1fr)
        minmax(100px, 1fr)
        minmax(100px, 1fr);

    align-items: center;

    gap: 18px;

    padding-left: 28px;

    border-left: 1px solid var(--border);

}


.staff-applicant-detail {

    min-width: 0;

}


.staff-applicant-detail span {

    display: block;

    margin-bottom: 7px;

    color: #a0a8ac;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 1px;

}


.staff-applicant-detail strong {

    display: block;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: var(--navy);

    font-size: 10px;

    font-weight: 600;

}



/* ---------------------------------------------------------
   FOOTER / ACTION
   --------------------------------------------------------- */

.staff-applicant-footer {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    justify-content: space-between;

    gap: 18px;

    min-width: 135px;

}


.staff-applicant-contact {

    text-align: right;

}


.staff-applicant-contact-label {

    display: block;

    margin-bottom: 6px;

    color: #a0a8ac;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 1px;

}


.staff-applicant-contact strong {

    display: block;

    color: var(--navy);

    font-size: 9px;

    font-weight: 600;

    white-space: nowrap;

}


.staff-applicant-view-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 10px 14px;

    border: 1px solid var(--navy);

    border-radius: 7px;

    background: var(--navy);

    color: var(--white);

    text-decoration: none;

    font-size: 8px;

    font-weight: 700;

    white-space: nowrap;

    transition:
        background .2s ease,
        transform .2s ease;

}


.staff-applicant-view-button span {

    font-size: 12px;

    line-height: 1;

}


.staff-applicant-view-button:hover {

    transform: translateY(-1px);

    background: #16253b;

}


.staff-applicant-no-link {

    display: inline-flex;

    padding: 10px 12px;

    border: 1px solid var(--border);

    border-radius: 7px;

    color: #969ea2;

    font-size: 8px;

}



/* ---------------------------------------------------------
   EMPTY / ERROR STATES
   --------------------------------------------------------- */

.staff-applicant-list .empty-state {

    padding: 50px 25px;

    text-align: center;

}


.staff-applicant-list .empty-state strong {

    display: block;

    margin-bottom: 8px;

    color: var(--navy);

    font-size: 12px;

}


.staff-applicant-list .empty-state p {

    margin: 0;

    color: var(--muted);

    font-size: 9px;

}


.staff-applicant-list .error-state {

    padding: 30px;

    border: 1px solid #ead3d3;

    border-radius: 10px;

    background: #fff8f8;

}


.staff-applicant-list .error-state strong {

    display: block;

    margin-bottom: 8px;

    color: #9b4444;

    font-size: 11px;

}


.staff-applicant-list .error-state p {

    margin: 0;

    color: #876b6b;

    font-size: 9px;

}



/* =========================================================
   RESPONSIVE
   ========================================================= */


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 1100px) {

    .staff-applicant-card {

        grid-template-columns:
            1fr;

        gap: 20px;

    }


    .staff-applicant-main {

        padding-right: 0;

    }


    .staff-applicant-details {

        grid-template-columns:
            repeat(4, 1fr);

        padding-left: 0;

        padding-top: 20px;

        border-left: none;

        border-top: 1px solid var(--border);

    }


    .staff-applicant-footer {

        flex-direction: row;

        align-items: center;

        justify-content: space-between;

        padding-top: 18px;

        border-top: 1px solid var(--border);

    }


    .staff-applicant-contact {

        text-align: left;

    }

}



/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .staff-applicant-card {

        padding: 18px;

        border-radius: 12px;

    }


    .staff-applicant-details {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 18px 14px;

    }


    .staff-applicant-footer {

        flex-direction: column;

        align-items: stretch;

        gap: 15px;

    }


    .staff-applicant-contact {

        text-align: left;

    }


    .staff-applicant-view-button {

        width: 100%;

        box-sizing: border-box;

    }


    .staff-applicant-email {

        max-width: 180px;

    }


    .staff-applicant-info h2 {

        font-size: 13px;

    }

}



/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 430px) {

    .staff-applicant-main {

        align-items: flex-start;

    }


    .staff-applicant-avatar {

        width: 46px;

        height: 46px;

        font-size: 14px;

    }


    .staff-applicant-details {

        grid-template-columns:
            1fr;

    }


    .staff-applicant-detail strong {

        white-space: normal;

    }

}

/* ASSIGNMENT */

.staff-applicant-assignment {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 18px;
    border-left: 1px solid var(--border);
}

.staff-applicant-assignment span {
    color: #9ba3a8;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .7px;
}

.staff-applicant-assignment strong {
    color: var(--navy);
    font-size: 9px;
}


/* ACTION */

.staff-applicant-action {
    text-align: right;
}

.staff-applicant-action a {
    color: var(--green);
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.staff-applicant-action a:hover {
    text-decoration: underline;
}


/* MOBILE */

@media (max-width: 900px) {

    .applicant-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .staff-applicant-card {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .staff-applicant-assignment {
        padding: 13px 0 0;
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .staff-applicant-action {
        padding-top: 12px;
        border-top: 1px solid var(--border);
        text-align: left;
    }

}


@media (max-width: 600px) {

    .applicant-summary {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .applicant-summary-card {
        padding: 14px;
    }

    .applicant-summary-card strong {
        font-size: 18px;
    }

    .staff-applicant-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .staff-applicant-filter {
        width: 100%;
    }

    .staff-applicant-card {
        padding: 16px;
    }

    .staff-applicant-main {
        align-items: flex-start;
    }

}
/* =========================================
   STAFF — CLIENTS & FOLLOW-UP
========================================= */

.client-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 28px 0;
}

.client-summary-card {
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.client-summary-card span {
    display: block;
    margin-bottom: 8px;
    color: #9ba3a8;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .8px;
}

.client-summary-card strong {
    color: var(--navy);
    font-size: 22px;
}


/* TOOLBAR */

.staff-client-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.staff-client-search {
    flex: 1;
}

.staff-client-search input,
.staff-client-filter {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    outline: none;
    background: var(--white);
    color: var(--navy);
    font-family: inherit;
    font-size: 9px;
}

.staff-client-search input:focus,
.staff-client-filter:focus {
    border-color: var(--green);
}

.staff-client-search input::placeholder {
    color: #a4aaad;
}

.staff-client-filter {
    width: 180px;
    cursor: pointer;
}


/* CLIENT LIST */

.staff-client-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.staff-client-card {
    display: grid;
    grid-template-columns: minmax(230px, 1.4fr) minmax(150px, .8fr) minmax(120px, .7fr) auto;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.staff-client-main {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.staff-client-avatar {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.staff-client-info {
    min-width: 0;
}

.staff-client-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 5px;
}

.staff-client-info h2 {
    color: var(--navy);
    font-size: 12px;
}

.staff-client-info p {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 9px;
}

.staff-client-info > span {
    color: #8d969a;
    font-size: 8px;
}


/* STATUS */

.staff-client-status {
    padding: 5px 8px;
    border-radius: 20px;
    font-size: 7px;
    font-weight: 700;
}

.staff-client-status.active {
    background: #eaf7ef;
    color: var(--green);
}

.staff-client-status.followup {
    background: #f6f1e7;
    color: #92713a;
}

.staff-client-status.waiting {
    background: #eef2f5;
    color: #59676f;
}


/* ASSIGNMENT / FOLLOW-UP */

.staff-client-assignment,
.staff-client-followup {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 18px;
    border-left: 1px solid var(--border);
}

.staff-client-assignment span,
.staff-client-followup span {
    color: #9ba3a8;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .7px;
}

.staff-client-assignment strong,
.staff-client-followup strong {
    color: var(--navy);
    font-size: 9px;
}

.staff-client-followup strong {
    color: var(--green);
}


/* ACTION */

.staff-client-action {
    text-align: right;
}

.staff-client-action a {
    color: var(--green);
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.staff-client-action a:hover {
    text-decoration: underline;
}


/* MOBILE */

@media (max-width: 1000px) {

    .client-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .staff-client-card {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .staff-client-assignment,
    .staff-client-followup {
        padding-left: 0;
        border-left: none;
    }

    .staff-client-action {
        grid-column: 1 / -1;
        padding-top: 12px;
        border-top: 1px solid var(--border);
        text-align: left;
    }

}


@media (max-width: 700px) {

    .staff-client-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .staff-client-filter {
        width: 100%;
    }

    .staff-client-card {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .staff-client-assignment,
    .staff-client-followup {
        padding-top: 12px;
        border-top: 1px solid var(--border);
    }

    .staff-client-action {
        grid-column: auto;
    }

}


@media (max-width: 600px) {

    .client-summary {
        gap: 8px;
    }

    .client-summary-card {
        padding: 14px;
    }

    .client-summary-card strong {
        font-size: 18px;
    }

}
/* =========================================
   STAFF — REPORTS
========================================= */

.report-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.primary-dashboard-button {
    flex-shrink: 0;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    background: var(--navy);
    color: var(--white);
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

.primary-dashboard-button:hover {
    background: var(--green);
}


/* SUMMARY */

.report-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 28px 0;
}

.report-summary-card {
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.report-summary-card span {
    display: block;
    margin-bottom: 8px;
    color: #9ba3a8;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .8px;
}

.report-summary-card strong {
    color: var(--navy);
    font-size: 22px;
}


/* TOOLBAR */

.staff-report-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.staff-report-tabs {
    display: flex;
    align-items: center;
    gap: 5px;
}

.staff-report-tab {
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

.staff-report-tab:hover {
    color: var(--navy);
}

.staff-report-tab.active {
    background: var(--navy);
    color: var(--white);
}

.staff-report-search input {
    width: 210px;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    outline: none;
    background: var(--white);
    color: var(--navy);
    font-family: inherit;
    font-size: 9px;
}

.staff-report-search input:focus {
    border-color: var(--green);
}

.staff-report-search input::placeholder {
    color: #a4aaad;
}


/* REPORT LIST */

.staff-report-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.staff-report-card {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.staff-report-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eef3f0;
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
}

.staff-report-content {
    min-width: 0;
}

.staff-report-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.report-category {
    display: block;
    margin-bottom: 5px;
    color: var(--green);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .8px;
}

.staff-report-title-row h2 {
    color: var(--navy);
    font-size: 12px;
}

.staff-report-content > p {
    max-width: 700px;
    margin: 7px 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.6;
}

.staff-report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #929b9f;
    font-size: 8px;
}


/* STATUS */

.report-status {
    flex-shrink: 0;
    padding: 5px 8px;
    border-radius: 20px;
    font-size: 7px;
    font-weight: 700;
}

.report-status.completed {
    background: #eaf7ef;
    color: var(--green);
}

.report-status.pending {
    background: #f6f1e7;
    color: #92713a;
}


/* VIEW */

.staff-report-view {
    color: var(--green);
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.staff-report-view:hover {
    text-decoration: underline;
}


/* MOBILE */

@media (max-width: 900px) {

    .report-summary {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .staff-report-search {
        width: 100%;
    }

    .staff-report-search input {
        width: 100%;
    }

}


@media (max-width: 650px) {

    .report-summary {
        gap: 8px;
    }

    .report-summary-card {
        padding: 14px;
    }

    .report-summary-card strong {
        font-size: 18px;
    }

    .staff-report-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .staff-report-tab {
        flex-shrink: 0;
    }

    .staff-report-card {
        grid-template-columns: 38px 1fr;
        padding: 16px;
    }

    .staff-report-title-row {
        flex-direction: column;
        gap: 8px;
    }

    .staff-report-view {
        grid-column: 2;
        padding-top: 10px;
        border-top: 1px solid var(--border);
    }

}
/* =========================================
   STAFF — MY PROFILE
========================================= */

.staff-profile-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    margin: 28px 0 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.staff-profile-avatar-large {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
}

.staff-profile-heading {
    flex: 1;
}

.profile-role {
    display: block;
    margin-bottom: 5px;
    color: var(--green);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .9px;
}

.staff-profile-heading h2 {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 18px;
}

.staff-profile-heading p {
    color: var(--muted);
    font-size: 9px;
}

.profile-account-status {
    padding: 6px 9px;
    border-radius: 20px;
    background: #eaf7ef;
    color: var(--green);
    font-size: 7px;
    font-weight: 700;
}


/* SECTIONS */

.staff-profile-section {
    padding: 22px;
    margin-bottom: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.staff-profile-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.staff-profile-section-heading h2 {
    margin-top: 5px;
    color: var(--navy);
    font-size: 14px;
}

.profile-edit-button,
.profile-secondary-button {
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 8px;
    font-weight: 700;
    cursor: pointer;
}

.profile-edit-button {
    border: none;
    background: var(--navy);
    color: var(--white);
}

.profile-edit-button:hover {
    background: var(--green);
}

.profile-secondary-button {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--navy);
}

.profile-secondary-button:hover {
    border-color: var(--green);
    color: var(--green);
}


/* INFORMATION GRID */

.staff-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.staff-profile-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 15px 18px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.staff-profile-field:nth-child(2n) {
    border-right: none;
}

.staff-profile-field:nth-last-child(-n + 2) {
    border-bottom: none;
}

.staff-profile-field span {
    color: #9ba3a8;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .7px;
}

.staff-profile-field strong {
    color: var(--navy);
    font-size: 9px;
}

.profile-active-text {
    color: var(--green) !important;
}


/* SECURITY */

.staff-profile-security {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.staff-profile-security strong {
    color: var(--navy);
    font-size: 10px;
}

.staff-profile-security p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 8px;
}


/* MOBILE */

@media (max-width: 700px) {

    .staff-profile-header {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 18px;
    }

    .staff-profile-heading {
        min-width: 150px;
    }

    .profile-account-status {
        margin-left: 86px;
    }

    .staff-profile-section {
        padding: 18px;
    }

    .staff-profile-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .staff-profile-grid {
        grid-template-columns: 1fr;
    }

    .staff-profile-field,
    .staff-profile-field:nth-child(2n) {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .staff-profile-field:last-child {
        border-bottom: none;
    }

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

}


@media (max-width: 450px) {

    .staff-profile-avatar-large {
        width: 56px;
        height: 56px;
        font-size: 18px;
    }

    .staff-profile-heading h2 {
        font-size: 15px;
    }

    .profile-account-status {
        margin-left: 74px;
    }

}
/* =========================================
   STAFF — SETTINGS
========================================= */

.staff-settings-section {
    margin-bottom: 14px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.staff-settings-heading {
    padding-bottom: 18px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border);
}

.staff-settings-heading h2 {
    margin-top: 5px;
    color: var(--navy);
    font-size: 14px;
}

.staff-settings-heading p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 8px;
}


/* SETTINGS OPTIONS */

.settings-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.settings-option:last-child {
    border-bottom: none;
}

.settings-option strong,
.settings-security-row strong,
.settings-account-row strong {
    display: block;
    color: var(--navy);
    font-size: 10px;
}

.settings-option p,
.settings-security-row p,
.settings-account-row p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 8px;
    line-height: 1.5;
}


/* TOGGLE */

.settings-toggle {
    position: relative;
    width: 38px;
    height: 21px;
    flex-shrink: 0;
    cursor: pointer;
}

.settings-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle span {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: #d8dde0;
    transition: .2s ease;
}

.settings-toggle span::before {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: var(--white);
    transition: .2s ease;
}

.settings-toggle input:checked + span {
    background: var(--green);
}

.settings-toggle input:checked + span::before {
    transform: translateX(17px);
}


/* SECURITY */

.settings-security-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 17px 0;
    border-bottom: 1px solid var(--border);
}

.settings-security-row:last-child {
    border-bottom: none;
}

.settings-action-button {
    flex-shrink: 0;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    color: var(--navy);
    font-family: inherit;
    font-size: 8px;
    font-weight: 700;
    cursor: pointer;
}

.settings-action-button:hover {
    border-color: var(--green);
    color: var(--green);
}


/* ACCOUNT */

.settings-account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-top: 5px;
}

.settings-logout-button {
    flex-shrink: 0;
    padding: 8px 13px;
    border-radius: 6px;
    background: #f8eeee;
    color: #9c4a4a;
    font-size: 8px;
    font-weight: 700;
    text-decoration: none;
}

.settings-logout-button:hover {
    background: #f2dddd;
}


/* MOBILE */

@media (max-width: 650px) {

    .staff-settings-section {
        padding: 18px;
    }

    .settings-option,
    .settings-security-row,
    .settings-account-row {
        align-items: flex-start;
        gap: 15px;
    }

    .settings-option p,
    .settings-security-row p,
    .settings-account-row p {
        max-width: 240px;
    }

}

@media (max-width: 480px) {

    .settings-option,
    .settings-security-row,
    .settings-account-row {
        flex-direction: column;
    }

    .settings-toggle {
        margin-top: 2px;
    }

    .settings-action-button,
    .settings-logout-button {
        align-self: flex-start;
    }

}
/* =========================================
   ADMIN — APPLICANTS
========================================= */

.admin-applicant-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
    padding: 15px 18px;
}

.admin-applicant-tabs {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
}

.admin-applicant-tab {
    flex-shrink: 0;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: 8px;
    font-weight: 700;
    cursor: pointer;
}

.admin-applicant-tab:hover {
    color: var(--navy);
}

.admin-applicant-tab.active {
    background: var(--navy);
    color: var(--white);
}


/* SEARCH + FILTER */

.admin-applicant-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-applicant-tools input,
.admin-applicant-tools select {
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    outline: none;
    background: var(--white);
    color: var(--navy);
    font-family: inherit;
    font-size: 8px;
}

.admin-applicant-tools input {
    width: 190px;
}

.admin-applicant-tools select {
    min-width: 125px;
}

.admin-applicant-tools input:focus,
.admin-applicant-tools select:focus {
    border-color: var(--green);
}

.admin-applicant-tools input::placeholder {
    color: #a4aaad;
}


/* RECORD COUNT */

.admin-record-count {
    color: var(--muted);
    font-size: 8px;
    font-weight: 700;
}


/* APPLICANT TABLE */

.admin-applicants-table {
    min-width: 850px;
}

.admin-table-person {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-table-person > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.admin-table-person strong {
    color: var(--navy);
    font-size: 9px;
}

.admin-table-person span {
    color: #9ba3a8;
    font-size: 7px;
}

.admin-table-action {
    color: var(--green);
    font-size: 8px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.admin-table-action:hover {
    text-decoration: underline;
}


/* PAGINATION */

.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 17px;
    margin-top: 17px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 8px;
}

.admin-pagination > div {
    display: flex;
    align-items: center;
    gap: 4px;
}

.admin-pagination button {
    min-width: 27px;
    height: 27px;
    padding: 0 7px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--white);
    color: var(--navy);
    font-family: inherit;
    font-size: 8px;
    cursor: pointer;
}

.admin-pagination button:hover:not(:disabled),
.admin-pagination button.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.admin-pagination button:disabled {
    opacity: .4;
    cursor: not-allowed;
}


/* ADMIN NOTICE */

.admin-applicants-table + .admin-pagination {
    margin-bottom: 0;
}


/* MOBILE */

@media (max-width: 900px) {

    .admin-applicant-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-applicant-tools {
        width: 100%;
    }

    .admin-applicant-tools input {
        flex: 1;
        width: auto;
    }

    .admin-applicant-tools select {
        flex: 0 0 150px;
    }

}


@media (max-width: 600px) {

    .admin-applicant-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-applicant-tools input,
    .admin-applicant-tools select {
        width: 100%;
        flex: none;
    }

    .admin-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-pagination > div {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 3px;
    }

}
/* =========================================
   ADMIN — APPLICANT REVIEW
========================================= */

.admin-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 700;
    text-decoration: none;
}

.admin-back-link:hover {
    color: var(--green);
}


/* APPLICANT PROFILE HEADER */

.admin-applicant-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.admin-applicant-large-avatar {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
}

.admin-applicant-profile-main {
    flex: 1;
}

.admin-applicant-profile-main h1 {
    margin: 4px 0 4px;
    color: var(--navy);
    font-size: 25px;
    line-height: 1.1;
}

.admin-applicant-profile-main p {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
}

.admin-profile-status {
    align-self: center;
}


/* REVIEW ACTIONS */

.admin-review-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 19px;
    margin-bottom: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
}

.admin-review-actions > div:first-child {
    flex: 1;
}

.admin-review-actions p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 8px;
    line-height: 1.6;
}

.admin-review-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.admin-reject-button,
.admin-approve-button {
    height: 34px;
    padding: 0 14px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 8px;
    font-weight: 700;
    cursor: pointer;
}

.admin-reject-button {
    border: 1px solid #d9b8b8;
    background: #fffafa;
    color: #a13d3d;
}

.admin-approve-button {
    border: 1px solid var(--green);
    background: var(--green);
    color: var(--white);
}

.admin-reject-button:hover {
    background: #fdf1f1;
}

.admin-approve-button:hover {
    opacity: .9;
}


/* DETAIL SECTIONS */

.admin-detail-section {
    margin-bottom: 14px;
}

.admin-edit-button {
    border: 0;
    background: transparent;
    color: var(--green);
    font-family: inherit;
    font-size: 8px;
    font-weight: 700;
    cursor: pointer;
}

.admin-edit-button:hover {
    text-decoration: underline;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 24px;
}

.admin-detail-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-detail-field span,
.guarantor-details span,
.admin-evaluation-summary span {
    color: #9aa2a7;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .05em;
}

.admin-detail-field strong {
    color: var(--navy);
    font-size: 9px;
    line-height: 1.5;
}

.admin-detail-wide {
    grid-column: 1 / -1;
}


/* GUARANTOR */

.guarantor-verification {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: #fafbfb;
}

.guarantor-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 7px;
    background: var(--navy);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.guarantor-details {
    display: flex;
    flex: 1;
    gap: 55px;
}

.guarantor-details > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.guarantor-details strong {
    color: var(--navy);
    font-size: 9px;
}

.guarantor-status {
    padding: 5px 8px;
    border-radius: 5px;
    background: #edf7f0;
    color: var(--green);
    font-size: 7px;
    font-weight: 800;
}


/* PROFILE PHOTO */

.admin-photo-review {
    display: flex;
    align-items: center;
    gap: 18px;
}

.admin-passport-placeholder {
    width: 86px;
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: #f4f5f5;
    color: var(--navy);
    font-size: 27px;
    font-weight: 800;
}

.admin-photo-review strong {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-size: 9px;
}

.admin-photo-review p {
    max-width: 450px;
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 8px;
    line-height: 1.6;
}

.admin-secondary-button,
.admin-document-action {
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--white);
    color: var(--navy);
    font-family: inherit;
    font-size: 7px;
    font-weight: 700;
    cursor: pointer;
}

.admin-secondary-button {
    height: 29px;
    padding: 0 10px;
}

.admin-secondary-button:hover,
.admin-document-action:hover {
    border-color: var(--green);
    color: var(--green);
}


/* DOCUMENTS */

.admin-document-count {
    color: var(--muted);
    font-size: 8px;
    font-weight: 700;
}

.admin-document-list {
    display: flex;
    flex-direction: column;
}

.admin-document-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.admin-document-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.admin-document-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 5px;
    background: #f2f4f4;
    color: var(--navy);
    font-size: 7px;
    font-weight: 800;
}

.admin-document-row > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.admin-document-row strong {
    color: var(--navy);
    font-size: 8px;
}

.admin-document-row span {
    color: #9aa2a7;
    font-size: 7px;
}

.admin-document-action {
    min-width: 48px;
    height: 27px;
}


/* EVALUATIONS */

.admin-evaluation-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.admin-evaluation-summary > div {
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fafbfb;
}

.admin-evaluation-summary strong {
    display: block;
    margin-top: 6px;
    color: var(--navy);
    font-size: 15px;
}

.evaluation-positive {
    color: var(--green) !important;
}

.admin-evaluation-note {
    padding: 13px 15px;
    border-left: 3px solid var(--green);
    background: #fafbfb;
}

.admin-evaluation-note span {
    color: #9aa2a7;
    font-size: 7px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-evaluation-note p {
    margin: 7px 0 0;
    color: var(--navy);
    font-size: 8px;
    line-height: 1.6;
}


/* ADMIN NOTES */

.admin-notes-box {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    box-sizing: border-box;
    resize: vertical;
    border: 1px solid var(--border);
    border-radius: 6px;
    outline: none;
    background: var(--white);
    color: var(--navy);
    font-family: inherit;
    font-size: 8px;
    line-height: 1.6;
}

.admin-notes-box:focus {
    border-color: var(--green);
}

.admin-notes-box::placeholder {
    color: #a5abad;
}

.admin-notes-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 10px;
}

.admin-notes-footer span {
    color: #9aa2a7;
    font-size: 7px;
}

.admin-save-note-button {
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--navy);
    border-radius: 5px;
    background: var(--navy);
    color: var(--white);
    font-family: inherit;
    font-size: 7px;
    font-weight: 700;
    cursor: pointer;
}

.admin-save-note-button:hover {
    opacity: .9;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .admin-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-review-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-review-buttons {
        width: 100%;
    }

    .admin-review-buttons button {
        flex: 1;
    }

    .guarantor-details {
        gap: 25px;
    }

}


@media (max-width: 600px) {

    .admin-applicant-profile-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .admin-profile-status {
        margin-left: 84px;
        margin-top: -8px;
    }

    .admin-applicant-profile-main h1 {
        font-size: 21px;
    }

    .admin-detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-detail-wide {
        grid-column: auto;
    }

    .guarantor-verification {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .guarantor-details {
        flex-direction: column;
        gap: 10px;
    }

    .guarantor-status {
        margin-left: 54px;
    }

    .admin-photo-review {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-evaluation-summary {
        grid-template-columns: 1fr;
    }

    .admin-notes-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-save-note-button {
        width: 100%;
    }

}
/* =========================================
   ADMIN — STAFF MANAGEMENT
========================================= */

.admin-staff-table {
    min-width: 850px;
}


/* WORKLOAD */

.admin-workload-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-workload-row {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.admin-workload-row > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-workload-row strong {
    color: var(--navy);
    font-size: 8px;
}

.admin-workload-row span {
    color: var(--muted);
    font-size: 7px;
}

.admin-workload-bar {
    width: 100%;
    height: 5px;
    overflow: hidden;
    border-radius: 10px;
    background: #edf0f0;
}

.admin-workload-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--green);
}


/* STAFF PERFORMANCE NOTE */

.admin-report-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 8px;
    line-height: 1.7;
}


/* RESPONSIVE */

@media (max-width: 600px) {

    .admin-workload-row > div:first-child {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

}
/* =========================================================
   ADMIN SETTINGS
   ========================================================= */

.settings-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    padding: 0;
    overflow: hidden;
}


/* SETTINGS MENU */
.settings-menu {
    padding: 24px 16px;
    border-right: 1px solid var(--border-color, #e8e8e8);
    background: #fafafa;
}

.settings-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    margin-bottom: 5px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #666;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-menu-item span {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.settings-menu-item:hover {
    background: #f0f0f0;
    color: #111;
}

.settings-menu-item.active {
    background: #111;
    color: #fff;
}


/* SETTINGS CONTENT */

.settings-content {
    min-width: 0;
    padding: 32px;
}

.settings-section {
    padding-bottom: 34px;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--border-color, #e8e8e8);
}

.settings-section:last-of-type {
    margin-bottom: 0;
}

.settings-section-header {
    margin-bottom: 24px;
}

.settings-section-header h2 {
    margin: 5px 0 7px;
    font-size: 20px;
    font-weight: 600;
    color: #111;
}

.settings-section-header p {
    margin: 0;
    max-width: 650px;
    color: #777;
    font-size: 13px;
    line-height: 1.7;
}


/* FORM GRID */

.settings-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}


/* TOGGLE SETTINGS */

.settings-toggle-list {
    display: flex;
    flex-direction: column;
}

.settings-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    border-top: 1px solid #eeeeee;
}

.settings-toggle-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.settings-toggle-row:last-child {
    padding-bottom: 0;
}

.settings-toggle-row > div:first-child {
    min-width: 0;
}

.settings-toggle-row strong {
    display: block;
    margin-bottom: 5px;
    color: #222;
    font-size: 14px;
    font-weight: 600;
}

.settings-toggle-row span:not(.settings-switch span) {
    display: block;
    max-width: 700px;
    color: #777;
    font-size: 12px;
    line-height: 1.6;
}


/* SWITCH */

.settings-switch {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 44px;
    height: 24px;
}

.settings-switch input {
    width: 0;
    height: 0;
    opacity: 0;
}

.settings-switch span {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: 30px;
    background: #d4d4d4;
    cursor: pointer;
    transition: background 0.2s ease;
}

.settings-switch span::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.settings-switch input:checked + span {
    background: #111;
}

.settings-switch input:checked + span::before {
    transform: translateX(20px);
}


/* SAVE BAR */

.settings-save-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 28px;
}

.settings-save-bar > div:first-child {
    min-width: 0;
}

.settings-save-bar strong {
    display: block;
    margin-bottom: 4px;
    color: #222;
    font-size: 14px;
}

.settings-save-bar span {
    display: block;
    color: #777;
    font-size: 12px;
    line-height: 1.5;
}

.settings-save-bar > div:last-child {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}


/* =========================================================
   ADMIN SETTINGS RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .settings-layout {
        grid-template-columns: 1fr;
    }

    .settings-menu {
        display: flex;
        gap: 6px;
        padding: 12px;
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid var(--border-color, #e8e8e8);
        background: #fafafa;
    }

    .settings-menu-item {
        width: auto;
        min-width: max-content;
        margin-bottom: 0;
    }

    .settings-content {
        padding: 24px;
    }

}


@media (max-width: 650px) {

    .settings-form-grid {
        grid-template-columns: 1fr;
    }

    .settings-toggle-row {
        align-items: flex-start;
    }

    .settings-save-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .settings-save-bar > div:last-child {
        width: 100%;
    }

    .settings-save-bar .btn {
        flex: 1;
    }

}


@media (max-width: 480px) {

    .settings-content {
        padding: 18px;
    }

    .settings-section {
        padding-bottom: 26px;
        margin-bottom: 26px;
    }

    .settings-toggle-row {
        gap: 15px;
    }

    .settings-toggle-row strong {
        font-size: 13px;
    }

    .settings-toggle-row span:not(.settings-switch span) {
        font-size: 11px;
    }

}

/* =========================================================
   QUANTAPLUS SHARED CHAT
   ========================================================= */

.chat-page-content {
    min-height: calc(100vh - 80px);
}

.chat-page-header {
    margin-bottom: 24px;
}


/* =========================================================
   CHAT CONTAINER
   ========================================================= */

.chat-container {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    min-height: 680px;
    padding: 0;
    overflow: hidden;
}


/* =========================================================
   CONVERSATIONS PANEL
   ========================================================= */

.chat-conversations {
    display: flex;
    flex-direction: column;
    width: 320px;
    min-width: 0;
    min-height: 0;
    border-right: 1px solid #e8e8e8;
    background: #fff;
    overflow: hidden;
}

.chat-conversations-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 20px 16px;
}

.chat-conversations-header h2 {
    margin: 4px 0 0;
    color: #111;
    font-size: 18px;
    font-weight: 600;
}

.chat-new-button {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-new-button:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}


/* =========================================================
   SEARCH
   ========================================================= */

.chat-search {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 16px 14px;
    padding: 10px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fafafa;
}

.chat-search span {
    flex: 0 0 auto;
    color: #888;
    font-size: 17px;
}

.chat-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #222;
    font-family: inherit;
    font-size: 12px;
}

.chat-search input::placeholder {
    color: #999;
}


/* =========================================================
   FILTERS
   ========================================================= */

.chat-filters {
    display: flex;
    gap: 6px;
    padding: 0 16px 14px;
    overflow-x: auto;
}

.chat-filter {
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    background: #fff;
    color: #777;
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
}

.chat-filter.active {
    border-color: #111;
    background: #111;
    color: #fff;
}


/* =========================================================
   CONVERSATION LIST
   ========================================================= */

.chat-conversation-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}


/*
   IMPORTANT:
   JavaScript creates .chat-conversation-item
*/

.chat-conversation-item {
    position: relative;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 0;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    color: inherit;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}

.chat-conversation-item:hover {
    background: #fafafa;
}

.chat-conversation-item.active {
    background: #f5f5f5;
    box-shadow: inset 3px 0 0 #111;
}


/* CONVERSATION AVATAR */

.chat-conversation-item .chat-avatar {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #ededed;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}


/* CONVERSATION INFORMATION */

.chat-conversation-info {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.chat-conversation-info strong {
    display: block;
    overflow: hidden;
    margin-bottom: 4px;
    color: #222;
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-conversation-info span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #888;
    font-size: 11px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* UNREAD DOT */

.chat-unread-dot {
    width: 8px !important;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #111;
}


/* =========================================================
   CHAT WINDOW
   ========================================================= */

.chat-window {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: #fafafa;
    overflow: hidden;
}


/* =========================================================
   CHAT HEADER
   ========================================================= */

.chat-window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 75px;
    padding: 14px 22px;
    border-bottom: 1px solid #e8e8e8;
    background: #fff;
    flex-shrink: 0;
}

.chat-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.chat-contact > div:last-child {
    min-width: 0;
}

.chat-contact .chat-avatar.large {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
}

.chat-contact strong {
    display: block;
    overflow: hidden;
    margin-bottom: 3px;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-contact span {
    display: block;
    color: #777;
    font-size: 11px;
}

.chat-header-actions {
    display: flex;
    gap: 5px;
    flex: 0 0 auto;
}

.chat-header-actions button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #777;
    font-size: 17px;
    cursor: pointer;
}

.chat-header-actions button:hover {
    background: #f1f1f1;
    color: #111;
}


/* =========================================================
   MESSAGES
   ========================================================= */

.chat-messages {
    flex: 1;
    min-width: 0;
    min-height: 0;
    padding: 25px;
    overflow-y: auto;
    overflow-x: hidden;
}


/* EMPTY STATE */

.chat-messages .empty-state {
    padding: 20px;
}


/* MESSAGE */

.chat-message {
    display: flex;
    width: 100%;
    max-width: 75%;
    min-width: 0;
    margin-bottom: 18px;
}

.chat-message.received {
    justify-content: flex-start;
}

.chat-message.sent {
    margin-left: auto;
    justify-content: flex-end;
    text-align: right;
}


/*
   IMPORTANT:
   JavaScript creates .chat-message-bubble
*/

.chat-message-bubble {
    max-width: 100%;
    min-width: 0;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.chat-message-bubble p {
    margin: 0;
}

.chat-message.received .chat-message-bubble {
    border: 1px solid #e4e4e4;
    border-top-left-radius: 3px;
    background: #fff;
    color: #333;
}

.chat-message.sent .chat-message-bubble {
    border-top-right-radius: 3px;
    background: #111;
    color: #fff;
}

.chat-message-bubble small {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 9px;
}


/* =========================================================
   COMPOSER
   ========================================================= */

.chat-composer {
    display: flex;
    align-items: flex-end;
    gap: 9px;
    padding: 14px 18px 10px;
    border-top: 1px solid #e8e8e8;
    background: #fff;
    flex-shrink: 0;
}

.chat-composer textarea {
    min-width: 0;
    min-height: 38px;
    max-height: 120px;
    flex: 1;
    resize: none;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    background: #fafafa;
    color: #222;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.5;
}

.chat-composer textarea:focus {
    border-color: #aaa;
    background: #fff;
}

.chat-composer textarea::placeholder {
    color: #999;
}

.chat-send-button {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid #111;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
}

.chat-send-button:hover {
    background: #333;
}

.chat-send-button:disabled {
    opacity: .5;
    cursor: not-allowed;
}


/* =========================================================
   RETENTION NOTE
   ========================================================= */

.chat-retention-note {
    padding: 0 18px 13px;
    background: #fff;
    color: #aaa;
    font-size: 9px;
    text-align: center;
    flex-shrink: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .chat-container {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .chat-conversations {
        width: 280px;
    }

    .chat-message {
        max-width: 82%;
    }

}


@media (max-width: 760px) {

    .chat-container {
        grid-template-columns: 1fr;
        min-height: 720px;
    }

    .chat-conversations {
        display: none;
    }

    .chat-window {
        width: 100%;
    }

    .chat-message {
        max-width: 88%;
    }

}


@media (max-width: 520px) {

    .chat-page-header {
        align-items: flex-start;
    }

    .chat-window-header {
        padding: 12px 14px;
    }

    .chat-messages {
        padding: 18px 14px;
    }

    .chat-message {
        max-width: 94%;
    }

    .chat-message-bubble {
        font-size: 11px;
    }

    .chat-composer {
        padding: 10px;
    }

    .chat-retention-note {
        padding-bottom: 10px;
    }

}
/* =========================
   SERVICE SEARCH
========================= */

.service-search {
    padding: 0 0 80px;
}

.service-search-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 42px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.service-search-heading {
    text-align: center;
    margin-bottom: 25px;
}

.service-search-heading h2 {
    margin: 10px 0 0;
}


.service-search-input {
    position: relative;
    display: flex;
    align-items: center;
}

.service-search-input .search-icon {
    position: absolute;
    left: 18px;
    font-size: 24px;
    line-height: 1;
    pointer-events: none;
}

.service-search-input input {
    width: 100%;
    height: 58px;
    padding: 0 50px;
    border: 1px solid #dcdcdc;
    background: #fafafa;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease,
                background 0.2s ease;
}

.service-search-input input:focus {
    border-color: #111111;
    background: #ffffff;
}

.search-clear {
    position: absolute;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    display: none;
}


.service-search-results {
    display: none;
    margin-top: 18px;
    border-top: 1px solid #eeeeee;
}

.service-search-result {
    display: block;
    padding: 18px 4px;
    border-bottom: 1px solid #eeeeee;
    text-decoration: none;
    color: inherit;
}

.service-search-result:hover {
    background: #fafafa;
}

.service-search-result strong {
    display: block;
    margin-bottom: 5px;
}

.service-search-result span {
    display: block;
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
}


@media (max-width: 700px) {

    .service-search {
        padding-bottom: 55px;
    }

    .service-search-box {
        padding: 28px 20px;
    }

    .service-search-heading h2 {
        font-size: 26px;
    }

}
/* ==========================================
   PASSWORD SHOW / HIDE
========================================== */

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

.password-input-wrapper input {
    width: 100%;
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);

    border: none;
    background: transparent;

    cursor: pointer;

    font-size: 18px;

    padding: 5px;

    line-height: 1;
}
.upload-button {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* ==========================================
   STAFF CREATION MODAL
========================================== */

.staff-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(0, 0, 0, 0.55);
}

.staff-modal.active {
    display: flex;
}


.staff-modal-content {
    width: 100%;
    max-width: 620px;

    max-height: 90vh;
    overflow-y: auto;

    background: #ffffff;

    border: 1px solid #e5e5e5;

    padding: 36px;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.18);
}


.staff-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 32px;
}


.staff-modal-header h2 {
    margin: 8px 0 8px;
}


.staff-modal-header p {
    margin: 0;

    color: #666;

    line-height: 1.6;
}


.staff-modal-close {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    border: 1px solid #ddd;

    background: #fff;

    font-size: 24px;

    line-height: 1;

    cursor: pointer;

    transition: 0.2s ease;
}


.staff-modal-close:hover {
    background: #f5f5f5;
}


.staff-modal-content .form-group {
    margin-bottom: 20px;
}


.staff-modal-content .form-group label {
    display: block;

    margin-bottom: 8px;

    font-weight: 600;
}


.staff-modal-content input {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid #d9d9d9;

    background: #fff;

    font-family: inherit;

    font-size: 15px;

    outline: none;

    transition: border-color 0.2s ease;
}


.staff-modal-content input:focus {
    border-color: #111;
}


.staff-modal-actions {
    display: flex;

    justify-content: flex-end;

    gap: 12px;

    margin-top: 30px;

    padding-top: 24px;

    border-top: 1px solid #eee;
}


.staff-modal-actions button {
    cursor: pointer;
}


@media (max-width: 600px) {

    .staff-modal {
        padding: 14px;
    }


    .staff-modal-content {
        padding: 24px;

        max-height: 94vh;
    }


    .staff-modal-header {
        gap: 12px;
    }


    .staff-modal-content .form-row {
        display: block;
    }


    .staff-modal-actions {
        flex-direction: column-reverse;
    }


    .staff-modal-actions button {
        width: 100%;
    }

}
/* ==========================================
   ADMIN APPLICANT RECORDS
========================================== */

.admin-applicant-list {
    width: 100%;
}

.admin-applicant-record {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray-200);
    transition: background 0.15s ease;
}

.admin-applicant-record:last-child {
    border-bottom: none;
}

.admin-applicant-record:hover {
    background: var(--gray-100);
}


/* AVATAR */

.admin-applicant-record-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;

    border-radius: 50%;

    background: #e7f7ed;
    color: var(--green);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;
    font-weight: 800;

    overflow: hidden;
}

.admin-applicant-record-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
    display: block;
}


/* APPLICANT INFORMATION */

.admin-applicant-record-info {
    min-width: 0;
}

.admin-applicant-record-info strong {
    display: block;

    font-size: 14px;
    font-weight: 700;

    color: var(--black);
}

.admin-applicant-record-info span {
    display: block;

    margin-top: 4px;

    font-size: 12px;
    color: var(--gray-700);

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-applicant-record-info .applicant-skill {
    color: var(--gray-500);
}


/* STAFF STATUS */

.admin-applicant-record-status {
    min-width: 120px;
}

.admin-applicant-record-status span {
    display: inline-flex;

    align-items: center;

    padding: 6px 10px;

    border-radius: 999px;

    background: var(--gray-100);
    border: 1px solid var(--gray-200);

    color: var(--gray-700);

    font-size: 11px;
    font-weight: 700;
}


/* ACTIONS */

.admin-applicant-record-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* BUTTONS */

.admin-applicant-record-actions .small-button {
    min-height: 34px;

    padding: 8px 13px;

    border-radius: 7px;

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;
}

.admin-applicant-record-actions .small-button.dark {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.admin-applicant-record-actions .small-button.dark:hover {
    background: var(--gray-900);
}


/* ==========================================
   ADMIN APPLICANT TOOLBAR
========================================== */

.admin-applicant-toolbar {
    padding: 0;
}

.admin-applicant-tools {
    padding: 16px;
}

.admin-applicant-tools input,
.admin-applicant-tools select {
    height: 42px;

    border: 1px solid var(--gray-300);

    border-radius: 8px;

    background: var(--white);

    color: var(--black);

    outline: none;

    padding: 0 13px;

    font-size: 13px;
}

.admin-applicant-tools input:focus,
.admin-applicant-tools select:focus {
    border-color: var(--black);
}


/* ==========================================
   RECORD COUNT
========================================== */

.admin-record-count {
    font-size: 12px;
    color: var(--gray-500);
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 800px) {

    .admin-applicant-record {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 14px;
    }

    .admin-applicant-record-status {
        grid-column: 2;
        min-width: 0;
    }

    .admin-applicant-record-actions {
        grid-column: 2;
    }

}


@media (max-width: 500px) {

    .admin-applicant-record {
        padding: 16px;
    }

    .admin-applicant-record-avatar {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .admin-applicant-record-info strong {
        font-size: 13px;
    }

    .admin-applicant-record-info span {
        font-size: 11px;
    }

    .admin-applicant-record-actions {
        width: 100%;
    }

    .admin-applicant-record-actions .small-button {
        flex: 1;
    }

}
/* ==========================================
   ADMIN APPLICANT VIEW
========================================== */

.admin-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-bottom: 24px;

    color: var(--gray-700);

    font-size: 13px;
    font-weight: 600;
}

.admin-back-link:hover {
    color: var(--black);
}


/* ==========================================
   APPLICANT HEADER
========================================== */

.admin-applicant-profile-header {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 30px;
}

.admin-applicant-large-avatar {
    width: 76px;
    height: 76px;
    min-width: 76px;

    border-radius: 50%;

    background: #e7f7ed;
    color: var(--green);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;
    font-weight: 800;

    overflow: hidden;
}

.admin-applicant-large-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
    display: block;
}

.admin-applicant-profile-main {
    min-width: 0;
}

.admin-applicant-profile-main h1 {
    margin-top: 5px;

    font-size: 30px;
    line-height: 1.2;
}

.admin-applicant-profile-main p {
    margin-top: 7px;

    color: var(--gray-700);

    font-size: 13px;
}


/* ==========================================
   DETAIL SECTIONS
========================================== */

.admin-detail-section {
    margin-bottom: 18px;
}

.admin-detail-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 0;

    padding: 4px 20px 20px;
}

.admin-detail-field {
    padding: 17px 0;

    border-bottom: 1px solid var(--gray-200);
}

.admin-detail-field:nth-last-child(-n + 2) {
    border-bottom: none;
}

.admin-detail-field span {
    display: block;

    margin-bottom: 6px;

    color: var(--gray-500);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .1em;
}

.admin-detail-field strong {
    display: block;

    color: var(--black);

    font-size: 14px;
    font-weight: 600;

    line-height: 1.5;

    word-break: break-word;
}

.admin-detail-wide {
    grid-column: 1 / -1;
}


/* ==========================================
   PROFILE PHOTO
========================================== */

.admin-photo-review {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 20px;
}

.admin-passport-placeholder {
    width: 110px;
    height: 110px;
    min-width: 110px;

    border-radius: 10px;

    background: var(--gray-100);
    border: 1px solid var(--gray-200);

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--gray-500);

    font-size: 28px;
    font-weight: 700;

    overflow: hidden;
}

.admin-passport-placeholder img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.admin-photo-review strong {
    display: block;

    font-size: 14px;
}

.admin-photo-review p {
    margin-top: 6px;

    color: var(--gray-700);

    font-size: 13px;
    line-height: 1.5;
}

.admin-secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 12px;

    padding: 8px 12px;

    border: 1px solid var(--gray-300);
    border-radius: 7px;

    background: var(--white);

    color: var(--black);

    font-size: 12px;
    font-weight: 600;
}

.admin-secondary-button:hover {
    background: var(--gray-100);
}


/* ==========================================
   DOCUMENTS
========================================== */

.admin-document-list {
    width: 100%;
}

.admin-document-row {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 15px 20px;

    border-bottom: 1px solid var(--gray-200);
}

.admin-document-row:last-child {
    border-bottom: none;
}

.admin-document-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--gray-300);
    border-radius: 7px;

    font-size: 9px;
    font-weight: 800;
}

.admin-document-info {
    flex: 1;
    min-width: 0;
}

.admin-document-info strong {
    display: block;

    font-size: 13px;
}

.admin-document-info span {
    display: block;

    margin-top: 3px;

    color: var(--gray-500);

    font-size: 11px;
}

.admin-document-action {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 7px 12px;

    border: 1px solid var(--gray-300);
    border-radius: 6px;

    font-size: 11px;
    font-weight: 600;
}

.admin-document-action:hover {
    background: var(--gray-100);
}

.admin-document-empty {
    padding: 30px 20px;

    text-align: center;
}

.admin-document-empty strong {
    display: block;

    font-size: 13px;
}

.admin-document-empty span {
    display: block;

    margin-top: 5px;

    color: var(--gray-500);

    font-size: 12px;
}

.admin-document-count {
    color: var(--gray-500);

    font-size: 12px;
}


/* ==========================================
   ADMIN AVATAR IMAGE
========================================== */

.dashboard-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
    display: block;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

    .admin-applicant-profile-header {
        align-items: flex-start;
    }

    .admin-applicant-large-avatar {
        width: 60px;
        height: 60px;
        min-width: 60px;

        font-size: 20px;
    }

    .admin-applicant-profile-main h1 {
        font-size: 24px;
    }

    .admin-detail-grid {
        grid-template-columns: 1fr;

        padding-left: 16px;
        padding-right: 16px;
    }

    .admin-detail-field:nth-last-child(-n + 2) {
        border-bottom: 1px solid var(--gray-200);
    }

    .admin-detail-field:last-child {
        border-bottom: none;
    }

    .admin-detail-wide {
        grid-column: auto;
    }

    .admin-photo-review {
        align-items: flex-start;
        padding: 16px;
    }

    .admin-passport-placeholder {
        width: 90px;
        height: 90px;
        min-width: 90px;
    }

    .admin-document-row {
        padding: 14px 16px;
    }

}


@media (max-width: 450px) {

    .admin-applicant-profile-header {
        gap: 12px;
    }

    .admin-applicant-large-avatar {
        width: 52px;
        height: 52px;
        min-width: 52px;
    }

    .admin-applicant-profile-main h1 {
        font-size: 20px;
    }

    .admin-photo-review {
        flex-direction: column;
    }

}
/* ==========================================
   REGISTRATION PAYMENT
========================================== */

.payment-card {
    grid-column: 1 / -1;
    margin-bottom: 24px;
}

.payment-content {
    display: grid;
    grid-template-columns: 220px 220px 1fr;
    gap: 24px;
    align-items: start;
}

.payment-amount-box,
.payment-countdown-box {
    padding: 24px;
    border: 1px solid var(--border-color, #e5e5e5);
    border-radius: 14px;
    background: var(--card-background, #fafafa);
}

.payment-amount-box span,
.payment-countdown-box span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    color: #777;
}

.payment-amount-box strong {
    display: block;
    font-size: 30px;
    line-height: 1;
}

.payment-countdown-box strong {
    display: block;
    font-size: 26px;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.payment-countdown-box small {
    display: block;
    color: #777;
    line-height: 1.5;
}

.payment-instructions {
    padding: 24px;
    border: 1px solid var(--border-color, #e5e5e5);
    border-radius: 14px;
}

.payment-instructions h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.payment-instructions > p {
    margin: 0 0 20px;
    color: #666;
    line-height: 1.6;
}

.bank-details {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.bank-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 13px 15px;
    background: #f7f7f7;
    border-radius: 10px;
}

.bank-detail span {
    color: #777;
    font-size: 13px;
}

.bank-detail strong {
    text-align: right;
    font-size: 14px;
}

.payment-whatsapp {
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #f7f7f7;
}

.payment-whatsapp strong {
    display: block;
    margin-bottom: 6px;
}

.payment-whatsapp p {
    margin: 0 0 8px;
    color: #666;
    line-height: 1.5;
}

.whatsapp-number {
    font-size: 18px;
}

.payment-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f1f1f1;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.payment-message {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}


/* ==========================================
   PAYMENT STATES
========================================== */

.payment-card.payment-pending .payment-status-badge {
    background: #f1f1f1;
}

.payment-card.payment-successful .payment-status-badge {
    background: #e8e8e8;
}

.payment-card.payment-failed .payment-status-badge {
    background: #f3f3f3;
}


/* ==========================================
   RESPONSIVE PAYMENT
========================================== */

@media (max-width: 1000px) {

    .payment-content {
        grid-template-columns: 1fr 1fr;
    }

    .payment-instructions {
        grid-column: 1 / -1;
    }

}


@media (max-width: 650px) {

    .payment-content {
        grid-template-columns: 1fr;
    }

    .payment-instructions {
        grid-column: auto;
    }

    .bank-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .bank-detail strong {
        text-align: left;
    }

    .payment-amount-box,
    .payment-countdown-box,
    .payment-instructions {
        padding: 18px;
    }

}
/* ==========================================
   PAYMENT ACTIONS
========================================== */

.payment-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-actions .admin-table-action {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.payment-approve-button {
    font-weight: 600;
}

.payment-reject-button {
    font-weight: 600;
}

.payment-actions .admin-table-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}