﻿:root {
    --green: #00897B;
    --green-dk: #00695C;
    --green-lt: #E0F2F1;
    --green-mid: #4DB6AC;
    --ink: #0F1923;
    --body: #374151;
    --muted: #6B7280;
    --faint: #9CA3AF;
    --bg: #F4F6F8;
    --surface: #FFFFFF;
    --border: #E5E7EB;
    --border-2: #D1D5DB;
    --amber: #F59E0B;
    --amber-lt: #FFFBEB;
    --blue-lt: #EFF6FF;
    --red: #DC2626;
    --red-lt: #FEF2F2;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--body);
    font-size: 14px;
    line-height: 1.5;
    min-height: 100vh;
}

.nav {
    background: var(--ink);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-mid);
}

.nav-company {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin-left: 4px;
    font-weight: 400;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: 0.15s;
}

    .nav-link:hover {
        color: #fff;
    }

    .nav-link.active {
        color: var(--green-mid);
        font-weight: 700;
    }

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 24px 48px;
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.page-sub {
    font-size: 13px;
    color: var(--muted);
}

.btn-post {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 9px;
    background: var(--green);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none !important;
    transition: 0.15s;
}

    .btn-post:hover {
        background: var(--green-dk);
    }

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.si-green {
    background: var(--green-lt);
}

.si-blue {
    background: var(--blue-lt);
}

.si-amber {
    background: var(--amber-lt);
}

.stat-num {
    font-family: 'DM Mono', monospace;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 3px;
}

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

.filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: 8px;
    padding: 8px 12px;
    flex: 1;
    max-width: 300px;
}

    .search-box input {
        border: none;
        background: transparent;
        outline: none;
        font-family: inherit;
        font-size: 13px;
        color: var(--body);
        width: 100%;
        padding: 0;
    }

        .search-box input::placeholder {
            color: var(--faint);
        }

.filter-select {
    width: 140px;
    padding: 8px 28px 8px 10px;
    border: 1px solid var(--border-2);
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    color: var(--body);
    background: var(--surface);
    cursor: pointer;
    outline: none;
}

.results-label {
    font-size: 12px;
    color: var(--muted);
    margin-left: auto;
}

.table-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

.table-wrap {
    overflow-x: auto;
}

.table-card table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.table-card thead th {
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    text-align: left;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.table-card tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.table-card tbody tr:last-child td {
    border-bottom: none;
}

.table-card tbody tr:hover td {
    background: #FAFBFC;
}

.job-title-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.3;
}

.job-title-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--muted);
    flex-wrap: wrap;
}

.posted-date {
    white-space: nowrap;
    color: var(--muted);
}

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

.b-active {
    background: var(--green-lt);
    color: var(--green-dk);
}

.b-expired {
    background: var(--bg);
    color: var(--muted);
    border: 1px solid var(--border);
}

.b-draft {
    background: var(--amber-lt);
    color: #92400E;
}

    .b-active::before,
    .b-expired::before,
    .b-draft::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        flex-shrink: 0;
    }

.b-active::before {
    background: var(--green);
}

.b-expired::before {
    background: var(--faint);
}

.b-draft::before {
    background: var(--amber);
}

.app-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    text-decoration: none !important;
    padding: 4px 10px;
    border-radius: 7px;
    transition: 0.15s;
}

    .app-count:hover {
        background: var(--green-lt);
        color: var(--green);
    }

.app-count-num {
    font-family: 'DM Mono', monospace;
    font-size: 14px;
}

.app-count-zero {
    color: var(--faint);
    font-weight: 400;
    cursor: default;
}

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

.btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 7px;
    background: var(--green);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: 0.15s;
}

    .btn-view:hover {
        background: var(--green-dk);
    }

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    background: var(--bg);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    text-decoration: none !important;
    font-size: 14px;
    transition: 0.15s;
    cursor: pointer;
}

    .btn-icon:hover {
        border-color: var(--border-2);
        color: var(--body);
    }

    .btn-icon.danger {
        color: var(--red);
        background: var(--red-lt);
        border: 1px solid #FCA5A5;
    }

        .btn-icon.danger:hover {
            color: #fff;
            background: var(--red);
            border-color: var(--red);
        }

.empty-cell {
    text-align: center;
    padding: 30px;
    color: var(--muted);
}

.empty-state {
    text-align: center;
    padding: 64px 24px;
}

.empty-icon {
    font-size: 40px;
    margin-bottom: 14px;
}

.empty-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.empty-sub {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--muted);
}

.page-btns {
    display: flex;
    gap: 4px;
}

.page-btn {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--body);
    cursor: pointer;
    transition: 0.15s;
}

    .page-btn:hover {
        border-color: var(--green);
        color: var(--green);
    }

    .page-btn.active {
        background: var(--green);
        color: #fff;
        border-color: var(--green);
    }

    .page-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,25,35,0.7);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

    .modal-overlay.show {
        display: flex;
    }

.modal {
    background: var(--surface);
    border-radius: 14px;
    width: 100%;
    max-width: 420px;
    padding: 28px;
    box-shadow: 0 24px 80px rgba(0,0,0,.25);
}

.modal-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.modal-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.modal-sub {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-btns {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-cancel {
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    background: var(--bg);
    border: 1px solid var(--border);
    cursor: pointer;
}

.btn-confirm-expire {
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--red);
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .stats {
        grid-template-columns: 1fr;
    }

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

    .results-label {
        display: none;
    }

    .nav {
        padding: 0 16px;
    }

    .nav-link {
        display: none;
    }

    .page {
        padding: 22px 14px 40px;
    }
}

/* ================= LOGIN PAGE CSS ================= */

.employer-auth-body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    background: #F4F6F8;
    color: #374151;
    min-height: 100vh;
}

.employer-auth-page {
    min-height: 100vh;
    display: flex;
}

.left-panel {
    width: 420px;
    background: #0F1923;
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}

.left-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 48px;
}

.logo-dot {
    width: 9px;
    height: 9px;
    background: #4DB6AC;
    border-radius: 50%;
}

.left-heading {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 14px;
}

.left-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 40px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature {
    display: flex;
    gap: 12px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(77,182,172,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.feature-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}

.left-footer {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
}

    .left-footer a {
        color: rgba(255,255,255,0.55);
        text-decoration: none;
    }

.right-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.login-box {
    width: 100%;
    max-width: 400px;
}

.login-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #0F1923;
    margin-bottom: 6px;
}

.login-sub {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 28px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .auth-field label {
        font-size: 12px;
        font-weight: 700;
        color: #374151;
        display: flex;
        justify-content: space-between;
    }

    .auth-field input {
        width: 100%;
        padding: 11px 14px;
        border: 1px solid #D1D5DB;
        border-radius: 9px;
        font-size: 14px;
        outline: none;
    }

        .auth-field input:focus {
            border-color: #00897B;
            box-shadow: 0 0 0 3px rgba(0,137,123,0.1);
        }

.input-wrap {
    position: relative;
}

    .input-wrap input {
        padding-right: 65px;
    }

.eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #00897B;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.forgot-link {
    font-size: 11px;
    color: #00897B;
    text-decoration: none;
    font-weight: 700;
}

.btn-login {
    width: 100%;
    padding: 12px;
    border-radius: 9px;
    background: #00897B;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 4px;
}

    .btn-login:hover {
        background: #00695C;
    }

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: #9CA3AF;
    margin: 18px 0;
}

    .divider::before,
    .divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #E5E7EB;
    }

.help-row {
    text-align: center;
    font-size: 12px;
    color: #6B7280;
    line-height: 1.7;
}

    .help-row a,
    .bioksha-link {
        color: #00897B;
        text-decoration: none;
        font-weight: 700;
    }

.bioksha-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
}

.alert-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
    padding: 11px 14px;
    border-radius: 9px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
}

.field-validation-error {
    color: #DC2626;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .left-panel {
        display: none;
    }

    .right-panel {
        padding: 32px 20px;
    }
}

/* ================= DASHBOARD PAGE CSS ================= */

.dashboard-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 24px 56px;
}

.dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.welcome-greeting {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}

.welcome-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
}

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

.dashboard-stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-change {
    font-size: 10px;
    font-weight: 700;
    margin-top: 3px;
}

.sc-up {
    color: var(--green);
}

.sc-new {
    color: var(--blue);
}

.si-purple {
    background: var(--purple-lt);
}

.hire-counter {
    background: linear-gradient(135deg, var(--ink) 0%, #0d3d30 100%);
    border-radius: 14px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hire-counter-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hire-trophy {
    font-size: 32px;
}

.hire-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--green-mid);
    margin-bottom: 4px;
}

.hire-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.hire-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

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

.hire-note {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    max-width: 200px;
    line-height: 1.5;
    text-align: right;
}

.btn-mark-hire {
    padding: 9px 18px;
    border-radius: 8px;
    background: var(--green);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

.dashboard-two-col {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
}

.dashboard-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
}

.dashboard-card-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.dashboard-card-link {
    font-size: 12px;
    color: var(--green);
    text-decoration: none;
    font-weight: 700;
}

.dashboard-empty-box {
    text-align: center;
    padding: 42px 24px;
}

/* Recent Applications table */

.app-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

    .app-table thead th {
        padding: 10px 16px;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: var(--muted);
        text-align: left;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        white-space: nowrap;
    }

    .app-table tbody td {
        padding: 12px 16px;
        border-bottom: 1px solid var(--border);
        vertical-align: middle;
    }

    .app-table tbody tr:last-child td {
        border-bottom: none;
    }

    .app-table tbody tr:hover td {
        background: #FAFBFC;
    }

.candidate-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.candidate-email {
    font-size: 11px;
    color: var(--muted);
    margin-top: 1px;
}

.job-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--body);
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 3px 8px;
    border-radius: 5px;
    white-space: nowrap;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.source-dot {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
}

.sd-bioksha {
    background: var(--green-lt);
    color: var(--green-dk);
}

.sd-widget {
    background: var(--blue-lt);
    color: var(--blue);
}

.app-date {
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
}

.stage-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.sp-applied {
    background: #F9FAFB;
    color: var(--muted);
    border: 1px solid var(--border);
}

.sp-screened {
    background: var(--blue-lt);
    color: var(--blue);
}

.sp-shortlisted {
    background: var(--purple-lt);
    color: var(--purple);
}

.sp-interviewed {
    background: var(--amber-lt);
    color: #92400E;
}

.sp-offered {
    background: var(--orange-lt);
    color: var(--orange);
}

.sp-hired {
    background: var(--green-lt);
    color: var(--green-dk);
}

.sp-rejected {
    background: var(--red-lt);
    color: var(--red);
}

.btn-view-sm {
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
    padding: 5px 11px;
    border-radius: 6px;
    border: 1px solid var(--green-mid);
    background: var(--green-lt);
    white-space: nowrap;
}

    .btn-view-sm:hover {
        background: var(--green-mid);
        color: #fff;
    }

/* Most Applied Jobs */

.job-row {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 14px;
}

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

.job-rank {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: var(--faint);
    font-weight: 600;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.job-row-body {
    flex: 1;
    min-width: 0;
}

.job-row-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.job-row-meta {
    font-size: 11px;
    color: var(--muted);
}

.job-app-count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.job-count-num {
    font-family: 'DM Mono', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
}

.job-count-label {
    font-size: 10px;
    color: var(--faint);
    margin-top: 2px;
}

.job-bar {
    width: 80px;
    height: 4px;
    background: var(--bg);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 6px;
}

.job-bar-fill {
    height: 100%;
    background: var(--green-mid);
}

/* Quick Actions */

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 20px;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 9px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--body);
    background: var(--bg);
    cursor: pointer;
}

    .quick-action:hover {
        border-color: var(--green-mid);
        background: var(--green-lt);
        color: var(--green-dk);
    }

.qa-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qa-text {
    flex: 1;
}

.qa-label {
    font-size: 13px;
    font-weight: 700;
}

.qa-sub {
    font-size: 11px;
    color: var(--muted);
}

.qa-arrow {
    color: var(--faint);
    font-size: 18px;
}

/* Widget */

.widget-card {
    padding: 18px 20px;
}

.widget-hint {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.6;
}

.widget-url {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--green-dk);
    background: var(--green-lt);
    border: 1px solid var(--green-mid);
    border-radius: 7px;
    padding: 8px 12px;
    margin: 10px 0;
    word-break: break-all;
}

.widget-embed-box {
    background: var(--ink);
    border-radius: 8px;
    padding: 12px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: #a6e3a1;
    line-height: 1.7;
    position: relative;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 10px 0;
}

.copy-btn-sm {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(255,255,255,0.12);
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

/* Plan */

.plan-card {
    padding: 18px 20px;
}

.plan-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.pf-check {
    color: var(--green);
    font-weight: 800;
}

.plan-since {
    font-size: 11px;
    color: var(--muted);
    margin-top: 12px;
}

.dashboard-error {
    background: #FEF2F2;
    color: #DC2626;
    padding: 12px 16px;
    border-radius: 9px;
    margin-bottom: 20px;
    font-weight: 700;
    border: 1px solid #FECACA;
}

@media(max-width:900px) {
    .dashboard-two-col {
        grid-template-columns: 1fr;
    }

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

@media(max-width:480px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .hire-action {
        flex-direction: column;
        align-items: flex-start;
    }

    .hire-note {
        text-align: left;
    }
}


/* ================= VIEW APPLICATION PAGE CSS ================= */

.applications-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 48px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 16px;
}

    .back-link:hover {
        color: var(--body);
    }

.job-header {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.job-header-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 5px;
}

.job-header-meta {
    font-size: 12px;
    color: var(--muted);
}

.job-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge,
.tb-both {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.b-active,
.tb-both {
    background: var(--green-lt);
    color: var(--green-dk);
}

.btn-view-job {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    color: var(--body);
    background: var(--bg);
    border: 1px solid var(--border);
    text-decoration: none;
    white-space: nowrap;
}

    .btn-view-job svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
        color: var(--body);
    }

    .btn-view-job:hover {
        border-color: var(--border-2);
        background: var(--surface);
    }

.application-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.app-stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.si-red {
    background: var(--red-lt);
}

.row-num {
    color: var(--faint);
    font-family: 'DM Mono', monospace;
    font-size: 12px;
}

.source-badge {
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.src-bioksha {
    background: var(--green-lt);
    color: var(--green-dk);
}

.src-widget {
    background: var(--blue-lt);
    color: var(--blue);
}

.candidate-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2px;
}

.candidate-email {
    font-size: 12px;
    color: var(--muted);
    cursor: pointer;
}

    .candidate-email:hover {
        color: var(--green);
    }

.phone-cell {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    cursor: pointer;
}

.phone-dash {
    color: var(--faint);
}

.applied-date {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

.btn-resume,
.btn-profile {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

.btn-resume {
    color: var(--body);
    background: var(--bg);
    border: 1px solid var(--border);
}

    .btn-resume.no-resume {
        color: var(--faint);
        cursor: default;
    }

.btn-profile {
    color: var(--green);
    background: var(--green-lt);
    border: 1px solid var(--green-mid);
}

    .btn-profile:hover {
        background: var(--green-mid);
        color: #fff;
    }

.stage-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stage-select {
    padding: 6px 28px 6px 10px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    min-width: 135px;
    outline: none;
    cursor: pointer;
    border: 1.5px solid var(--border);
}

.stage-applied {
    background: #F9FAFB;
    color: var(--muted);
}

.stage-screened {
    background: var(--blue-lt);
    color: var(--blue);
}

.stage-shortlisted {
    background: var(--purple-lt);
    color: var(--purple);
}

.stage-interviewed {
    background: var(--amber-lt);
    color: #92400E;
}

.stage-offered {
    background: #FFF7ED;
    color: #EA580C;
}

.stage-hired {
    background: var(--green-lt);
    color: var(--green-dk);
}

.stage-rejected {
    background: var(--red-lt);
    color: var(--red);
}

.saved-indicator {
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
    opacity: 0;
    transition: opacity .3s;
    white-space: nowrap;
}

    .saved-indicator.show {
        opacity: 1;
    }

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--muted);
}

.page-btns {
    display: flex;
    gap: 4px;
}

.page-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--body);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

    .page-btn.active {
        background: var(--green);
        color: #fff;
        border-color: var(--green);
    }

    .page-btn:disabled {
        opacity: .4;
        cursor: not-allowed;
    }

.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--ink);
    color: #fff;
    padding: 11px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    transform: translateY(60px);
    opacity: 0;
    transition: all .3s;
    z-index: 9999;
}

    .toast.show {
        transform: translateY(0);
        opacity: 1;
    }

@media(max-width:900px) {
    .application-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media(max-width:600px) {
    .application-stats {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box,
    .filter-select {
        width: 100%;
        max-width: 100%;
    }

    .pagination {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
.btn-search {
    background: var(--green);
    color: #fff;
    border: 1px solid var(--green);
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

    .btn-search:hover {
        background: var(--green-dk);
        border-color: var(--green-dk);
    }

/* ================= ALL APPLICATIONS PAGE CSS ================= */

.all-applications-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px 56px;
}

    .all-applications-page .stats {
        grid-template-columns: repeat(7, 1fr);
    }

    .all-applications-page .stat-card {
        cursor: pointer;
    }

    .all-applications-page .btn-export {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 700;
        color: var(--body);
        background: var(--surface);
        border: 1px solid var(--border);
        cursor: pointer;
    }

    .all-applications-page .job-tag-title {
        font-size: 12px;
        font-weight: 700;
        color: var(--body);
        margin-bottom: 2px;
    }

    .all-applications-page .job-tag-loc {
        font-size: 11px;
        color: var(--muted);
    }

    .all-applications-page .stage-applied {
        background: #F9FAFB;
        color: var(--muted);
    }

    .all-applications-page .stage-screened {
        background: var(--blue-lt);
        color: var(--blue);
    }

    .all-applications-page .stage-shortlisted {
        background: var(--purple-lt);
        color: var(--purple);
    }

    .all-applications-page .stage-interviewed {
        background: var(--amber-lt);
        color: #92400E;
    }

    .all-applications-page .stage-offered {
        background: #FFF7ED;
        color: #EA580C;
    }

    .all-applications-page .stage-hired {
        background: var(--green-lt);
        color: var(--green-dk);
    }

    .all-applications-page .stage-rejected {
        background: var(--red-lt);
        color: var(--red);
    }

@media(max-width:700px) {
    .all-applications-page {
        padding: 22px 14px 40px;
    }

        .all-applications-page .filter-bar {
            flex-direction: column;
            align-items: stretch;
        }

        .all-applications-page .search-box,
        .all-applications-page .filter-select,
        .all-applications-page .btn-search {
            width: 100%;
            max-width: 100%;
        }
}

:root {
    --blue: #1D4ED8;
    --purple: #7C3AED;
    --purple-lt: #F5F3FF;
    --orange: #EA580C;
    --orange-lt: #FFF7ED;
}

/* ================= ALL APPLICATIONS PAGE FIX ================= */

.all-applications-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px 56px;
}

    .all-applications-page .all-app-stats {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }

        .all-applications-page .all-app-stats .stat-card {
            display: block;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 12px 14px;
        }

        .all-applications-page .all-app-stats .active-filter {
            border-color: var(--green);
            background: var(--green-lt);
        }

    .all-applications-page .filter-select {
        min-width: 150px;
        width: auto;
    }

    .all-applications-page .table-card table {
        table-layout: auto;
    }

    .all-applications-page .stage-select {
        display: inline-flex;
        align-items: center;
        min-width: 115px;
        padding: 5px 10px;
        border-radius: 6px;
    }

@media(max-width:1000px) {
    .all-applications-page .all-app-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(max-width:700px) {
    .all-applications-page .all-app-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.all-applications-page .stat-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}

.all-applications-page .dot-applied {
    background: var(--faint);
}

.all-applications-page .dot-screened {
    background: var(--blue);
}

.all-applications-page .dot-shortlisted {
    background: var(--purple);
}

.all-applications-page .dot-interviewed {
    background: var(--amber);
}

.all-applications-page .dot-offered {
    background: var(--orange);
}

.all-applications-page .dot-hired {
    background: var(--green);
}
.all-applications-page .btn-resume,
.all-applications-page .btn-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

    .all-applications-page .btn-resume svg,
    .all-applications-page .btn-profile svg,
    .all-applications-page .btn-export svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
    }

/* ================= SETTINGS PAGE CSS ================= */

.settings-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 32px 24px 56px;
}

    .settings-page .page-header {
        margin-bottom: 28px;
    }

    .settings-page .settings-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 14px;
        margin-bottom: 16px;
        overflow: hidden;
    }

    .settings-page .settings-card-header {
        padding: 16px 22px;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .settings-page .settings-card-icon {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        flex-shrink: 0;
    }

    .settings-page .settings-icon-green {
        background: var(--green-lt);
    }

    .settings-page .settings-icon-amber {
        background: var(--amber-lt);
    }

    .settings-page .settings-card-title {
        font-size: 13px;
        font-weight: 700;
        color: var(--ink);
    }

    .settings-page .settings-card-body {
        padding: 22px;
    }

    .settings-page .company-profile {
        display: flex;
        align-items: center;
        gap: 18px;
        margin-bottom: 22px;
        padding-bottom: 22px;
        border-bottom: 1px solid var(--border);
    }

    .settings-page .company-logo {
        width: 64px;
        height: 64px;
        border-radius: 10px;
        border: 1px solid var(--border);
        object-fit: cover;
        flex-shrink: 0;
        background: var(--bg);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
    }

        .settings-page .company-logo img {
            width: 100%;
            height: 100%;
            border-radius: 9px;
            object-fit: cover;
        }

    .settings-page .company-name {
        font-size: 16px;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 3px;
    }

    .settings-page .company-industry {
        font-size: 12px;
        color: var(--muted);
    }

    .settings-page .company-plan {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 11px;
        font-weight: 700;
        background: var(--green-lt);
        color: var(--green-dk);
        padding: 2px 9px;
        border-radius: 20px;
        margin-top: 5px;
    }

    .settings-page .info-rows {
        display: flex;
        flex-direction: column;
    }

    .settings-page .info-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

        .settings-page .info-row:last-child {
            border-bottom: none;
        }

    .settings-page .info-label {
        font-size: 12px;
        font-weight: 600;
        color: var(--muted);
        min-width: 120px;
        flex-shrink: 0;
    }

    .settings-page .info-value {
        font-size: 13px;
        color: var(--ink);
        text-align: right;
        word-break: break-all;
    }

        .settings-page .info-value.read-only {
            color: var(--body);
        }

    .settings-page .read-only-badge {
        font-size: 10px;
        font-weight: 600;
        color: var(--faint);
        background: var(--bg);
        border: 1px solid var(--border);
        padding: 1px 7px;
        border-radius: 20px;
        margin-left: 8px;
        vertical-align: middle;
    }

    .settings-page .settings-form {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .settings-page .settings-field {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

        .settings-page .settings-field label {
            font-size: 12px;
            font-weight: 600;
            color: var(--body);
        }

        .settings-page .settings-field input {
            padding: 9px 12px;
            border: 1px solid var(--border-2);
            border-radius: 8px;
            font-family: inherit;
            font-size: 13px;
            color: var(--ink);
            background: var(--surface);
            transition: border-color .15s, box-shadow .15s;
            width: 100%;
        }

            .settings-page .settings-field input:focus {
                outline: none;
                border-color: var(--green);
                box-shadow: 0 0 0 3px rgba(0,137,123,0.1);
            }

            .settings-page .settings-field input.error {
                border-color: var(--red);
            }

    .settings-page .field-error {
        font-size: 11px;
        color: var(--red);
        display: none;
    }

        .settings-page .field-error.show {
            display: block;
        }

    .settings-page .pw-strength {
        margin-top: 4px;
    }

    .settings-page .pw-bar {
        height: 3px;
        border-radius: 2px;
        background: var(--border);
        overflow: hidden;
        margin-bottom: 4px;
    }

    .settings-page .pw-fill {
        height: 100%;
        border-radius: 2px;
        transition: width .3s, background .3s;
        width: 0%;
        background: var(--red);
    }

    .settings-page .pw-label {
        font-size: 11px;
        color: var(--muted);
    }

    .settings-page .btn-save {
        padding: 10px 24px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 700;
        color: #fff;
        background: var(--green);
        border: none;
        cursor: pointer;
        font-family: inherit;
        transition: all .15s;
        align-self: flex-start;
        display: flex;
        align-items: center;
        gap: 7px;
    }

        .settings-page .btn-save:hover {
            background: var(--green-dk);
        }

        .settings-page .btn-save:disabled {
            background: var(--faint);
            cursor: not-allowed;
        }

    .settings-page .success-msg {
        display: none;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        border-radius: 8px;
        background: var(--green-lt);
        border: 1px solid var(--green-mid);
        font-size: 13px;
        font-weight: 600;
        color: var(--green-dk);
        margin-top: 4px;
    }

        .settings-page .success-msg.show {
            display: flex;
        }

    .settings-page .logout-section {
        padding: 16px 22px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .settings-page .logout-text {
        font-size: 13px;
        color: var(--muted);
    }

    .settings-page .btn-logout {
        padding: 8px 18px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        color: var(--red);
        background: var(--red-lt);
        border: 1px solid #FECACA;
        cursor: pointer;
        font-family: inherit;
        transition: all .15s;
    }

        .settings-page .btn-logout:hover {
            background: #FEE2E2;
        }

    .settings-page .help-note {
        text-align: center;
        font-size: 12px;
        color: var(--muted);
        padding: 8px;
    }

        .settings-page .help-note a {
            color: var(--green);
            text-decoration: none;
        }

            .settings-page .help-note a:hover {
                text-decoration: underline;
            }

@media(max-width:600px) {
    .settings-page {
        padding: 24px 14px 40px;
    }

        .settings-page .company-profile {
            flex-direction: column;
            align-items: flex-start;
        }

        .settings-page .info-row {
            flex-direction: column;
            align-items: flex-start;
            gap: 4px;
        }

        .settings-page .info-value {
            text-align: left;
        }

        .settings-page .logout-section {
            flex-direction: column;
            align-items: flex-start;
        }
}

.input-error {
    border-color: #ff1f3d !important;
}

.input-weak {
    border-color: #ff1f3d !important;
}

.input-fair {
    border-color: #ff9800 !important;
}

.input-good,
.input-strong {
    border-color: #00897b !important;
}

.pw-fill.weak {
    background: #ff1f3d;
}

.pw-fill.fair {
    background: #ff9800;
}

.pw-fill.good,
.pw-fill.strong {
    background: #00897b;
}

.pw-label.weak {
    color: #ff1f3d;
}

.pw-label.fair {
    color: #ff9800;
}

.pw-label.good,
.pw-label.strong {
    color: #00897b;
}
.btn-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* ================= JOB POST PAGE CSS ================= */

.job-post-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 28px 24px 56px;
}

    .job-post-page .readonly-input {
        background: var(--bg);
        cursor: not-allowed;
        color: var(--muted);
        font-weight: 700;
    }

    .job-post-page .form-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 14px;
        margin-bottom: 16px;
        overflow: visible;
    }

    .job-post-page .form-card-header {
        padding: 16px 22px;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .job-post-page .form-card-sub {
        font-size: 11px;
        color: var(--muted);
        margin-top: 2px;
    }

    .job-post-page .form-card-icon {
        width: 30px;
        height: 30px;
        border-radius: 7px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        flex-shrink: 0;
    }

    .job-post-page .fci-green {
        background: var(--green-lt);
    }

    .job-post-page .fci-blue {
        background: var(--blue-lt);
    }

    .job-post-page .fci-amber {
        background: var(--amber-lt);
    }

    .job-post-page .fci-purple {
        background: var(--purple-lt);
    }

    .job-post-page .fci-gray {
        background: #F3F4F6;
    }

    .job-post-page .form-card-title {
        font-size: 13px;
        font-weight: 700;
        color: var(--ink);
    }

    .job-post-page .form-card-body {
        padding: 20px 22px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .job-post-page .field {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

        .job-post-page .field label {
            font-size: 12px;
            font-weight: 600;
            color: var(--body);
            display: flex;
            align-items: center;
            gap: 5px;
        }

    .job-post-page .req {
        color: var(--red);
        font-size: 11px;
    }

    .job-post-page .field-small-hint {
        font-size: 10px;
        font-weight: 400;
        color: var(--faint);
    }

    .job-post-page .field-hint {
        font-size: 11px;
        color: var(--faint);
    }

    .job-post-page .char-count {
        font-size: 11px;
        color: var(--faint);
        text-align: right;
    }

    .job-post-page .field-error {
        font-size: 11px;
        color: var(--red);
        display: none;
    }

        .job-post-page .field-error.show {
            display: block;
        }

    .job-post-page .field input,
    .job-post-page .field select,
    .job-post-page .field textarea {
        padding: 9px 12px;
        border: 1px solid var(--border-2);
        border-radius: 8px;
        font-family: inherit;
        font-size: 13px;
        color: var(--ink);
        background: var(--surface);
        transition: border-color .15s, box-shadow .15s;
        width: 100%;
    }

        .job-post-page .field input:focus,
        .job-post-page .field select:focus,
        .job-post-page .field textarea:focus {
            outline: none;
            border-color: var(--green);
            box-shadow: 0 0 0 3px rgba(0,137,123,0.1);
        }

        .job-post-page .field input.error,
        .job-post-page .field select.error,
        .job-post-page .field textarea.error {
            border-color: var(--red);
        }

    .job-post-page .field textarea {
        resize: vertical;
        min-height: 72px;
    }

    .job-post-page .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .job-post-page .loc-wrap {
        position: relative;
    }

    .job-post-page .loc-suggestions {
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        right: 0;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        z-index: 999;
        max-height: 200px;
        overflow-y: auto;
        display: none;
    }

        .job-post-page .loc-suggestions.open {
            display: block;
        }

    .job-post-page .loc-item {
        padding: 9px 12px;
        font-size: 13px;
        cursor: pointer;
        border-bottom: 1px solid var(--border);
    }

        .job-post-page .loc-item:last-child {
            border-bottom: none;
        }

        .job-post-page .loc-item:hover {
            background: var(--green-lt);
            color: var(--green-dk);
        }

    .job-post-page .disciplines-wrap {
        border: 1px solid var(--border-2);
        border-radius: 8px;
        padding: 8px;
        min-height: 42px;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        cursor: text;
        transition: border-color .15s;
    }

        .job-post-page .disciplines-wrap:focus-within {
            border-color: var(--green);
            box-shadow: 0 0 0 3px rgba(0,137,123,0.1);
        }

    .job-post-page .disc-chip {
        display: flex;
        align-items: center;
        gap: 4px;
        background: var(--green-lt);
        color: var(--green-dk);
        border: 1px solid var(--green-mid);
        font-size: 12px;
        font-weight: 500;
        padding: 3px 8px;
        border-radius: 20px;
    }

    .job-post-page .disc-chip-rm {
        background: none;
        border: none;
        cursor: pointer;
        color: var(--green-mid);
        font-size: 13px;
        padding: 0;
        line-height: 1;
    }

    .job-post-page .disc-search {
        border: none !important;
        outline: none;
        font-family: inherit;
        font-size: 13px;
        color: var(--body);
        background: transparent !important;
        min-width: 120px;
        flex: 1;
        padding: 2px 4px !important;
        box-shadow: none !important;
    }

    .job-post-page .disc-dropdown {
        position: fixed;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        z-index: 999;
        max-height: 220px;
        overflow-y: auto;
        display: none;
        min-width: 300px;
    }

        .job-post-page .disc-dropdown.open {
            display: block;
        }

    .job-post-page .disc-option {
        padding: 9px 12px;
        font-size: 13px;
        cursor: pointer;
    }

        .job-post-page .disc-option:hover {
            background: var(--green-lt);
            color: var(--green-dk);
        }

    .job-post-page .method-tabs {
        display: flex;
        gap: 6px;
    }

    .job-post-page .method-tab {
        flex: 1;
        padding: 9px;
        border-radius: 8px;
        border: 1.5px solid var(--border);
        font-size: 12px;
        font-weight: 600;
        color: var(--muted);
        background: var(--bg);
        cursor: pointer;
        font-family: inherit;
        transition: all .15s;
        text-align: center;
    }

        .job-post-page .method-tab.active {
            border-color: var(--green);
            background: var(--green-lt);
            color: var(--green-dk);
        }

    .job-post-page #jobDescEditor {
        border: 1px solid var(--border-2);
        border-radius: 8px;
        overflow: hidden;
    }

        .job-post-page #jobDescEditor .ql-toolbar {
            border: none;
            border-bottom: 1px solid var(--border);
            background: var(--bg);
        }

        .job-post-page #jobDescEditor .ql-container {
            border: none;
            font-family: inherit;
            font-size: 13px;
            min-height: 200px;
        }

    .job-post-page .widget-note {
        background: var(--blue-lt);
        border: 1px solid #BFDBFE;
        border-radius: 8px;
        padding: 10px 14px;
        font-size: 12px;
        color: var(--blue);
        line-height: 1.6;
    }

    .job-post-page .exp-tabs {
        display: flex;
        gap: 6px;
        margin-bottom: 12px;
    }

    .job-post-page .exp-tab {
        padding: 6px 16px;
        border-radius: 20px;
        border: 1.5px solid var(--border-2);
        background: var(--bg);
        font-size: 12px;
        font-weight: 600;
        color: var(--muted);
        cursor: pointer;
        font-family: inherit;
        transition: all .15s;
    }

        .job-post-page .exp-tab.active {
            background: var(--green);
            border-color: var(--green);
            color: #fff;
        }

    .job-post-page .exp-row {
        display: none;
        gap: 12px;
        align-items: flex-start;
    }

        .job-post-page .exp-row.show {
            display: flex;
        }

    .job-post-page .exp-col {
        display: flex;
        flex-direction: column;
        gap: 4px;
        flex: 1;
    }

        .job-post-page .exp-col label {
            font-size: 11px;
            font-weight: 600;
            color: var(--muted);
        }

    .job-post-page .exp-num {
        padding: 9px 12px;
        border: 1px solid var(--border-2);
        border-radius: 8px;
        font-family: inherit;
        font-size: 13px;
        color: var(--ink);
        background: var(--surface);
        width: 100%;
        outline: none;
    }

        .job-post-page .exp-num:focus {
            border-color: var(--green);
            box-shadow: 0 0 0 3px rgba(0,137,123,.1);
        }

        .job-post-page .exp-num.error {
            border-color: var(--red);
        }

    .job-post-page .exp-preview {
        display: none;
        align-items: center;
        gap: 6px;
        padding: 7px 12px;
        background: var(--green-lt);
        border: 1px solid var(--green-mid);
        border-radius: 7px;
        font-size: 12px;
        margin-top: 8px;
    }

        .job-post-page .exp-preview.show {
            display: flex;
        }

    .job-post-page .exp-preview-lbl {
        color: var(--muted);
        font-size: 11px;
    }

    .job-post-page .exp-preview-val {
        font-weight: 700;
        color: var(--green-dk);
    }

    .job-post-page .exp-err {
        font-size: 11px;
        color: var(--red);
        display: none;
        margin-top: 4px;
    }

        .job-post-page .exp-err.show {
            display: block;
        }

    .job-post-page .pub-options {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .job-post-page .pub-option {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 14px 16px;
        border-radius: 10px;
        border: 1.5px solid var(--border);
        cursor: pointer;
        transition: all .15s;
        background: var(--bg);
    }

        .job-post-page .pub-option.checked {
            border-color: var(--green-mid);
            background: var(--green-lt);
        }

            .job-post-page .pub-option.checked.widget-opt {
                border-color: #93C5FD;
                background: var(--blue-lt);
            }

    .job-post-page .pub-check {
        width: 18px;
        height: 18px;
        border-radius: 5px;
        background: var(--green);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        flex-shrink: 0;
    }

    .job-post-page .pub-option:not(.checked) .pub-check {
        background: var(--surface);
        color: transparent;
        border: 2px solid var(--border-2);
    }

    .job-post-page .pub-title {
        font-size: 13px;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 3px;
    }

    .job-post-page .pub-desc {
        font-size: 12px;
        color: var(--muted);
        line-height: 1.5;
    }

    .job-post-page .pub-badge {
        font-size: 10px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 20px;
        margin-left: 6px;
    }

    .job-post-page .pb-green {
        background: var(--green-lt);
        color: var(--green-dk);
    }

    .job-post-page .pb-blue {
        background: var(--blue-lt);
        color: var(--blue);
    }

    .job-post-page .pub-warning {
        display: none;
        padding: 9px 14px;
        background: var(--amber-lt);
        border: 1px solid #FDE68A;
        border-radius: 8px;
        font-size: 12px;
        color: #92400E;
        margin-top: 8px;
    }

        .job-post-page .pub-warning.show {
            display: block;
        }

    .job-post-page .action-bar {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 16px 22px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }

    .job-post-page .action-bar-left {
        display: flex;
        gap: 8px;
    }

    .job-post-page .btn-publish {
        padding: 10px 24px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 700;
        color: #fff;
        background: var(--green);
        border: none;
        cursor: pointer;
        font-family: inherit;
    }

        .job-post-page .btn-publish:hover {
            background: var(--green-dk);
        }

        .job-post-page .btn-publish:disabled,
        .job-post-page .btn-draft:disabled {
            background: var(--faint);
            cursor: not-allowed;
        }

    .job-post-page .btn-draft {
        padding: 10px 20px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        color: var(--body);
        background: var(--bg);
        border: 1px solid var(--border);
        cursor: pointer;
        font-family: inherit;
    }

    .job-post-page .btn-cancel {
        padding: 10px 16px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 500;
        color: var(--muted);
        background: none;
        border: none;
        cursor: pointer;
        font-family: inherit;
        text-decoration: underline;
    }

    .job-post-page .action-note {
        font-size: 11px;
        color: var(--muted);
    }

@media(max-width:600px) {
    .job-post-page {
        padding: 22px 14px 40px;
    }

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

        .job-post-page .method-tabs,
        .job-post-page .exp-tabs {
            flex-direction: column;
        }

        .job-post-page .action-bar {
            flex-direction: column;
            align-items: stretch;
        }

        .job-post-page .action-bar-left {
            flex-direction: column;
        }
}
/* Job post back link arrow fix */
.job-post-page .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 20px;
    line-height: 1;
}

    .job-post-page .back-link svg {
        width: 14px !important;
        height: 14px !important;
        flex: 0 0 14px;
        stroke-width: 2;
    }

    .job-post-page .back-link:hover {
        color: var(--body);
    }
/* Discipline dropdown fix */
.job-post-page .disc-wrap-outer {
    position: relative;
}

.job-post-page .disciplines-wrap {
    position: relative;
    width: 100%;
}

.job-post-page .disc-dropdown {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 99999;
    max-height: 260px;
    overflow-y: auto;
    display: none;
}

    .job-post-page .disc-dropdown.open {
        display: block !important;
    }

.job-post-page .disc-option {
    padding: 11px 14px;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    color: #0f1923;
}

    .job-post-page .disc-option:hover {
        background: #e0f2f1;
        color: #00695c;
    }

    .job-post-page .disc-option.no-result {
        color: #6b7280;
        cursor: default;
    }
/* Quill editor text visibility fix */
.job-post-page .ql-editor {
    color: #0f1923 !important;
    background: #ffffff !important;
    min-height: 200px;
    font-size: 14px;
    line-height: 1.6;
}

    .job-post-page .ql-editor p,
    .job-post-page .ql-editor span,
    .job-post-page .ql-editor div,
    .job-post-page .ql-editor li {
        color: #0f1923 !important;
        background: transparent !important;
    }

    .job-post-page .ql-editor::before {
        color: #9ca3af !important;
        opacity: 1 !important;
    }

.job-post-page .ql-container {
    background: #ffffff !important;
}

.job-post-page .ql-toolbar {
    background: #ffffff !important;
}

/* ================= JOB SEEKER PROFILE PAGE CSS ================= */

.job-seeker-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 28px 24px 56px;
}

    .job-seeker-page .js-banner {
        background: var(--ink);
        border-bottom: 2px solid var(--green);
        padding: 10px 18px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 16px;
    }

    .job-seeker-page .js-banner-left {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 12px;
        color: rgba(255,255,255,0.65);
    }

    .job-seeker-page .js-banner-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--green-mid);
    }

    .job-seeker-page .js-banner-label {
        font-weight: 700;
        color: var(--green-mid);
    }

    .job-seeker-page .js-back-btn {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 12px;
        color: rgba(255,255,255,0.65);
        text-decoration: none;
    }

        .job-seeker-page .js-back-btn:hover {
            color: #fff;
        }

        .job-seeker-page .js-back-btn svg {
            width: 13px;
            height: 13px;
        }

    .job-seeker-page .js-privacy-note {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 16px;
        background: var(--amber-lt);
        border: 1px solid #FDE68A;
        border-radius: 10px;
        font-size: 12px;
        color: #92400E;
        line-height: 1.6;
        margin-bottom: 16px;
    }

        .job-seeker-page .js-privacy-note svg {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
            margin-top: 1px;
        }

    .job-seeker-page .js-hero {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 28px 28px 24px;
        display: flex;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 16px;
        flex-wrap: wrap;
    }

    .job-seeker-page .js-avatar {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--green), var(--green-dk));
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Playfair Display', serif;
        font-size: 1.6rem;
        font-weight: 700;
        color: #fff;
        flex-shrink: 0;
    }

    .job-seeker-page .js-hero-body {
        flex: 1;
        min-width: 0;
    }

    .job-seeker-page .js-name {
        font-family: 'Playfair Display', serif;
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 4px;
    }

    .job-seeker-page .js-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        font-size: 13px;
        color: var(--muted);
        margin-bottom: 10px;
    }

    .job-seeker-page .js-meta-item {
        display: flex;
        align-items: center;
        gap: 5px;
    }

        .job-seeker-page .js-meta-item svg {
            width: 13px;
            height: 13px;
            flex-shrink: 0;
        }

        .job-seeker-page .js-meta-item a {
            color: var(--green);
            text-decoration: none;
        }

            .job-seeker-page .js-meta-item a:hover {
                text-decoration: underline;
            }

    .job-seeker-page .js-tags,
    .job-seeker-page .js-tags-wrap {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }

    .job-seeker-page .js-tag {
        font-size: 12px;
        font-weight: 500;
        padding: 4px 12px;
        border-radius: 20px;
        background: var(--green-lt);
        color: var(--green-dk);
        border: 1px solid var(--green-mid);
    }

        .job-seeker-page .js-tag.loc {
            background: var(--blue-lt);
            color: var(--blue);
            border-color: #93C5FD;
        }

        .job-seeker-page .js-tag.empty-state {
            background: var(--bg);
            color: var(--faint);
            border-color: var(--border);
            font-style: italic;
        }

    .job-seeker-page .js-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 18px 20px;
        margin-bottom: 16px;
    }

    .job-seeker-page .js-card-title {
        font-size: 12px;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .job-seeker-page .js-resume-inner {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .job-seeker-page .js-resume-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: var(--green-lt);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
    }

    .job-seeker-page .js-resume-name {
        font-size: 13px;
        font-weight: 700;
        color: var(--ink);
    }

    .job-seeker-page .js-resume-meta {
        font-size: 11px;
        color: var(--muted);
        margin-top: 2px;
    }

    .job-seeker-page .js-download-btn {
        margin-left: auto;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 9px 18px;
        border-radius: 8px;
        background: var(--green);
        color: #fff !important;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none !important;
        border: none;
    }

        .job-seeker-page .js-download-btn:hover {
            background: var(--green-dk);
        }

        .job-seeker-page .js-download-btn svg {
            width: 14px;
            height: 14px;
        }

    .job-seeker-page .js-no-resume {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        color: var(--faint);
        padding: 4px 0;
    }

    .job-seeker-page .js-loader {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 24px;
        color: var(--muted);
        font-size: 13px;
    }

@media(max-width:640px) {
    .job-seeker-page {
        padding: 22px 14px 40px;
    }

        .job-seeker-page .js-banner {
            flex-direction: column;
            align-items: flex-start;
        }

        .job-seeker-page .js-hero {
            flex-direction: column;
        }

        .job-seeker-page .js-resume-inner {
            flex-direction: column;
            align-items: flex-start;
        }

        .job-seeker-page .js-download-btn {
            margin-left: 0;
        }
}