﻿:root {
    --primary: #0b63ce;
    --primary-dark: #084a9c;
    --primary-soft: #eaf3ff;
    --teal: #00a6a6;
    --teal-soft: #e7fbf8;
    --sand: #f7efe0;
    --sand-strong: #e8c978;
    --ink: #172033;
    --muted: #667085;
    --line: #e6eaf0;
    --bg: #f7f9fc;
    --card: #ffffff;
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --soft-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    --radius: 22px;
    --blue: #1769e8;
    --blue-dark: #0d4fb8;
    --blue-soft: #edf5ff;
    --sand-dark: #d18b00;
    --text: #27364f;
    --light: #f7faff;
    --white: #ffffff;
    --green: #16a34a;
    --red: #ef4444;
    --sand-border: #f1d79e;
    --green-soft: #dcfce7;
    --red: #ef4444;
    --red-soft: #fff1f2;
    --yellow-soft: #fff7ed;
    --yellow: #c2410c;
    --shadow-soft: 0 12px 36px rgba(15, 23, 42, 0.07);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, rgba(11, 99, 206, 0.12), transparent 30%), radial-gradient(circle at top right, rgba(232, 201, 120, 0.22), transparent 28%), var(--bg);
    color: var(--ink);
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select {
    font: inherit;
}

button {
    cursor: pointer;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.nav {
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--blue);
    white-space: nowrap;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: radial-gradient(circle at 28% 25%, #8cf2ff 0 17%, transparent 18%), linear-gradient(135deg, var(--blue), #0aa6da);
    position: relative;
    box-shadow: 0 12px 26px rgba(23, 105, 232, 0.25);
}

    .logo-mark::after {
        content: "";
        position: absolute;
        width: 15px;
        height: 15px;
        right: 6px;
        bottom: 6px;
        border-radius: 50%;
        background: #fff;
        opacity: 0.95;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link,
.nav-select,
.nav-btn {
    min-height: 42px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: #334155;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
}

    .nav-link.active {
        background: var(--blue);
        color: #fff;
        border-color: var(--blue);
        box-shadow: 0 12px 24px rgba(23, 105, 232, 0.22);
    }

.nav-select {
    appearance: none;
    padding-right: 28px;
    background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position: calc(100% - 15px) 18px, calc(100% - 10px) 18px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.login-btn {
    background: var(--blue-soft);
    color: var(--blue);
    border-color: #c7dcff;
}

.mobile-menu-btn {
    display: none;
}

.hero {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 28px;
}

.hero-main {
    background: linear-gradient(135deg, #ffffff 0%, #f2f8ff 62%, #fff8e7 100%);
    border: 1px solid rgba(230, 234, 240, 0.9);
    border-radius: 30px;
    padding: 34px;
    box-shadow: var(--soft-shadow);
    position: relative;
    overflow: hidden;
}

    .hero-main::after {
        content: "";
        position: absolute;
        right: -70px;
        top: -80px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(0, 166, 166, 0.13);
    }

    .hero-main p {
        max-width: 690px;
        margin: 18px 0 0;
        font-size: 18px;
        line-height: 1.6;
        color: var(--muted);
    }

.hero-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 26px;
    box-shadow: var(--soft-shadow);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 18px;
}

    .eyebrow.green {
        background: var(--teal-soft);
        color: #0f766e;
    }

.role-card {
    min-height: 154px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .role-card:hover {
        transform: translateY(-3px);
        border-color: #bdd6ff;
        box-shadow: var(--shadow);
    }

.role-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 26px;
    margin-bottom: 12px;
}

.role-card.employer .role-icon {
    background: var(--sand);
    color: var(--sand-dark);
}

.role-card.agent .role-icon {
    background: var(--teal-soft);
    color: #0f766e;
}

.role-card strong {
    display: block;
    font-size: 18px;
    letter-spacing: -0.04em;
    margin-bottom: 5px;
}

.role-card span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 650;
}

.role-cta {
    margin-top: 14px;
    color: var(--blue);
    font-weight: 900;
    font-size: 14px;
}

.search-box {
    position: relative;
    z-index: 1;
}

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

    .panel-title h2 {
        margin: 0;
        font-size: 24px;
        letter-spacing: -0.05em;
    }

.small-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    padding: 0 10px;
    background: var(--sand);
    color: #9a6700;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.field-label {
    display: block;
    font-size: 13px;
    font-weight: 900;
    color: #334155;
    margin: 14px 0 8px;
}

.big-input,
.big-select {
    width: 100%;
    height: 58px;
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 0 16px;
    outline: none;
    background: #f8fbff;
    color: var(--ink);
    font-weight: 800;
    font-size: 15px;
}

.two-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.primary-wide {
    width: 100%;
    height: 60px;
    margin-top: 16px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    font-size: 17px;
    font-weight: 950;
    box-shadow: 0 18px 34px rgba(23, 105, 232, 0.24);
}

.popular-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-weight: 850;
    padding: 10px 12px;
    font-size: 13px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.stat {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px 12px;
    background: #fff;
    text-align: center;
}

    .stat strong {
        display: block;
        font-size: 20px;
        color: var(--blue);
        letter-spacing: -0.05em;
    }

    .stat span {
        color: var(--muted);
        font-size: 12px;
        font-weight: 800;
    }

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 54px 22px;
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 26px;
}

    .section-heading h2 {
        margin: 0;
        color: #071832;
        font-size: clamp(28px, 3vw, 42px);
        letter-spacing: -0.06em;
        line-height: 1.08;
    }

    .section-heading p {
        margin: 12px 0 0;
        color: var(--muted);
        font-size: 17px;
        line-height: 1.55;
        font-weight: 600;
    }

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.step-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    min-height: 220px;
}

.step-card-number {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #fff;
    border-radius: 16px;
    font-weight: 950;
    margin-bottom: 18px;
}

.step-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    letter-spacing: -0.05em;
}

.step-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    font-weight: 650;
}

.categories {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.cat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    min-height: 122px;
    display: grid;
    align-content: center;
    gap: 9px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

    .cat-card:hover {
        transform: translateY(-3px);
        border-color: #bdd6ff;
    }

    .cat-card .emoji {
        width: 48px;
        height: 48px;
        border-radius: 18px;
        background: var(--blue-soft);
        display: grid;
        place-items: center;
        margin: 0 auto;
        font-size: 25px;
    }

    .cat-card strong {
        display: block;
        font-size: 14px;
        letter-spacing: -0.02em;
    }

.split-section {
    background: linear-gradient(180deg, #f8fbff, #ffffff);
    border-top: 1px solid #edf2f8;
    border-bottom: 1px solid #edf2f8;
}

.split-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 58px 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.audience-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 18px;
}

.audience-icon {
    width: 60px;
    height: 60px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 32px;
}

.audience-card.employers .audience-icon {
    background: var(--sand);
    color: var(--sand-dark);
}

.audience-card.agents .audience-icon {
    background: var(--teal-soft);
    color: #0f766e;
}

.audience-card h2 {
    margin: 0;
    font-size: 34px;
    letter-spacing: -0.06em;
    line-height: 1.08;
}

.audience-card p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 650;
}

.simple-list {
    display: grid;
    gap: 10px;
    margin: 4px 0;
    padding: 0;
    list-style: none;
}

    .simple-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        color: #334155;
        font-weight: 750;
        line-height: 1.45;
    }

.tick {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #dcfce7;
    color: #15803d;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 950;
    margin-top: 1px;
}

.audience-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.btn {
    min-height: 54px;
    border: none;
    border-radius: 16px;
    padding: 0 18px;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
    transition: 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

    .btn.teal {
        background: var(--teal);
        border-color: var(--teal);
        color: #fff;
    }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(11, 99, 206, 0.26);
}

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
    }

.btn-secondary {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
}

    .btn-secondary:hover {
        border-color: var(--primary);
        color: var(--primary-dark);
        background: var(--primary-soft);
    }

.btn-ghost {
    background: #f2f4f7;
    color: var(--ink);
}


.trust-band {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px 56px;
}

.trust-card {
    border: 1px solid #dbeafe;
    border-radius: 32px;
    background: #f8fbff;
    padding: 26px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 20px;
    align-items: center;
}

    .trust-card h2 {
        margin: 0;
        font-size: 32px;
        letter-spacing: -0.06em;
    }

.trust-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.trust-point {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px;
}

    .trust-point strong {
        display: block;
        margin-bottom: 6px;
    }

    .trust-point span {
        display: block;
        color: var(--muted);
        font-size: 13px;
        font-weight: 650;
        line-height: 1.45;
    }

.footer {
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.custom-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 15, 32, 0.58);
    backdrop-filter: blur(10px);
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

    .custom-modal-backdrop.show {
        display: flex;
    }

.custom-modal {
    width: min(100%, 520px);
    max-height: 92vh;
    overflow: auto;
    background: #fff;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.28);
    padding: 24px;
    animation: modalIn 0.18s ease-out;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.custom-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

    .custom-modal-head h2 {
        margin: 0;
        font-size: 28px;
        letter-spacing: -0.06em;
    }

    .custom-modal-head p {
        margin: 6px 0 0;
        color: var(--muted);
        line-height: 1.5;
        font-weight: 650;
    }

.close-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    color: #334155;
    font-size: 24px;
    line-height: 1;
    flex: 0 0 auto;
}

.custom-modal-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: #f1f5f9;
    border-radius: 18px;
    padding: 6px;
    margin-bottom: 18px;
}

.custom-modal-tab {
    height: 44px;
    border-radius: 14px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-weight: 950;
}

    .custom-modal-tab.active {
        background: #fff;
        color: var(--blue);
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    }

.form-grid {
    display: grid;
    gap: 12px;
}

    .form-grid.two {
        grid-template-columns: 1fr 1fr;
    }

.custom-modal-label {
    display: block;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 7px;
}

.custom-modal-input,
.custom-modal-select,
.custom-modal-textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #f8fbff;
    color: var(--ink);
    border-radius: 16px;
    padding: 0 14px;
    outline: none;
    font-weight: 750;
}

.custom-modal-input,
.custom-modal-select {
    height: 52px;
}

.custom-modal-textarea {
    min-height: 92px;
    padding-top: 12px;
    resize: vertical;
}

.custom-modal-actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.custom-modal-primary {
    height: 54px;
    border-radius: 17px;
    border: 0;
    background: var(--blue);
    color: #fff;
    font-weight: 950;
    font-size: 16px;
}

.custom-modal-secondary {
    height: 52px;
    border-radius: 17px;
    border: 1px solid var(--line);
    background: #fff;
    color: #334155;
    font-weight: 900;
}

.custom-modal-note {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 650;
    text-align: center;
}

.hidden {
    display: none !important;
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 700;
    background: #0b1f3f;
    color: #fff;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: var(--shadow);
    font-weight: 850;
    display: none;
    max-width: 340px;
}

    .toast.show {
        display: block;
    }

.account-menu-wrap {
    position: relative;
    display: none;
}

    .account-menu-wrap.show {
        display: inline-flex;
    }

.avatar-btn {
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px 5px 5px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.avatar-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.avatar-image {
    object-fit: cover;
    background: #f8fafc;
}

.avatar-meta {
    display: grid;
    text-align: left;
    line-height: 1.05;
}

    .avatar-meta strong {
        font-size: 13px;
        color: var(--ink);
    }

    .avatar-meta span {
        font-size: 11px;
        color: var(--muted);
        font-weight: 800;
        margin-top: 3px;
    }

.account-dropdown {
    position: absolute;
    right: 0;
    top: 54px;
    width: 260px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 10px;
    display: none;
    z-index: 200;
}

    .account-dropdown.show {
        display: block;
    }

.account-dropdown-header {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 6px;
}

    .account-dropdown-header strong {
        display: block;
        letter-spacing: -0.03em;
    }

    .account-dropdown-header span {
        display: block;
        color: var(--muted);
        font-size: 12px;
        font-weight: 750;
        margin-top: 4px;
    }

.menu-item {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    font-weight: 850;
    text-align: left;
}

    .menu-item:hover {
        background: #f8fbff;
        color: var(--blue);
    }

    .menu-item.logout {
        color: #b91c1c;
    }

.my-account-page {
    display: none;
    max-width: 1180px;
    margin: 0 auto;
    padding: 44px 22px 64px;
}

    .my-account-page.show {
        display: block;
    }

.account-hero {
    border: 1px solid #dbeafe;
    background: linear-gradient(135deg, #f5f9ff, #ffffff 62%, #fff7e6);
    border-radius: 34px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 22px;
}

.account-identity {
    display: flex;
    align-items: center;
    gap: 16px;
}

.large-avatar {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 28px;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(23, 105, 232, 0.22);
}

.account-identity h1 {
    margin: 0 0 6px;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -0.07em;
    line-height: 1.05;
}

.account-identity p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.5;
}

.account-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 20px;
    align-items: start;
}

.account-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 22px;
    box-shadow: var(--shadow-soft);
}

    .account-card h2 {
        margin: 0 0 16px;
        font-size: 24px;
        letter-spacing: -0.05em;
    }

.profile-list {
    display: grid;
    gap: 10px;
}

.profile-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    background: #f8fbff;
    border-radius: 16px;
}

    .profile-row span {
        color: var(--muted);
        font-size: 13px;
        font-weight: 850;
    }

    .profile-row strong {
        color: var(--ink);
        font-weight: 900;
        letter-spacing: -0.02em;
    }

.history-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.history-tab {
    border: 1px solid var(--line);
    background: #fff;
    color: #334155;
    min-height: 42px;
    border-radius: 999px;
    padding: 0 14px;
    font-weight: 900;
}

    .history-tab.active {
        background: #0b1f3f;
        color: #fff;
        border-color: #0b1f3f;
    }

.history-list {
    display: grid;
    gap: 12px;
}

.history-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    padding: 16px;
}

    .history-item h3 {
        margin: 0 0 6px;
        font-size: 17px;
        letter-spacing: -0.04em;
    }

    .history-item p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        font-weight: 650;
        line-height: 1.45;
    }

.status-pill {
    min-height: 30px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

    .status-pill.green {
        background: #dcfce7;
        color: #15803d;
    }

    .status-pill.blue {
        background: var(--blue-soft);
        color: var(--blue);
    }

    .status-pill.yellow {
        background: var(--sand);
        color: #9a6700;
    }

.account-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.page-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 36px 24px 36px;
}

.help-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.help-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--teal-soft);
    color: var(--teal);
    font-size: 22px;
}

.help-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.help-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

    .help-item strong {
        color: var(--ink);
    }

.hero-actions {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-panel {
    background: #fff;
    border: 1px solid #dfe8f6;
    border-radius: 32px;
    padding: 22px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

    .hero-panel::before {
        content: "";
        position: absolute;
        width: 210px;
        height: 210px;
        border-radius: 999px;
        right: -80px;
        top: -90px;
        background: rgba(23, 105, 232, 0.08);
    }

h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    max-width: 760px;
}

.w-100 {
    width: 100%;
}

.btn-green {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
}

/*Find a Job Page CSS Starts*/
.search-panel {
    position: relative;
    z-index: 1;
    background: #fff;
    border: 1px solid #dfe8f6;
    border-radius: 26px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.search-title {
    margin: 0 0 14px;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.big-field {
    height: 58px;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0 16px;
    background: var(--light);
    color: var(--ink);
    outline: none;
    margin-bottom: 10px;
    font-weight: 650;
}

.quick-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.quick-chip {
    padding: 9px 12px;
    background: #f8fbff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 800;
    color: #334155;
    font-size: 13px;
    cursor: pointer;
}

    .quick-chip.active {
        background: var(--blue-soft);
        color: var(--blue);
        border-color: #bdd6ff;
    }

.find-jobs-page {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 24px;
    align-items: start;
}

.filters {
    position: sticky;
    top: 84px;
    display: grid;
    gap: 14px;
}

.filter-card, .side-card, .job-card, .company-strip, .sponsored-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.filter-card {
    padding: 18px;
}

.applied-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.applied-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d7e3f7;
    border-radius: 999px;
    padding: 7px 10px;
    background: #f8fbff;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

    .applied-filter-chip button {
        border: 0;
        background: transparent;
        color: #1d4ed8;
        font-size: 12px;
        line-height: 1;
        padding: 0;
        cursor: pointer;
    }

.applied-filters-empty {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.filter-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

    .filter-head h3, .section-title h2, .side-card h3 {
        margin: 0;
        letter-spacing: -0.04em;
    }

.clear-link {
    color: var(--blue);
    border: 0;
    background: transparent;
    cursor: pointer;
    font-weight: 800;
    font-size: 13px;
}

.filter-group {
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

    .filter-group:first-of-type {
        border-top: 0;
        padding-top: 0;
    }

.filter-label {
    font-size: 13px;
    color: #334155;
    font-weight: 900;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.filter-label-toggle {
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

    .filter-label-toggle span {
        display: flex;
        align-items: center;
        gap: 7px;
    }

.filter-toggle-icon {
    font-size: 11px;
    color: #64748b;
    transition: transform 0.22s ease;
    flex-shrink: 0;
}

.collapsible-filter-group.section-collapsed .filter-toggle-icon {
    transform: rotate(-90deg);
}

.collapsible-filter-group.section-collapsed .collapsible-list {
    display: none;
}

.collapsible-list .option-row.extra-option {
    display: none;
}

.collapsible-list.items-expanded .option-row.extra-option {
    display: flex;
    align-items: center;
}

.filter-show-more {
    background: none;
    border: 0;
    color: var(--blue);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    margin-top: 6px;
    padding: 0;
}

    .filter-show-more i {
        font-size: 10px;
    }

.list-item-clickable {
    cursor: pointer;
    border-radius: 10px;
    padding: 4px 6px;
    margin: 0 -6px;
    transition: background 0.15s ease;
}

    .list-item-clickable:hover {
        background: var(--blue-soft);
    }

    .list-item-clickable strong {
        color: var(--blue);
    }

.option-grid {
    display: grid;
    gap: 8px;
}

    .option-grid.auto-width {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

.option-row {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: #334155;
    font-weight: 750;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

    .option-row.active {
        background: var(--blue-soft);
        border-color: #bdd6ff;
        color: var(--blue);
    }

    .option-row input[type="radio"],
    .option-row input[type="checkbox"] {
        display: none;
    }

/* COMMON ICON BOX */
.check-dot {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    background: #fff;
    position: relative;
    transition: 0.2s ease;
}

/* CHECKBOX STYLE */
.option-row input[type="checkbox"] + .check-dot {
    border-radius: 6px;
    border: 2px solid #cbd5e1;
    font-size: 12px;
    color: #fff;
}

.option-row.active input[type="checkbox"] + .check-dot {
    background: var(--blue);
    border-color: var(--blue);
}

    .option-row.active input[type="checkbox"] + .check-dot::after {
        content: "✓";
    }

/* RADIO STYLE */
.option-row input[type="radio"] + .check-dot {
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-row.active input[type="radio"] + .check-dot {
    border-color: var(--blue);
}

    .option-row.active input[type="radio"] + .check-dot::after {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--blue);
        display: block;
    }

.filter-select {
    width: 100%;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 12px;
    background: #fff;
    color: #334155;
    font-weight: 750;
}

.apply-filter {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 16px;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    margin-top: 8px;
}

.main-content {
    min-width: 0;
}

.top-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.section-title span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: var(--teal-soft);
    color: #0f766e;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 8px;
}

.section-title h2 {
    font-size: 28px;
    color: #0b1a35;
}

.sort-box {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-weight: 750;
    font-size: 14px;
    white-space: nowrap;
}

    .sort-box select {
        height: 44px;
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 0 12px;
        color: #334155;
        font-weight: 850;
        background: #fff;
    }

.simple-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 16px;
    scrollbar-width: none;
}

    .simple-tabs::-webkit-scrollbar {
        display: none;
    }

.tab {
    border: 1px solid var(--line);
    background: #fff;
    color: #334155;
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.04);
}

    .tab.active {
        background: #0b1a35;
        color: #fff;
        border-color: #0b1a35;
    }

.sponsored-box {
    padding: 16px;
    margin-bottom: 18px;
    border-color: var(--sand-border);
    background: linear-gradient(135deg, #fffaf0, #ffffff 62%);
}

.sponsored-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

    .sponsored-head strong {
        font-size: 15px;
        letter-spacing: -0.02em;
    }

.small-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #f2d7a4;
    color: #9a6700;
    font-weight: 900;
    font-size: 12px;
}

.sponsored-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mini-job {
    background: #fff;
    border: 1px solid #f1e3c8;
    border-radius: 18px;
    padding: 14px;
    display: grid;
    gap: 8px;
}

    .mini-job h4 {
        margin: 0;
        font-size: 16px;
        letter-spacing: -0.03em;
    }

    .mini-job p {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
        font-weight: 700;
    }

    .mini-job b {
        color: var(--blue);
    }

.job-list {
    display: grid;
    gap: 14px;
    min-height: 420px;
    align-content: start;
}

.job-list.loading {
    position: relative;
}

.job-skeleton-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 20px;
}

.skeleton-line {
    height: 12px;
    border-radius: 8px;
    background: linear-gradient(90deg, #edf2f7 0%, #f8fafc 50%, #edf2f7 100%);
    background-size: 220% 100%;
    animation: findJobsShimmer 1.2s linear infinite;
    margin-bottom: 10px;
}

    .skeleton-line:last-child {
        margin-bottom: 0;
    }

    .skeleton-line.w-80 {
        width: 80%;
    }

    .skeleton-line.w-65 {
        width: 65%;
    }

    .skeleton-line.w-45 {
        width: 45%;
    }

@keyframes findJobsShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.back-to-top-btn {
    margin: 16px auto 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #0b1a35;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
}

.job-card {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .job-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow);
        border-color: #c9dcff;
    }

.job-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

    .badge.urgent {
        background: #fee2e2;
        color: #b91c1c;
    }

    .badge.verified {
        background: var(--teal-soft);
        color: #0f766e;
    }

    .badge.easy {
        background: var(--blue-soft);
        color: var(--blue);
    }

    .badge.sponsor {
        background: #fff2cc;
        color: #9a6700;
    }

    .badge.fresher {
        background: #f1f5f9;
        color: #475569;
    }

.job-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
    letter-spacing: -0.05em;
    color: #081735;
}

.company-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--muted);
    font-weight: 750;
    font-size: 14px;
    margin-bottom: 14px;
}

.job-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0;
}

.fact {
    background: #f8fbff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    min-height: 74px;
}

    .fact span {
        display: block;
        color: var(--muted);
        font-size: 12px;
        font-weight: 800;
        margin-bottom: 5px;
    }

    .fact strong {
        display: block;
        font-size: 15px;
        letter-spacing: -0.02em;
    }

.benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.benefit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.job-actions {
    width: 176px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    gap: 12px;
}

.salary-box {
    background: #f6fbff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 14px;
    text-align: center;
}

    .salary-box span {
        display: block;
        font-size: 12px;
        color: var(--muted);
        font-weight: 800;
        margin-bottom: 5px;
    }

    .salary-box strong {
        font-size: 17px;
        color: var(--blue);
        letter-spacing: -0.03em;
    }

.posted-time {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 22px;
}

.side-card {
    padding: 18px;
}

    .side-card h3 {
        font-size: 20px;
        margin-bottom: 14px;
    }

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
    font-weight: 800;
}

    .list-item:first-of-type {
        border-top: 0;
    }

    .list-item span {
        color: var(--muted);
        font-size: 13px;
        font-weight: 800;
    }

.company-strip {
    padding: 18px;
    margin-top: 18px;
}

.companies {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.company-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    background: #fff;
    min-height: 118px;
    display: grid;
    align-content: space-between;
    gap: 10px;
}

.company-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--blue-soft);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.company-card strong {
    display: block;
    letter-spacing: -0.03em;
}

.company-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    margin-top: 4px;
}

.safe-note {
    margin-top: 18px;
    border-radius: 22px;
    padding: 18px;
    background: #f8fbff;
    border: 1px solid #dbeafe;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

    .safe-note .icon {
        width: 42px;
        height: 42px;
        flex: 0 0 auto;
        border-radius: 14px;
        background: #dcfce7;
        display: grid;
        place-items: center;
        color: #15803d;
        font-size: 22px;
    }

    .safe-note strong {
        display: block;
        margin-bottom: 4px;
    }

    .safe-note p {
        margin: 0;
        color: var(--muted);
        line-height: 1.5;
        font-size: 14px;
        font-weight: 650;
    }

.mobile-filter-bar {
    display: none;
    position: sticky;
    top: 73px;
    z-index: 40;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px;
    gap: 10px;
}

    .mobile-filter-bar button {
        flex: 1;
        height: 48px;
        border-radius: 14px;
        border: 1px solid var(--line);
        background: #fff;
        font-weight: 900;
        color: #334155;
    }

/*Find a Job Page CSS Ends*/

/*Find Worker Page CSS Starts*/

.candidate-grid {
    display: grid;
    gap: 18px;
}

.candidate-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    transition: .2s ease;
    background: #fff;
}

    .candidate-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(15,23,42,0.08);
        border-color: rgba(11,99,206,0.2);
    }

.avatar {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary), var(--teal));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 850;
}

.candidate-name {
    font-size: 22px;
    font-weight: 850;
    margin-bottom: 8px;
}

.candidate-role {
    color: var(--primary);
    font-weight: 750;
    margin-bottom: 12px;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-tag {
    background: #f2f4f7;
    color: var(--muted);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
}

.candidate-actions {
    display: grid;
    gap: 10px;
    min-width: 180px;
}

.match-score {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal-soft);
    color: var(--teal);
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    margin-bottom: 12px;
}

/*Find Worker Page CSS Ends*/

/*Post a Job Page CSS Starts*/
.stepper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.step-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    white-space: nowrap;
}

    .step-pill.active {
        background: var(--primary-soft);
        border-color: rgba(11, 99, 206, 0.2);
        color: var(--primary-dark);
    }

.step-number {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #eef2f7;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
}

.step-pill.active .step-number {
    background: var(--primary);
    color: #fff;
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.form-stack {
    display: grid;
    gap: 22px;
}

.section-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--soft-shadow);
    overflow: hidden;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 26px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #fff, #fbfcfe);
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-icon {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 23px;
    flex: 0 0 auto;
}

.section-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 800;
    margin-bottom: 4px;
}

.section-title {
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.section-note {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    background: var(--sand);
    padding: 9px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.section-body {
    padding: 26px;
    display: grid;
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.field {
    display: grid;
    gap: 8px;
}

label {
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 6px;
}

.required {
    color: var(--danger);
}

.hint {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.45;
}

input,
select,
textarea {
    width: 100%;
    min-height: 54px;
    border: 1px solid #dce3ec;
    border-radius: 16px;
    padding: 14px 15px;
    font: inherit;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: 0.18s ease;
}

textarea {
    min-height: 128px;
    resize: vertical;
    line-height: 1.5;
}

    input:focus,
    select:focus,
    textarea:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(11, 99, 206, 0.1);
    }

.tile-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.job-tile {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 18px;
    padding: 16px 12px;
    min-height: 104px;
    display: grid;
    place-items: center;
    gap: 8px;
    text-align: center;
    cursor: pointer;
    transition: 0.18s ease;
}

    .job-tile:hover,
    .job-tile.active {
        border-color: var(--primary);
        background: var(--primary-soft);
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(11, 99, 206, 0.1);
    }

.tile-icon {
    font-size: 27px;
}

.tile-label {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    border: 1px solid #dce3ec;
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.18s ease;
}

    .chip:hover,
    .chip.active {
        background: var(--primary-soft);
        color: var(--primary-dark);
        border-color: rgba(11, 99, 206, 0.28);
    }

    .chip.required-chip {
        background: #fff7ed;
        border-color: #fed7aa;
        color: #9a3412;
    }

.skill-table {
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.skill-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}

    .skill-row:last-child {
        border-bottom: none;
    }

.skill-name {
    font-weight: 750;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
    background: #f2f4f7;
    color: var(--muted);
}

    .badge.must {
        background: #fff1f2;
        color: #be123c;
    }

.toggle {
    position: relative;
    width: 48px;
    height: 28px;
    display: inline-block;
    cursor: pointer;
}

    .toggle input {
        display: none;
    }

.toggle-slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #d0d5dd;
    transition: 0.2s ease;
}

    .toggle-slider::after {
        content: "";
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #fff;
        position: absolute;
        top: 3px;
        left: 3px;
        transition: 0.2s ease;
        box-shadow: 0 2px 6px rgba(0,0,0,0.16);
    }

.toggle input:checked + .toggle-slider {
    background: var(--success);
}

    .toggle input:checked + .toggle-slider::after {
        left: 23px;
    }

.money-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.money-input {
    position: relative;
}

    .money-input span {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--muted);
        font-weight: 850;
        pointer-events: none;
    }

    .money-input input {
        padding-left: 55px;
    }

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.benefit-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
}

.benefit-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 750;
    font-size: 14px;
}

.tip-box {
    border: 1px solid rgba(245, 158, 11, 0.22);
    background: #fffbeb;
    color: #92400e;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.55;
}

.upload-box {
    min-height: 130px;
    border: 1.5px dashed #b8c3d2;
    border-radius: 18px;
    background: #fbfcff;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 18px;
    color: var(--muted);
    font-weight: 650;
}

    .upload-box strong {
        color: var(--primary-dark);
    }

.summary-card {
    position: sticky;
    top: 96px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.summary-top {
    padding: 24px;
    background: linear-gradient(135deg, var(--primary), #0a8ccf);
    color: #fff;
}

    .summary-top .small {
        font-size: 13px;
        opacity: 0.84;
        font-weight: 700;
        margin-bottom: 10px;
    }

.summary-title {
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.summary-body {
    padding: 22px;
    display: grid;
    gap: 16px;
}

.summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 13px;
}

    .summary-row:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

.summary-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.summary-value {
    text-align: right;
    font-size: 14px;
    font-weight: 850;
    max-width: 180px;
}

.summary-benefits {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.mini-tag {
    background: var(--teal-soft);
    color: #04706f;
    padding: 6px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
}

.summary-actions {
    padding: 0 22px 22px;
    display: grid;
    gap: 10px;
}

.bottom-action-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--soft-shadow);
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.confirm-check {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-weight: 750;
}

    .confirm-check input {
        width: 22px;
        height: 22px;
        min-height: auto;
        accent-color: var(--primary);
    }

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.whatsapp-help {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    background: #22c55e;
    color: #fff;
    min-height: 58px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    box-shadow: 0 18px 38px rgba(34, 197, 94, 0.28);
    font-weight: 850;
}

.mobile-summary {
    display: none;
}

/*Post a Job Page CSS Ends*/

/*Employer Profile Page CSS Ends*/
.employerProfile .hero {
    grid-template-columns: 1fr;
}

.employerProfile .hero-main {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.employerProfile .hero-actions {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.identity-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.applicant-profile-identity {
    align-items: center;
}

.large-avatar {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 28px;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(23, 105, 232, 0.22);
    flex: 0 0 auto;
}

.profile-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.side-nav-card {
    position: sticky;
    top: 98px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 12px;
    box-shadow: var(--shadow-soft);
}

.side-nav-item {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: #334155;
    text-align: left;
    padding: 0 14px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

    .side-nav-item.active,
    .side-nav-item:hover {
        background: var(--blue-soft);
        color: var(--blue);
    }

.profile-content {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.content-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    scroll-margin-top: 104px;
}

.card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

    .card-head h2 {
        margin: 0 0 6px;
        font-size: 26px;
        letter-spacing: -0.06em;
    }

    .card-head p {
        margin: 0;
        color: var(--muted);
        font-weight: 700;
        line-height: 1.5;
    }

    .company-logo-panel {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 4px 0 18px;
        text-align: center;
    }

    .company-logo-preview {
        width: min(100%, 360px);
        aspect-ratio: 16 / 9;
        border-radius: 18px;
        border: 1px solid #dbeafe;
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
        background: linear-gradient(135deg, #f8fbff, #eef6ff);
        position: relative;
        overflow: hidden;
        display: grid;
        place-items: center;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

        .company-logo-preview:hover {
            transform: translateY(-1px);
            border-color: #bfdbfe;
            box-shadow: 0 20px 32px rgba(15, 23, 42, 0.12);
        }

    .company-logo-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #fff;
        transition: opacity 0.2s ease;
    }

    .company-logo-placeholder {
        color: var(--blue);
        font-size: 44px;
    }

    .company-logo-edit-icon {
        position: absolute;
        right: 12px;
        bottom: 12px;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: 1px solid #bfdbfe;
        background: #fff;
        color: var(--blue);
        display: grid;
        place-items: center;
        box-shadow: 0 8px 18px rgba(23, 105, 232, 0.22);
        pointer-events: none;
    }

.field.full {
    grid-column: 1 / -1;
}

.field label,
label {
    display: block;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 8px;
}

.helper-text,
.field small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 650;
}

.status-pill {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

    .status-pill.green {
        background: var(--green-soft);
        color: #15803d;
    }

    .status-pill.yellow {
        background: var(--sand);
        color: #9a6700;
        border: 1px solid var(--sand-border);
    }

    .status-pill.gray {
        background: #f1f5f9;
        color: #475569;
    }

    .status-pill.red {
        background: var(--red-soft);
        color: #b91c1c;
    }

.document-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.document-card {
    min-height: 190px;
    border: 2px dashed #c7dcff;
    border-radius: 20px;
    background: #f8fbff;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

    .document-card strong {
        display: block;
        margin-bottom: 6px;
        letter-spacing: -0.03em;
    }

    .document-card span {
        display: block;
        color: var(--muted);
        font-size: 13px;
        font-weight: 700;
        line-height: 1.45;
    }

    .document-card input {
        height: auto;
        background: #fff;
        padding: 12px;
    }

.info-strip {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
    border-radius: 18px;
    padding: 14px 16px;
    line-height: 1.5;
    font-weight: 750;
}

.table-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow-x: auto;
    background: #fff;
}

.table-head,
.table-row {
    min-width: 760px;
    display: grid;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
}

.table-head {
    background: #f8fbff;
    border-bottom: 1px solid var(--line);
    color: #52627a;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

    .table-head button {
        border: 0;
        background: transparent;
        padding: 0;
        text-align: left;
        color: inherit;
        font: inherit;
        font-weight: 950;
        text-transform: uppercase;
        cursor: pointer;
    }

        .table-head button:hover {
            color: var(--blue);
        }

.table-row {
    border-bottom: 1px solid var(--line);
    font-weight: 750;
}

    .table-row:last-child {
        border-bottom: 0;
    }

    .table-row strong {
        display: block;
        letter-spacing: -0.02em;
    }

    .table-row small {
        display: block;
        color: var(--muted);
        margin-top: 4px;
        font-weight: 700;
    }

    .table-row span {
        color: #334155;
    }

.job-history-grid {
    grid-template-columns: 1.2fr 0.75fr 0.65fr 0.8fr 0.55fr;
}

.employer-job-history-grid {
    grid-template-columns: minmax(180px, 1.4fr) minmax(120px, 0.8fr) minmax(150px, 1fr) minmax(170px, 1fr) minmax(100px, 0.7fr) minmax(120px, 0.8fr) minmax(132px, 0.9fr);
}

.employer-job-history-grid.sixColumn{
    grid-template-columns: minmax(180px, 1.4fr) minmax(120px, 0.8fr) minmax(150px, 1fr) minmax(170px, 1fr) minmax(100px, 0.7fr) minmax(120px, 0.8fr);
}

.search-history-grid {
    grid-template-columns: 1.5fr 0.75fr 0.65fr 0.75fr;
}

.employement-details-grid {
    grid-template-columns: minmax(180px, 1.5fr) minmax(160px, 1fr) minmax(160px, 1fr) minmax(140px, 0.8fr) minmax(40px, 0.4fr);
}

.my-applications-grid {
    grid-template-columns: minmax(160px, 0.9fr) minmax(200px, 1.4fr) minmax(170px, 1fr) minmax(130px, 1fr) minmax(170px, 0.7fr);
}

.table-head span,
.table-row span,
.table-row strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-btn {
    min-height: 36px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: #334155;
    font-weight: 900;
    padding: 0 12px;
}

    .mini-btn:hover {
        color: var(--blue);
        border-color: #bdd6ff;
    }

    .mini-btn.disabled,
    .mini-btn[aria-disabled="true"] {
        pointer-events: none;
        color: #94a3b8;
        border-color: #e2e8f0;
        background: #f8fafc;
    }

.job-history-pagination {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.job-history-pagination-count {
    margin: 0;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
}

.job-history-pagination-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.job-history-pagination-page {
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.job-history-pagination-nav {
    width: 36px;
    height: 36px;
    border: 1px solid #d8e2f1;
    border-radius: 12px;
    background: #fff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

    .job-history-pagination-nav:hover {
        color: var(--blue);
        border-color: #bdd6ff;
        background: #f8fbff;
    }

    .job-history-pagination-nav.disabled,
    .job-history-pagination-nav[aria-disabled="true"] {
        pointer-events: none;
        color: #94a3b8;
        border-color: #e2e8f0;
        background: #f8fafc;
        box-shadow: none;
    }

    .job-history-pagination-nav i {
        font-size: 12px;
    }

.history-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.history-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    background: #f8fbff;
    display: grid;
    gap: 8px;
}

    .history-card span {
        color: var(--muted);
        font-size: 13px;
        font-weight: 900;
    }

    .history-card strong {
        letter-spacing: -0.035em;
        line-height: 1.35;
    }

    .history-card small {
        color: var(--muted);
        font-weight: 700;
        line-height: 1.4;
    }

    .history-card button {
        margin-top: 6px;
        min-height: 40px;
        border-radius: 14px;
        border: 1px solid var(--line);
        background: #fff;
        color: var(--blue);
        font-weight: 950;
    }

.settings-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 18px;
}

    .setting-row strong {
        display: block;
        margin-bottom: 4px;
        letter-spacing: -0.03em;
    }

    .setting-row span {
        display: block;
        color: var(--muted);
        font-size: 13px;
        font-weight: 650;
        line-height: 1.45;
    }

.danger-box {
    margin-top: 16px;
    border: 1px solid #fecdd3;
    background: var(--red-soft);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

    .danger-box strong {
        display: block;
        color: #991b1b;
        margin-bottom: 4px;
    }

    .danger-box span {
        color: #7f1d1d;
        font-weight: 650;
        line-height: 1.4;
    }

/*Employer Profile Page CSS Ends*/

/*Candidate Profile Page CSS Ends*/
.candidateProfile .hero {
    grid-template-columns: 1fr;
}

.candidateProfile .hero-main {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.candidateProfile .hero-actions {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.profile-avatar-shell,
.profile-picture-preview {
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f5f9ff, #eef6ff);
}

.profile-avatar-shell {
    border-radius: 50%;
}

.profile-avatar-image,
.profile-picture-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.applicant-profile-avatar {
    width: 108px;
    height: 108px;
    min-width: 108px;
    border: 1px solid #dbeafe;
    box-shadow: 0 16px 30px rgba(23, 105, 232, 0.16);
    flex: 0 0 108px;
}

.applicant-profile-avatar-fallback {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 40px;
}

.profile-avatar-initials {
    color: #fff;
}

.profile-picture-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 8px 0 24px;
    text-align: center;
}

.profile-picture-preview {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    border: 1px solid #dbeafe;
    box-shadow: 0 16px 30px rgba(23, 105, 232, 0.14);
}

.profile-picture-placeholder {
    color: var(--blue);
    font-size: 42px;
}

.profile-picture-panel .helper-text {
    margin: 0;
}

.offer-grid {
    grid-template-columns: 1.5fr 0.75fr 0.65fr 0.75fr 0.65fr;
}
/*Candidate Profile Page CSS Ends*/

.field-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.input-error {
    border: 1px solid #dc3545 !important;
}

.message-success,
.message-error {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

.message-success {
    background: #e7f7ed;
    color: #198754;
    border: 1px solid #badbcc;
}

.message-error {
    background: #fdeaea;
    color: #dc3545;
    border: 1px solid #f5c2c7;
}

.global-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
}

.loader-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #e5e5e5;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: auto;
}

.loader-text {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.d-none {
    display: none !important;
}

.justify-self-end {
    justify-self: end;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.mobile-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    height: 54px;
    position: relative;
}

    .mobile-input-group .country-code {
        padding: 0 14px;
        background: #f5f5f5;
        border-right: 1px solid #dcdcdc;
        font-weight: 600;
        height: 100%;
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

    .mobile-input-group input {
        border: none !important;
        outline: none !important;
        width: 100%;
        height: 100%;
        padding: 0 14px;
        box-shadow: none !important;
    }

.iti {
    width: 100%;
}

    .iti input {
        width: 100%;
        height: 54px;
        border-radius: 12px;
        border: 1px solid #dcdcdc;
        padding-left: 90px !important;
    }

.iti--separate-dial-code .iti__selected-flag {
    background-color: #f5f5f5;
}

.salary-input-group {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid #d9d9d9;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.salary-currency {
    padding: 14px 16px;
    background: #f5f5f5;
    border-right: 1px solid #d9d9d9;
    font-weight: 600;
    white-space: nowrap;
    height: 100%;
    display: flex;
    align-items: center;
}

.salary-input-group input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent;
    width: 100%;
    padding: 14px 16px;
}

.pointer {
    cursor: pointer;
}

@media (max-width: 1180px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
        min-height: 42px;
        border-radius: 999px;
        border: 1px solid var(--line);
        background: #fff;
        color: #334155;
        padding: 0 14px;
        align-items: center;
        font-weight: 900;
    }

    .nav.open .nav-links {
        display: grid;
        position: absolute;
        top: 67px;
        left: 16px;
        right: 16px;
        background: #fff;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 24px;
        box-shadow: var(--shadow);
    }

    .categories {
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-card {
        grid-template-columns: 1fr;
    }

    .trust-points {
        grid-template-columns: 1fr;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .account-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .stepper {
        display: none;
    }

    .layout {
        grid-template-columns: 1fr;
    }

    .summary-card {
        position: static;
    }

    profile-layout {
        grid-template-columns: 1fr;
    }

    .side-nav-card {
        position: static;
        display: flex;
        overflow-x: auto;
        gap: 8px;
    }

    .side-nav-item {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
    }

    .document-grid,
    .history-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .find-jobs-page {
        grid-template-columns: 1fr;
    }

    .filters {
        position: static;
        display: none;
    }

    .mobile-filter-bar {
        display: flex;
    }

    .job-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sponsored-list {
        grid-template-columns: 1fr;
    }

    .companies {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .hero-main,
    .hero-card {
        padding: 20px;
    }

    .two-fields {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-grid {
        grid-template-columns: 1fr;
        padding: 44px 16px;
    }

    .section {
        padding: 44px 16px;
    }

    .trust-band {
        padding: 0 16px 44px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-grid.two {
        grid-template-columns: 1fr;
    }

    .candidate-card {
        grid-template-columns: 1fr;
    }

    .candidate-actions {
        min-width: 100%;
    }

    .topbar-inner {
        flex-wrap: wrap;
    }

    .top-actions {
        width: 100%;
    }

    .language-select,
    .country-select {
        flex: 1;
    }

    .section-body,
    .section-head,
    .bottom-action-card {
        padding: 20px;
    }

    .grid-2,
    .grid-3,
    .benefit-grid,
    .doc-grid {
        grid-template-columns: 1fr;
    }

    .tile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-head,
    .bottom-action-card {
        flex-direction: column;
        align-items: stretch;
    }

    .section-note {
        white-space: normal;
    }

    .action-buttons {
        justify-content: stretch;
    }

    .whatsapp-help {
        right: 16px;
        left: 16px;
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .find-jobs-page {
        padding: 14px 16px 40px;
    }

    .top-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .job-card {
        grid-template-columns: 1fr;
    }

    .job-actions {
        width: 100%;
    }

    .job-facts {
        grid-template-columns: 1fr;
    }

    .bottom-grid {
        grid-template-columns: 1fr;
    }

    .companies {
        grid-template-columns: 1fr;
    }

    .content-card {
        border-radius: 24px;
        padding: 20px;
    }

    .identity-block {
        align-items: flex-start;
    }

    .large-avatar {
        width: 58px;
        height: 58px;
        border-radius: 50%;
        font-size: 22px;
    }

    .profile-picture-preview {
        width: 112px;
        height: 112px;
    }

    .profile-picture-placeholder {
        font-size: 36px;
    }

    .company-logo-preview {
        width: min(100%, 300px);
    }

    .company-logo-placeholder {
        font-size: 36px;
    }

    .company-logo-edit-icon {
        width: 32px;
        height: 32px;
        right: 10px;
        bottom: 10px;
    }

    .form-grid.two {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .card-head {
        flex-direction: column;
    }

    .setting-row,
    .danger-box,
    .info-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-actions {
        width: 100%;
        justify-content: stretch;
    }

        .hero-actions .btn {
            flex: 1;
        }

    .job-history-pagination {
        align-items: stretch;
    }

    .job-history-pagination-count {
        white-space: normal;
    }

    .job-history-pagination-controls {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .page-shell {
        padding: 22px 14px 86px;
    }

    .brand {
        min-width: auto;
        font-size: 18px;
    }

    .logo-mark {
        width: 34px;
        height: 34px;
    }

    .hero-main {
        border-radius: 24px;
    }

    .categories {
        grid-template-columns: 1fr;
    }

    .panel-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .custom-modal {
        padding: 18px;
        border-radius: 24px;
    }

    .profile-row {
        grid-template-columns: 1fr;
    }

    .history-item {
        grid-template-columns: 1fr;
    }

    .custom-modal-head h2 {
        font-size: 24px;
    }

    h1 {
        font-size: 36px;
    }

    .tile-grid {
        grid-template-columns: 1fr;
    }

    .skill-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Shared Job Details Modal Styles
   Used by Admin Approvals and Employer Profile pages.
   ============================================================ */

.details-modal .custom-modal {
    width: min(100%, 720px);
}

.details-section {
    margin-bottom: 22px;
}

.details-section-title {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.details-field {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 14px;
}

.details-field.full-width {
    grid-column: 1 / -1;
}

.details-field .field-label {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 4px;
}

.details-field .field-value {
    font-size: 14px;
    font-weight: 750;
    color: var(--ink);
    line-height: 1.5;
}

.details-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.details-tag {
    padding: 3px 10px;
    border-radius: 8px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

.modal-action-bar {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    justify-content: flex-end;
}

.modal-action-bar .btn-approve {
    height: 44px;
    padding: 0 20px;
    border-radius: 14px;
    border: 0;
    background: #dcfce7;
    color: #15803d;
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: 0.15s ease;
}

.modal-action-bar .btn-approve:hover {
    background: #bbf7d0;
}

.modal-action-bar .btn-reject {
    height: 44px;
    padding: 0 20px;
    border-radius: 14px;
    border: 0;
    background: #fff1f2;
    color: #be123c;
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: 0.15s ease;
}

.modal-action-bar .btn-reject:hover {
    background: #fecdd3;
}

/* Status badge shared styles (also used on admin table and employer history) */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 900;
}

.status-badge.pending {
    background: #fff7ed;
    color: #c2410c;
}

.status-badge.approved {
    background: #dcfce7;
    color: #15803d;
}

.status-badge.rejected {
    background: #fff1f2;
    color: #be123c;
}

@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Shared Pagination & Table Utility Styles
   ============================================================ */

.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-top: 1px solid var(--line);
    background: #f8fafc;
    gap: 12px;
    flex-wrap: wrap;
}

.pagination-info {
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.pagination-btns {
    display: flex;
    gap: 6px;
    align-items: center;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-soft);
}

.page-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(23, 105, 232, 0.25);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ============================================================
   Employer Job History Tabs
   ============================================================ */

.jh-tabs {
    display: flex;
    gap: 8px;
    background: #f1f5f9;
    border-radius: 18px;
    padding: 6px;
    margin-bottom: 20px;
    width: fit-content;
    flex-wrap: wrap;
}

.jh-tab {
    height: 40px;
    padding: 0 18px;
    border-radius: 14px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
    transition: 0.15s ease;
    white-space: nowrap;
}

.jh-tab.active {
    background: #fff;
    color: var(--blue);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.jh-tab .jh-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    border-radius: 9px;
    background: #e2e8f0;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    margin-left: 5px;
    padding: 0 4px;
}

.jh-tab.active .jh-tab-count {
    background: var(--blue-soft);
    color: var(--blue);
}

.jh-actions {
    display: flex;
    gap: 5px;
    align-items: center;
    overflow: visible !important;
    text-overflow: clip !important;
}

#jhEmpty {
    text-align: center;
    padding: 48px 24px;
    color: var(--muted);
}

#jhEmpty i {
    font-size: 36px;
    margin-bottom: 12px;
    opacity: 0.35;
    display: block;
}

#jhEmpty p {
    font-size: 15px;
    font-weight: 750;
    margin: 0;
}

.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.table-search {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 360px;
}

.table-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 14px;
}

.table-search input {
    width: 100%;
    height: 42px;
    padding: 0 14px 0 38px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    font-size: 14px;
    color: var(--ink);
    outline: none;
    font-weight: 700;
    transition: border-color 0.15s ease;
}

.table-search input:focus {
    border-color: var(--blue);
}

.table-info {
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
}

.applicant-toolbar {
    margin-bottom: 0;
}

.applicant-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.applicant-sort {
    min-width: 220px;
    max-width: 260px;
}

.applicant-table-wrap {
    overflow: hidden;
}

.applicant-table-scroll {
    overflow-x: auto;
}

.applicant-table {
    width: 100%;
    min-width: 1150px;
    border-collapse: collapse;
    font-size: 13.5px;
}

.applicant-table thead th {
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
    text-align: left;
    font-size: 12px;
    font-weight: 900;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.applicant-table thead th.sortable {
    cursor: pointer;
    user-select: none;
}

.applicant-table thead th.sortable:hover {
    color: var(--blue);
}

.applicant-table thead th .sort-icon {
    margin-left: 5px;
    opacity: 0.5;
}

.applicant-table thead th.sort-active .sort-icon {
    opacity: 1;
    color: var(--blue);
}

.applicant-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.1s ease;
}

.applicant-table tbody tr:last-child {
    border-bottom: none;
}

.applicant-table tbody tr:hover {
    background: #f8fafc;
}

.applicant-table tbody td {
    padding: 12px 14px;
    color: var(--ink);
    font-weight: 700;
    vertical-align: middle;
    white-space: nowrap;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.applicant-table tbody td strong {
    font-weight: 800;
}

.applicant-table .candidate-col {
    min-width: 250px;
}

.applicant-table tbody td.candidate-cell {
    white-space: normal;
    max-width: 280px;
}

.candidate-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.candidate-avatar-shell {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f9ff, #eef6ff);
    border: 1px solid #dbeafe;
    box-shadow: 0 8px 18px rgba(23, 105, 232, 0.12);
    flex: 0 0 42px;
}

.candidate-avatar-image,
.candidate-avatar-fallback {
    width: 100%;
    height: 100%;
}

.candidate-avatar-image {
    display: block;
    object-fit: cover;
}

.candidate-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 16px;
}

.candidate-summary-text {
    min-width: 0;
    display: flex;
    align-items: center;
}

    .candidate-summary-text strong {
        display: block;
        white-space: normal;
        line-height: 1.35;
        word-break: break-word;
    }

.applicant-table .actions-col {
    width: 265px;
}

.applicant-job-details .details-field .field-value {
    white-space: pre-line;
}

.applicant-job-details .details-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

@media (max-width: 1400px) {
    .applicant-job-details .details-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .applicant-job-details .details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .applicant-job-details .details-grid {
        grid-template-columns: 1fr;
    }
}

.applicant-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

    .applicant-actions .mini-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 36px;
        line-height: 1;
    }

        .applicant-actions .mini-btn i {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
            font-size: 14px;
        }

.applicant-status-remarks-hint {
    margin-bottom: 10px;
    color: #64748b;
    font-size: 14px;
}

.applicant-status-remarks-input {
    min-height: 100px;
    font-size: 14px;
    font-weight: 700;
}

.status-badge.viewed {
    background: #eff6ff;
    color: #1d4ed8;
}

.status-badge.under-review {
    background: #fff7ed;
    color: #c2410c;
}

.status-badge.shortlisted {
    background: #dcfce7;
    color: #15803d;
}

.application-timeline {
    --timeline-stage-min-width: 200px;
    --stage-arrow-size: 20px;
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 12px;
    min-width: max-content;
    padding: 4px 0;
}

.application-timeline-scroll {
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 8px;
}

.timeline-stage {
    --stage-bg: var(--blue);
    --stage-text: #ffffff;
    position: relative;
    flex: 1 1 var(--timeline-stage-min-width);
    min-width: var(--timeline-stage-min-width);
    min-height: 70px;
    padding: 12px calc(20px + var(--stage-arrow-size)) 12px 18px;
    background: var(--stage-bg);
    color: var(--stage-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    clip-path: polygon(0 0, calc(100% - var(--stage-arrow-size)) 0, 100% 50%, calc(100% - var(--stage-arrow-size)) 100%, 0 100%);
}

.timeline-stage:last-child {
    padding-right: 20px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.timeline-stage-title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.timeline-stage-date {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.9);
}

.timeline-stage.applied {
    --stage-bg: var(--blue);
}

.timeline-stage.viewed {
    --stage-bg: #7c3aed;
}

.timeline-stage.under-review {
    --stage-bg: #ea580c;
}

.timeline-stage.shortlisted {
    --stage-bg: var(--green);
}

.timeline-stage.rejected {
    --stage-bg: var(--red);
}

.timeline-stage.current-stage {
    filter: brightness(0.92);
    z-index: 10;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.timeline-stage.has-remarks {
    cursor: help;
}

.timeline-stage.has-remarks:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.62);
    outline-offset: 2px;
}

.timeline-remarks-indicator {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    z-index: 4;
}

.timeline-remarks-tooltip {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1200;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.16s ease, transform 0.16s ease;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    background: #0f172a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    max-width: min(340px, calc(100vw - 24px));
}

.timeline-remarks-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .application-timeline {
        --timeline-stage-min-width: 175px;
        --stage-arrow-size: 18px;
    }
}

@media (max-width: 640px) {
    .application-timeline-scroll {
        margin-left: -8px;
        margin-right: -8px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .application-timeline {
        --timeline-stage-min-width: 165px;
        --stage-arrow-size: 16px;
    }

    .timeline-stage {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

.resume-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .applicant-toolbar {
        align-items: flex-start;
    }

    .applicant-toolbar .table-search {
        max-width: none;
    }

    .applicant-toolbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .applicant-sort {
        min-width: 200px;
    }
}

@media (max-width: 640px) {
    .candidate-avatar-shell {
        width: 38px;
        height: 38px;
        min-width: 38px;
        flex-basis: 38px;
    }

    .applicant-toolbar-right {
        flex-direction: column;
        align-items: stretch;
    }

    .applicant-sort {
        min-width: 100%;
        max-width: none;
    }
}
