/* ==========================================================================
   ENTERPRISE DESIGN TOKENS & BASE
   ========================================================================== */
:root {
    --primary-blue: #2563EB;
    --primary-blue-hover: #1D4ED8;
    --primary-orange: #F97316;
    --primary-orange-hover: #EA580C;
    --bg-dark: #0B1221;
    --bg-main: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --border-subtle: #E2E8F0;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-soft: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.text-orange {
    color: var(--primary-orange);
}

.text-blue {
    color: var(--primary-blue);
}

.text-green {
    color: #16A34A;
}

.text-yellow {
    color: #EAB308;
}

.text-white {
    color: #fff;
}

.text-2xl {
    font-size: 24px;
}

.text-3xl {
    font-size: 30px;
}

.font-extrabold {
    font-weight: 800;
}

.bg-blue-light {
    background-color: #EFF6FF;
}

.bg-orange-light {
    background-color: #FFF7ED;
}

.bg-yellow-light {
    background-color: #FEFCE8;
}

.bg-green-light {
    background-color: #F0FDF4;
}

.bg-dark {
    background-color: var(--bg-dark);
}

.bg-gray {
    background-color: #E2E8F0;
}

.bg-blue {
    background-color: var(--primary-blue);
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-80 {
    margin-top: 80px;
}

.mt-2 {
    margin-top: 8px;
}

.mt-3 {
    margin-top: 16px;
}

.text-center {
    text-align: center;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-orange-hover);
}

/* For destructive confirmations (delete/suspend/reject) inside CPConfirm's
   themed dialog — see js/prompt-modal.js. */
.btn-danger {
    background-color: #DC2626;
    color: white;
}

.btn-danger:hover {
    background-color: #B91C1C;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: #EFF6FF;
}

.btn-blue {
    background-color: var(--primary-blue);
    color: white;
}

.btn-outline-white {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   TOP BAR & NAVBAR
   ========================================================================== */
.top-bar {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span,
.top-bar-right a {
    margin-right: 24px;
    color: var(--text-muted);
    font-weight: 500;
}

.top-bar-left i,
.top-bar-right i {
    margin-right: 6px;
}

.btn-top-register {
    background: var(--primary-orange);
    color: white !important;
    padding: 4px 12px;
    border-radius: 4px;
}

.hamburger-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}

.navbar {
    border-bottom: 1px solid var(--border-subtle);
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-logo {
    max-height: 65px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-icon {
    font-size: 10px;
    color: var(--text-muted);
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding: 60px 0 120px;
    background: #FAFAFA;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, #FFF7ED 0%, transparent 40%), radial-gradient(circle at bottom left, #EFF6FF 0%, transparent 40%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    width: 50%;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #FFF7ED;
    color: var(--primary-orange);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #0F172A;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero-image-area {
    width: 55%;
    display: flex;
    justify-content: flex-end;
}

.hero-main-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
    z-index: 2;
    position: relative;
}

/* ==========================================================================
   SEARCH BAR
   ========================================================================== */
.search-wrapper {
    margin-top: -120px;
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.search-bar-gradient {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    border-radius: 20px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 16px 40px -4px rgba(15, 23, 42, 0.2);
}

.search-inputs-white {
    background: white;
    border-radius: 14px;
    padding: 8px;
    display: flex;
    align-items: center;
    width: 75%;
}

.input-group {
    flex: 1;
    padding: 4px 16px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.input-group input,
.input-group select {
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--text-secondary);
    width: 100%;
    font-weight: 500;
    background: transparent;
}

.input-divider {
    width: 1px;
    height: 32px;
    background-color: var(--border-subtle);
}

.btn-search-large {
    padding: 16px 32px;
    font-size: 15px;
    border-radius: 10px;
}

.popular-searches-area {
    width: 25%;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popular-searches-area p {
    color: white;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.tags-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dark-tag {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
}

.dark-tag.icon-tag {
    padding: 4px 10px;
    font-size: 12px;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 32px 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    margin-bottom: 80px;
    border: 1px solid var(--border-subtle);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background-color: var(--border-subtle);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-text h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 2px;
}

.stat-text p {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================================================
   CATEGORIES SECTION
   ========================================================================== */
.section {
    margin-bottom: 80px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 800;
}

.section-header .subtitle {
    color: var(--text-secondary);
    margin-top: 8px;
    font-size: 15px;
}

.view-all {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
}

.grid-8 {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}

.category-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px 12px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.icon-box {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
    margin-bottom: 16px;
}

.border-box {
    border: 1px solid var(--border-subtle);
    background: white;
    color: var(--text-muted);
}

.category-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.category-card p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ==========================================================================
   FEATURED JOBS
   ========================================================================== */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.job-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.job-company-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.bookmark-icon {
    color: var(--text-muted);
    font-size: 18px;
}

.job-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.job-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.job-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.tag-pill {
    background: #F1F5F9;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

.salary {
    font-weight: 700;
    font-size: 15px;
}

.posted {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   TOP COMPANIES HIRING
   ========================================================================== */
.company-logos-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.actual-logo {
    height: 32px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

/* ==========================================================================
   FIND YOUR PATH (Exact Deep Navy Horizontal Layout)
   ========================================================================== */
.path-section-new {
    background-color: #06142E;
    /* Exact Deep Navy Blue Color Grading */
    padding: 30px 0;
    /* बहुत पतला (Thin) बना दिया है */
    margin: 60px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.path-inner-new {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* --- Left Side: Door & Glow Effect --- */
.path-door-side {
    width: 250px;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* लोगो को राइट में धकेलने के लिए */
}

/* Open Door Image with Fade out */
.path-door-bg {
    position: absolute;
    left: -150px;
    top: -50px;
    width: 350px;
    height: 300px;
    background: url('door.png') center/cover;
    opacity: 0.6;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
}

/* The Bright Light coming from the door */
.door-glow-effect {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 150px;
    background: #FFFFFF;
    filter: blur(30px);
    box-shadow: 0 0 80px 40px rgba(255, 255, 255, 0.3), 0 0 40px 20px rgba(59, 130, 246, 0.4);
    z-index: 1;
}

/* Glowing Logo */
.door-logo {
    position: relative;
    z-index: 2;
    width: 140px;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
}

/* --- Right Side: Content & Cards --- */
.path-content-side {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.path-title {
    color: #FFFFFF;
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.path-card-new {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: 0.3s;
}

.path-card-new:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.path-icon-new {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
}

/* Specific Icon Colors from Screenshot */
.icon-blue {
    color: #3B82F6;
}

.icon-orange {
    color: #F97316;
}

.icon-teal {
    color: #10B981;
}

.path-card-new h3 {
    color: #FFFFFF;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 700;
}

.path-card-new p {
    color: #94A3B8;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.path-card-new .btn {
    width: 100%;
    font-size: 13px;
    padding: 10px 0;
    justify-content: center;
}

/* --- Mobile Responsiveness for New Path Section --- */
@media (max-width: 1024px) {
    .path-inner-new {
        flex-direction: column;
        gap: 20px;
    }

    .path-door-side {
        width: 100%;
        justify-content: center;
        height: 150px;
    }

    .path-door-bg {
        left: 0;
        width: 100%;
        opacity: 0.3;
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%);
    }

    .door-glow-effect {
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .path-content-side {
        width: 100%;
    }
}

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


}

/* The 3 Cards Container */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.path-card {
    background: #162032;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: left;
}

.path-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.path-card h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 12px;
}

.path-card p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.review-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

.quote-icon {
    font-size: 32px;
    color: var(--border-subtle);
    margin-bottom: 16px;
    display: block;
}

.review-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

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

.reviewer-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.reviewer h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.reviewer p {
    font-size: 13px;
    color: var(--text-muted);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-subtle);
}

.slider-dots .dot.active {
    background: var(--primary-blue);
}

/* ==========================================================================
   LATEST INSIGHTS
   ========================================================================== */
.blog-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.blog-img-box {
    height: 200px;
    position: relative;
    padding: 16px;
}

.blog-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-content {
    padding: 24px;
}

.blog-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

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

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.newsletter {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nl-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nl-icon {
    font-size: 40px;
    color: var(--primary-orange);
}

.nl-form-wrapper {
    display: flex;
    gap: 12px;
    width: 400px;
}

.nl-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    outline: none;
}

/* ==========================================================================
   FULL FOOTER
   ========================================================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-muted);
    padding-top: 80px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.5fr;
    gap: 32px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    margin: 20px 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-blue);
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--primary-blue);
    margin-top: 4px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
}

/* ==========================================================================
   ALL MEDIA QUERIES (TABLET & MOBILE RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
    .top-bar-left span {
        margin-right: 12px;
        font-size: 11px;
    }

    .top-bar-right a {
        margin-left: 12px;
        font-size: 11px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-content {
        width: 60%;
    }

    .hero-image-area {
        width: 40%;
    }

    .search-bar-gradient {
        flex-direction: column;
        gap: 16px;
    }

    .search-inputs-white {
        width: 100%;
    }

    .popular-searches-area {
        width: 100%;
        padding-left: 0;
        align-items: center;
        text-align: center;
    }

    .tags-row {
        justify-content: center;
    }

    .stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .grid-8 {
        grid-template-columns: repeat(4, 1fr);
    }

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

    /* Path Section Tablets */
    .path-door-wrapper {
        width: 200px;
    }

    .newsletter {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 32px;
    }

    .nl-content {
        flex-direction: column;
        text-align: center;
    }

    /* Footer Tablet */
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {

    .top-bar,
    .nav-links,
    .nav-actions {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .navbar-inner {
        padding: 0 16px;
    }

    /* Hero Text Alignment Fix (Left Aligned like the Screenshot) */
    .hero-inner {
        flex-direction: column;
        text-align: left;
        /* Center से हटाकर Left कर दिया */
        padding-top: 20px;
        align-items: flex-start;
        /* लेफ्ट में चिपकाने के लिए */
    }

    .hero-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        /* लेफ्ट अलाइनमेंट */
        margin-bottom: 0;
    }

    /* ==========================================================
       HERO TEXT FIX (Forced Sizes & Icon Spacing for Mobile)
       ========================================================== */
    .hero-title {
        font-size: 48px !important;
        /* साइज़ फिक्स और फाॅर्स कर दिया */
        text-align: left !important;
        line-height: 1.1 !important;
        margin-bottom: 16px !important;
    }

    .hero-subtitle {
        font-size: 16px !important;
        text-align: left !important;
        max-width: 100% !important;
        margin-bottom: 28px !important;
    }

    /* Features Vertical alignment & Gap */
    .hero-features {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }

    .hero-features span {
        font-size: 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    /* Icons Fix: Adding specific margin to push text away */
    .hero-features i {
        font-size: 20px !important;
        margin-right: 12px !important;
        /* यह आइकॉन और टेक्स्ट के बीच का गैप वापस लाएगा */
        width: 24px !important;
        /* आइकॉन्स को एक सीधी लाइन में अलाइन करने के लिए */
        text-align: center !important;
    }

    .hero-image-area {
        width: 100%;
        justify-content: center;
    }

    .search-inputs-white {
        flex-direction: column;
        width: 100%;
        padding: 16px;
    }

    .input-divider {
        width: 100%;
        height: 1px;
        margin: 8px 0;
    }

    .input-group {
        width: 100%;
        padding: 8px 0;
    }

    .btn-search-large {
        width: 100%;
        margin-top: 12px;
    }

    /* Horizontal Swipes for Mobile */
    .grid-8 {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 16px;
        gap: 16px;
    }

    .category-card {
        flex: 0 0 75%;
        scroll-snap-align: center;
    }

    /* ==========================================================
       STATS (STARS) SECTION MOBILE FIX
       ========================================================== */
    .stats {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
        padding: 24px 12px !important;
        margin: 0 16px 40px 16px !important;
        background: white !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
        border: none !important;
        overflow: visible !important;
    }

    .stat-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        text-align: center !important;
    }

    .stat-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }

    .stat-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .stat-text h3 {
        font-size: 15px !important;
        font-weight: 800 !important;
        margin-bottom: 2px !important;
        letter-spacing: -0.5px !important;
        color: #0F172A !important;
    }

    .stat-text p {
        font-size: 10px !important;
        font-weight: 500 !important;
        color: #64748B !important;
        white-space: nowrap !important;
    }

    /* ==========================================================
       CATEGORY SECTION MOBILE FIX
       ========================================================== */
    .section-header {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 24px !important;
    }

    .section-header h2 {
        font-size: 18px !important;
        margin-bottom: 0 !important;
        color: #0F172A !important;
    }

    .view-all {
        font-size: 12px !important;
    }

    .grid-8 {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    .category-card {
        flex: auto !important;
        padding: 16px 8px !important;
        border-radius: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
    }

    .category-card .icon-box {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
        margin-bottom: 12px !important;
        border-radius: 12px !important;
    }

    .category-card h4 {
        font-size: 12px !important;
        font-weight: 800 !important;
        margin-bottom: 4px !important;
        white-space: nowrap !important;
        color: #0F172A !important;
    }

    .category-card p {
        font-size: 10px !important;
        margin: 0 !important;
        color: #64748B !important;
    }

    /* 7th Card (Engineering) - Hidden to keep 3x2 grid */
    .category-card:nth-child(7) {
        display: none !important;
    }

    /* 8th Card (More Categories) - Full Width */
    .category-card:nth-child(8) {
        grid-column: span 3 !important;
        flex-direction: row-reverse !important;
        gap: 8px !important;
        padding: 16px !important;
        box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
    }

    .category-card:nth-child(8) h4 {
        margin: 0 !important;
        font-size: 14px !important;
        color: #0F172A !important;
    }

    .category-card:nth-child(8) .icon-box {
        margin: 0 !important;
        width: auto !important;
        height: auto !important;
        border: none !important;
        background: transparent !important;
        color: var(--primary-blue) !important;
        font-size: 20px !important;
    }




    .company-logos-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .actual-logo {
        width: 30%;
    }

    /* Path Section Mobile */
    .path-door-wrapper {
        display: none;
        /* Hidden on mobile to save space, keeping cards clean */
    }

    .path-card {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .nl-form-wrapper {
        width: 100%;
        flex-direction: column;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    /* ==========================================================
       FEATURED JOBS & SECTION HEADER MOBILE FIX
       ========================================================== */
    /* Header Fix (ताकि Title, Subtitle और View All बटन को पूरी जगह मिले) */
    .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .section-header>div {
        width: 100% !important;
    }

    .section-header h2 {
        font-size: 22px !important;
        margin-bottom: 4px !important;
    }

    .section-header .subtitle {
        font-size: 13px !important;
        margin-top: 0 !important;
        line-height: 1.4 !important;
    }

    .view-all {
        align-self: flex-start !important;
    }

    /* Category वाले हेडर को वापस एक लाइन में रखने के लिए स्पेसिफिक फिक्स */
    .section:nth-of-type(2) .section-header {
        flex-direction: row !important;
        align-items: center !important;
    }

    /* Job Cards & Blog Cards Fix (1 Card per row - परफेक्ट मोबाइल व्यू के लिए) */
    .grid-4,
    .grid-3 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        /* 100% विड्थ लेगा और कोई टेक्स्ट नहीं कटेगा */
        gap: 20px !important;
    }

    /* ==========================================================
       FOOTER MOBILE FIX (Accordion Style like 5.08.42 AM)
       ========================================================== */
    .footer {
        padding-top: 40px !important;
    }

    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        /* गैप हटाया ताकि लाइन्स चिपकी हुई दिखें */
        padding-bottom: 20px !important;
        border-bottom: none !important;
    }

    .footer-brand {
        margin-bottom: 32px !important;
    }

    /* लोगो का साइज़ बड़ा करने के लिए */
    .footer-brand img {
        max-height: 60px !important;
    }

    /* सोशल आइकॉन्स से बैकग्राउंड हटाया */
    .social-links {
        gap: 24px !important;
        margin-top: 24px !important;
    }

    .social-links a {
        background: transparent !important;
        width: auto !important;
        height: auto !important;
        font-size: 20px !important;
        color: #FFFFFF !important;
    }

    /* Accordion Headers की स्टाइलिंग */
    .footer-col {
        width: 100% !important;
    }

    .footer-col h4 {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 16px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        font-size: 15px !important;
        color: #FFFFFF !important;
    }

    /* CSS के ज़रिए '+' का आइकॉन लगाना */
    .footer-col h4::after {
        content: '+' !important;
        font-size: 22px !important;
        font-weight: 300 !important;
        color: #FFFFFF !important;
    }

    /* मोबाइल पर लिंक्स और टेक्स्ट को हाईड करना */
    .footer-col ul,
    .footer-contact p {
        display: none !important;
    }

    /* ==========================================================
       TOP COMPANIES SECTION MOBILE FIX (Exact match to 5.10.08 AM)
       ========================================================== */

    /* Header Fix (इसे वापस एक लाइन में लाने के लिए) */
    section:nth-of-type(5) .section-header {
        flex-direction: row !important;
        align-items: center !important;
        margin-bottom: 24px !important;
    }

    section:nth-of-type(5) .section-header h2 {
        font-size: 18px !important;
        margin-bottom: 0 !important;
        color: #0F172A !important;
    }

    section:nth-of-type(5) .section-header .view-all {
        align-self: center !important;
        font-size: 12px !important;
    }

    /* 3-Column Grid Layout (Desktop वाली लाइन्स भी हटा दी हैं) */
    .company-logos-row {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        padding: 0 !important;
        border: none !important;
    }

    /* Images को वाइट कार्ड (Card) में कन्वर्ट करने का मैजिक */
    .actual-logo {
        width: 100% !important;
        height: 80px !important;
        /* कार्ड की फिक्स हाइट */
        max-width: none !important;
        padding: 16px 12px !important;
        background: #FFFFFF !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
        border: 1px solid rgba(226, 232, 240, 0.6) !important;
        object-fit: contain !important;
        margin: 0 !important;
    }

    /* आखिरी 2 लोगो को हाईड किया ताकि 3x2 का परफेक्ट ग्रिड बने (कुल 6 दिखेंगे) */
    .actual-logo:nth-child(n+7) {
        display: none !important;
    }


    /* ==========================================================
       MOBILE MENU OPEN STATE FIX
       ========================================================== */
    /* जब मेन्यू खुलेगा तो नेवबार अपनी हाइट एडजस्ट करेगा */
    .navbar.menu-open .navbar-inner {
        flex-wrap: wrap !important;
        height: auto !important;
        padding-bottom: 20px !important;
    }

    /* लिंक्स को एक के नीचे एक दिखाना */
    .navbar.menu-open .nav-links {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        order: 3 !important;
        /* लोगो और आइकॉन के नीचे लाने के लिए */
        padding: 24px 0 !important;
        margin-top: 20px !important;
        border-top: 1px solid #E2E8F0 !important;
        gap: 20px !important;
    }

    .navbar.menu-open .nav-links a {
        font-size: 16px !important;
        font-weight: 600 !important;
        justify-content: space-between !important;
        /* Arrow को राइट में धकेलने के लिए */
        width: 100% !important;
    }

    /* बटन को भी एक के नीचे एक दिखाना */
    .navbar.menu-open .nav-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        order: 4 !important;
        gap: 12px !important;
    }

    .navbar.menu-open .nav-actions .btn {
        width: 100% !important;
        padding: 12px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .stat-item {
        flex: 0 0 85%;
    }

    .category-card {
        flex: 0 0 85%;
    }
}


/* ==========================================================================
   FIND JOBS PAGE STYLES (Desktop & Mobile Fully Responsive)
   ========================================================================== */

.bg-light-gray {
    background-color: #F8FAFC;
}

/* Active Nav State */
.nav-links a.active {
    color: var(--primary-orange);
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 28px;
    margin-bottom: -30px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFFFFF 100%);
    padding: 40px 0 60px;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.page-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 8px;
}

.breadcrumbs {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.breadcrumbs i {
    font-size: 10px;
    margin: 0 6px;
}

.breadcrumbs span {
    color: var(--primary-orange);
}

.header-illustration {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-subtle);
}

.illus-text p {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.5;
}

.illus-icon {
    font-size: 32px;
    color: var(--primary-orange);
    opacity: 0.8;
}

/* Advanced Search Bar */
.adv-search-bar {
    background: white;
    border-radius: 16px;
    padding: 16px;
    display: grid;
    grid-template-columns: 2fr auto 1.5fr auto 1.5fr auto 1.5fr 1.5fr;
    align-items: center;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border-subtle);
}

.adv-input-group {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
}

.adv-input-group label {
    font-size: 12px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
}

.adv-input-group input,
.adv-input-group select {
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--text-secondary);
    width: 100%;
    background: transparent;
}

.adv-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-subtle);
}

.adv-search-btn {
    padding: 14px;
    font-size: 15px;
    border-radius: 10px;
    width: 100%;
}

/* Main Grid Layout */
.jobs-layout-grid {
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    gap: 24px;
    align-items: start;
}

/* Left Sidebar: Filters */
.filters-sidebar {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-subtle);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.filter-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.reset-link {
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 600;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    cursor: pointer;
}

.filter-group-header h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
}

.filter-group-header i {
    font-size: 12px;
    color: var(--text-muted);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 10px;
    accent-color: var(--primary-orange);
    width: 16px;
    height: 16px;
}

.checkbox-label span {
    flex: 1;
}

.checkbox-label .count {
    color: var(--text-muted);
    font-size: 12px;
    text-align: right;
}

.salary-inputs {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.salary-inputs div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.salary-inputs label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.salary-inputs input {
    padding: 8px;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-size: 12px;
    width: 100%;
}

.range-slider {
    position: relative;
    height: 4px;
    background: #E2E8F0;
    border-radius: 2px;
    margin: 24px 0 12px;
}

.range-fill {
    position: absolute;
    left: 0;
    right: 30%;
    top: 0;
    bottom: 0;
    background: var(--primary-orange);
    border-radius: 2px;
}

.range-thumb {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary-orange);
    border: 2px solid white;
    border-radius: 50%;
    top: -6px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.range-thumb.left {
    left: 0;
}

.range-thumb.right {
    right: 30%;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-full-width {
    width: 100%;
}

/* ==========================================================
       FIND JOBS - MOBILE FEED & CARD FIX (Exact 5.18.24 AM Fix)
       ========================================================== */

/* Feed Header को एक के नीचे एक करके साफ दिखाना */
/* ==========================================================
   FEED HEADER DESKTOP FIX (Exact match to 5.32.41 AM)
   ========================================================== */
.feed-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 24px !important;
    width: 100% !important;
}

.feed-header p {
    font-size: 14px !important;
    color: #64748B !important;
    margin: 0 !important;
}

.feed-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
}

.sort-by {
    font-size: 14px !important;
    color: #64748B !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.sort-by strong {
    color: #2563EB !important;
    /* Exact blue color */
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    cursor: pointer !important;
}

/* Toggles connected together like the screenshot */
.view-toggles {
    display: flex !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    gap: 0 !important;
}

.view-toggles span {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: white !important;
    color: #64748B !important;
    border: none !important;
    border-right: 1px solid #E2E8F0 !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

/* Fix missing icon in the second toggle */
.view-toggles span i {
    font-size: 14px !important;
    color: #64748B !important;
    /* डिफ़ॉल्ट ग्रे कलर */
}

.view-toggles span.active i {
    color: #0F172A !important;
    /* एक्टिव होने पर डार्क कलर */
}

/* Job Card Title Fix (बैज के साथ एडजस्टमेंट) */
.job-title-large {
    flex-wrap: wrap !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
}

/* Job Meta को 4 लाइनों से हटाकर 2-कॉलम ग्रिड (2x2) में सेट करना ताकि कार्ड छोटा रहे */
.job-meta-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
}

.job-meta-grid span {
    font-size: 12px !important;
}

/* Tags को सही से रैप (Wrap) करना ताकि वो बाहर न निकलें */
.job-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
}

/* Apply बटन और टाइम को आमने-सामने रखना */
.card-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
}

.action-area {
    width: 100% !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
}





.job-card-detailed {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-subtle);
    margin-bottom: 16px;
    transition: 0.2s;
}

.job-card-detailed:hover {
    border-color: #CBD5E1;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.company-info-flex {
    display: flex;
    gap: 16px;
}

.company-info-flex img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.job-title-large {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.badge-featured {
    background: #F0FDF4;
    color: #16A34A;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.company-name {
    font-size: 14px;
    color: var(--text-secondary);
}

.bookmark-btn {
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
}

.job-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 24px;
}

.job-meta-grid span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

.action-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.posted-time {
    font-size: 12px;
    color: var(--text-muted);
}

.btn-apply-outline {
    background: transparent;
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    padding: 8px 24px;
}

.btn-apply-outline:hover {
    background: #FFF7ED;
}

/* Right Sidebar: Widgets */
.widget-box {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-subtle);
    margin-bottom: 20px;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.widget-header h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
}

.widget-header a {
    font-size: 12px;
    color: var(--primary-blue);
    font-weight: 600;
}

.compact-job {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.compact-job.border-none {
    border-bottom: none;
    padding-bottom: 0;
}

.c-job-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.c-company-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

.c-job-info {
    flex: 1;
}

.c-job-info h5 {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
}

.c-job-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.c-job-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

.alert-widget .alert-content {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.alert-widget h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.alert-widget p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.alert-icon {
    width: 48px;
    height: 48px;
    background: #FFF7ED;
    color: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.trending-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.t-tag {
    background: #F1F5F9;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
}

.view-more-link {
    font-size: 12px;
    color: #0F172A;
    font-weight: 600;
    display: block;
}

/* ==========================================================
   MOBILE & TABLET RESPONSIVENESS (FIND JOBS)
   ========================================================== */
@media (max-width: 1024px) {
    .jobs-layout-grid {
        grid-template-columns: 240px 1fr;
    }

    .right-widgets-sidebar {
        display: none;
        /* Tablet पर राइट साइडबार हाइड */
    }

    .adv-search-bar {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .adv-divider {
        display: none;
    }

    .adv-search-btn {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .page-header-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .header-illustration {
        display: none;
        /* मोबाइल में इलस्ट्रेशन हाइड करके क्लीन लुक */
    }

    /* Search Bar Mobile Fix */
    .adv-search-bar {
        grid-template-columns: 1fr;
        padding: 16px;
        border-radius: 20px;
    }

    .adv-input-group {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-subtle);
    }

    .adv-input-group:nth-last-child(2) {
        border-bottom: none;
    }

    .adv-search-btn {
        grid-column: 1;
        margin-top: 16px;
    }

    /* Layout Mobile Fix */
    .jobs-layout-grid {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        order: 2;
        margin-top: 24px;
    }

    /* Filters नीचे, Jobs ऊपर */
    .jobs-main-feed {
        order: 1;
    }

    /* Job Card Mobile Fix */
    .job-meta-grid {
        flex-direction: column;
        gap: 12px;
    }

    .card-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .action-area {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* Nav Link overriding for mobile active state */
    .navbar.menu-open .nav-links a.active {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
        color: var(--primary-orange);
    }
}

/* ==========================================================================
   FIND JOBS: SEARCH BAR, FILTER ROW & JOB CARDS (PRO FIX)
   ========================================================================== */

/* 1. Search Bar Design */
.adv-search-bar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border-subtle);
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.adv-input-group {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    border: none !important;
}

.adv-input-group label {
    font-size: 12px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

/* Inputs with clear borders and icons */
.adv-input-group input,
.adv-input-group select {
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    color: #0F172A !important;
    width: 100% !important;
    background-color: white !important;
    outline: none !important;
    appearance: none !important;
}

.icon-location input {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" fill="%2394A3B8"><path d="M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"/></svg>') no-repeat right 12px center !important;
    background-size: 14px !important;
    padding-right: 36px !important;
}

.icon-select select {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="%2394A3B8"><path d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"/></svg>') no-repeat right 12px center !important;
    background-size: 12px !important;
    padding-right: 36px !important;
}

.mobile-filter-sort {
    display: none;
}

/* Desktop पर हाईड रहेगा */

/* 2. Tight & Professional Job Cards */
.job-card-detailed {
    padding: 20px !important;
    border-radius: 12px !important;
    margin-bottom: 16px !important;
}

.company-info-flex img {
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
}

.job-title-large {
    font-size: 16px !important;
    margin-bottom: 4px !important;
}

.badge-featured {
    font-size: 10px !important;
    padding: 2px 8px !important;
}

.company-name {
    font-size: 13px !important;
    margin-top: 2px !important;
}

.job-meta-grid {
    display: grid !important;
    grid-template-columns: auto auto !important;
    /* 2x2 Grid Desktop par bhi */
    justify-content: start !important;
    gap: 12px 32px !important;
    margin-bottom: 16px !important;
}

.job-meta-grid span {
    font-size: 12px !important;
    color: #64748B !important;
}

.job-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}

.tag-pill {
    font-size: 11px !important;
    padding: 4px 10px !important;
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    color: #475569 !important;
    border-radius: 6px !important;
}

.card-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding-top: 16px !important;
    border-top: none !important;
}

.action-area {
    width: 100% !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.posted-time {
    font-size: 11px !important;
    color: #94A3B8 !important;
}

.btn-apply-outline {
    padding: 6px 20px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
}


/* ==========================================================
   MOBILE VIEW (MAX-WIDTH: 768px)
   ========================================================== */
@media (max-width: 768px) {

    /* Search Form Mobile Grid (100% Exact to Screenshot) */
    .adv-search-bar {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding: 16px !important;
        border-radius: 12px !important;
    }

    .full-width {
        grid-column: span 2 !important;
    }

    .half-width {
        grid-column: span 1 !important;
    }

    .adv-search-btn {
        grid-column: span 2 !important;
        margin-top: 8px !important;
        padding: 12px !important;
        border-radius: 8px !important;
        font-size: 15px !important;
    }

    /* Mobile Filter & Sort Row */
    .mobile-filter-sort {
        display: flex !important;
        gap: 12px !important;
        margin-top: 16px !important;
    }

    .action-btn {
        flex: 1 !important;
        background: white !important;
        border: 1px solid var(--border-subtle) !important;
        border-radius: 8px !important;
        padding: 10px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #0F172A !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
        cursor: pointer !important;
    }

    /* Purana Sort By Mobile se chhupana */
    .feed-header .feed-actions {
        display: none !important;
    }

    .feed-header p {
        font-size: 12px !important;
        margin-bottom: -10px !important;
    }

    /* Job Card Meta Mobile Fix */
    .job-meta-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px 12px !important;
    }

    .job-title-large {
        font-size: 15px !important;
        align-items: flex-start !important;
        flex-wrap: wrap !important;
    }
}


@media (max-width: 768px) {

    /* मोबाइल में डिफ़ॉल्ट रूप से पूरा साइडबार छुपा रहेगा */
    .filters-sidebar {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1000 !important;
        background: rgba(0, 0, 0, 0.5) !important;
    }

    /* जब एक्टिव होगा तो यह नीचे से स्लाइड होकर ऊपर आएगा और अंदर का सारा डेटा दिखेगा */
    .filters-sidebar.mobile-active {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        padding: 0 !important;
    }

    /* वाइट पॉपअप बॉक्स जिसके अंदर सारा डेटा होगा */
    .filters-sidebar.mobile-active {
        background: rgba(0, 0, 0, 0.4) !important;
    }

    /* अंदर के कंटेंट एरिया को स्लाइडर जैसा बनाना */
    .filters-sidebar.mobile-active::after {
        content: '';
        /* यह सिर्फ एक कंटेनर का काम करेगा */
    }

    /* असली वाइट बॉक्स जहाँ फिल्टर्स रहेंगे */
    .filters-sidebar.mobile-active {
        display: block !important;
        background: white !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 85vh !important;
        border-radius: 24px 24px 0 0 !important;
        overflow-y: auto !important;
        padding: 24px !important;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2) !important;
    }

    /* हेडर को ऊपर चिपकाना */
    .filters-sidebar.mobile-active .filter-header {
        position: sticky !important;
        top: -24px !important;
        background: white !important;
        z-index: 10 !important;
        padding: 16px 0 !important;
        margin-top: -24px !important;
        margin-left: -24px !important;
        margin-right: -24px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        border-bottom: 1px solid var(--border-subtle) !important;
    }

    .filter-close-btn {
        display: block !important;
        background: transparent !important;
        border: none !important;
        font-size: 20px !important;
        cursor: pointer !important;
        color: #0F172A !important;
    }
}

.filter-close-btn {
    display: none;
}

/* ==========================================================================
   COMPANIES PAGE STYLES
   ========================================================================== */

.page-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 8px;
    max-width: 480px;
}

/* Decorative header illustration */
.companies-illustration {
    position: relative;
    width: 320px;
    height: 180px;
    flex-shrink: 0;
}

.companies-illustration .bldg {
    position: absolute;
    color: rgba(249, 115, 22, 0.18);
}

.companies-illustration .b1 {
    right: 40px;
    bottom: 0;
    font-size: 110px;
}

.companies-illustration .b2 {
    right: 160px;
    bottom: 0;
    font-size: 90px;
}

.companies-illustration .b3 {
    right: 0;
    bottom: 0;
    font-size: 70px;
}

.companies-illustration .search-glass {
    position: absolute;
    right: 70px;
    bottom: 40px;
    font-size: 44px;
    color: #9A3412;
    transform: rotate(0deg);
}

/* Search Bar */
.company-search-bar {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border-subtle);
    display: grid;
    grid-template-columns: 1.6fr 1.2fr 1.2fr 1.2fr auto;
    gap: 16px;
    align-items: end;
}

/* Companies Grid */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.company-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: 0.2s;
}

.company-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

.company-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.company-logo-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.company-logo-box img {
    max-width: 65%;
    max-height: 65%;
    object-fit: contain;
}

.company-logo-box.logo-block {
    border: none;
}

.company-logo-box.small {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.company-name {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #16A34A;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
}

.company-industry {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.company-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.company-info-list span {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-info-list i {
    color: var(--text-muted);
    width: 14px;
    text-align: center;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: white;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
}

.page-num.active {
    background: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
}

.page-dots {
    color: var(--text-muted);
    font-size: 13px;
    padding: 0 4px;
}

.page-next {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    height: 36px;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--border-subtle);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
}

.page-next:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

/* Right Sidebar: Top Companies Hiring */
.hiring-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.hiring-item.last,
.hiring-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hiring-item-info h5 {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
}

.hiring-item-info p {
    font-size: 11px;
    color: var(--text-muted);
}

/* Right Sidebar: Explore by Location */
.location-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 13px;
}

.location-item.last,
.location-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.location-item span:first-child {
    color: var(--text-primary);
    font-weight: 600;
}

.location-item span:last-child {
    color: var(--text-muted);
    font-size: 12px;
}

/* Right Sidebar: Employer CTA */
.employer-cta-card {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border: 1px solid #FED7AA;
}

.employer-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 20px;
    margin-bottom: 16px;
}

.employer-cta-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
}

.employer-cta-card p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* ==========================================================
   COMPANIES PAGE: RESPONSIVENESS
   ========================================================== */
@media (max-width: 1024px) {
    .companies-illustration {
        display: none;
    }

    .company-search-bar {
        grid-template-columns: 1fr 1fr;
    }

    .company-search-bar .adv-search-btn {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .page-header-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .company-search-bar {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding: 16px !important;
        border-radius: 12px !important;
    }

    .company-search-bar .adv-input-group:first-child {
        grid-column: span 2;
    }

    .company-search-bar .adv-search-btn {
        grid-column: span 2 !important;
        margin-top: 8px !important;
        padding: 12px !important;
    }

    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .company-card {
        padding: 16px;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

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

/* ==========================================================================
   ABOUT US PAGE STYLES
   ========================================================================== */

.about-hero-section {
    padding: 48px 0 100px;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-hero-content .breadcrumbs {
    margin-bottom: 20px;
}

.about-title {
    font-size: 42px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.about-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 20px;
}

.about-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}

.about-mini-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.about-mini-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 160px;
}

.about-mini-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFF7ED;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.about-mini-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.about-mini-item p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Right: Image + floating stats card */
.about-hero-image-wrap {
    position: relative;
}

.about-hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 380px;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-circle {
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.35);
    z-index: 2;
}

.about-stats-card {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: -48px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.15);
    border: 1px solid var(--border-subtle);
    padding: 24px 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    z-index: 3;
}

.about-stat {
    text-align: center;
}

.about-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FFF7ED;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 10px;
}

.about-stat-icon.solid {
    background: var(--primary-orange);
    color: white;
}

.about-stat h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 2px;
}

.about-stat p {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.3;
}

/* Mission & Vision */
.mission-vision-section {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFFFFF 100%);
    padding: 100px 0 80px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: flex-start;
}

.mv-col {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.mv-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: white;
    color: var(--primary-orange);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
}

.mv-col h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mv-bar {
    width: 4px;
    height: 20px;
    background: var(--primary-orange);
    border-radius: 2px;
    display: inline-block;
}

.mv-col p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.mv-divider {
    width: 1px;
    background: var(--border-subtle);
    align-self: stretch;
}

/* Core Values */
.core-values-section {
    text-align: center;
}

.core-values-title {
    font-size: 28px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.core-values-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.core-values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 48px;
    text-align: center;
}

.core-value-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FFF7ED;
    color: var(--primary-orange);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.core-value-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

.core-value-item p {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ==========================================================
   ABOUT PAGE: RESPONSIVENESS
   ========================================================== */
@media (max-width: 1024px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .about-hero-image-wrap {
        order: -1;
    }

    .core-values-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 32px;
    }

    .about-mini-grid {
        flex-direction: column;
        gap: 20px;
    }

    .about-mini-item {
        max-width: 100%;
    }

    .about-stats-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        position: static;
        margin-top: 24px;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .about-hero-section {
        padding-bottom: 48px;
    }

    .mission-vision-section {
        padding: 56px 0;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mv-divider {
        display: none;
    }

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

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

    .core-values-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SERVICES MEGA MENU (Navbar Dropdown)
   ========================================================================== */

/* Extra color utilities used only by the mega menu */
.bg-purple-light {
    background-color: #F5F3FF;
}

.text-purple {
    color: #7C3AED;
}

.bg-teal-light {
    background-color: #F0FDFA;
}

.text-teal {
    color: #0D9488;
}

.nav-links li.has-mega {
    position: relative;
}

.nav-links li.has-mega>a {
    position: relative;
}

.nav-links li.has-mega:hover>a {
    color: var(--primary-orange);
}

@media (min-width: 1025px) {
    .nav-links li.has-mega:hover>a::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -29px;
        height: 2px;
        background: var(--primary-orange);
    }
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 29px;
    width: 1220px;
    max-width: 92vw;
    background: white;
    border-radius: 16px;
    box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.18);
    border: 1px solid var(--border-subtle);
    padding: 32px;
    z-index: 200;
}

.nav-links li.has-mega:hover .mega-menu {
    display: block;
}

/* Small invisible bridge so the mouse can travel from link to menu without it closing */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -29px;
    left: 0;
    right: 0;
    height: 29px;
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr) 260px;
    gap: 28px;
}

.mega-col-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

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

.mega-col-header h4 {
    font-size: 13.5px;
    font-weight: 700;
}

.mega-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mega-col ul li a {
    font-size: 12.5px;
    color: var(--text-secondary);
    font-weight: 500;
}

.mega-col ul li a:hover {
    color: var(--text-primary);
}

.mega-sidebar {
    background: #EEF2FF;
    border-radius: 14px;
    padding: 22px;
}

.mega-sidebar h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 18px;
}

.mega-feature {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.mega-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: white;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
}

.mega-feature h5 {
    font-size: 12.5px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
}

.mega-feature p {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.mega-sidebar .btn {
    margin-top: 4px;
    font-size: 12.5px;
    padding: 10px 16px;
}

@media (max-width: 1300px) {
    .mega-menu {
        left: auto;
        right: -24px;
        transform: none;
    }
}

@media (max-width: 1024px) {
    .mega-menu {
        display: none !important;
    }
}

/* Compact Services list for mobile hamburger menu */
.mobile-services-list {
    display: none;
}

@media (max-width: 768px) {
    .nav-links li.has-mega>a {
        cursor: pointer;
    }

    .nav-links li.has-mega .nav-icon {
        transition: transform 0.2s ease;
    }

    .nav-links li.has-mega.mobile-open .nav-icon {
        transform: rotate(180deg);
    }

    .nav-links li.has-mega.mobile-open>a {
        color: var(--primary-orange);
    }

    .mobile-services-list {
        flex-direction: column;
        gap: 4px;
        padding-left: 12px;
        margin-top: 12px;
        border-left: 2px solid var(--border-subtle);
    }

    .nav-links li.has-mega.mobile-open .mobile-services-list {
        display: flex;
    }

    .mobile-services-list a {
        font-size: 14px !important;
        font-weight: 500 !important;
        color: var(--text-secondary) !important;
        padding: 8px 0 8px 16px !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .mobile-services-list a.mobile-explore-link {
        color: var(--primary-orange) !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
}

/* ==========================================================================
   SERVICE DETAIL PAGE
   ========================================================================== */
.service-page-header {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFFFFF 100%);
    padding: 40px 0 56px;
    border-bottom: 1px solid var(--border-subtle);
}

.service-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
}

.service-icon-badge-lg {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}

.service-category-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

.service-title {
    font-size: 32px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.service-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.6;
}

.service-content-section {
    padding: 56px 0;
}

.service-content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.service-main h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #0F172A;
}

.service-main>p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 32px;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
}

.service-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #FFF7ED;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.service-feature-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #0F172A;
}

.service-feature-item p {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.service-cta-box {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    margin-bottom: 24px;
}

.service-cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px;
}

.service-cta-box h3 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-cta-box p {
    color: #94A3B8;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.service-related-box {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow-soft);
}

.service-related-box h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #0F172A;
}

.service-related-box ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-related-box ul li a {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-related-box ul li a:hover {
    color: var(--primary-orange);
}

.service-related-box ul li a i {
    font-size: 10px;
    color: var(--text-muted);
}

/* ==========================================================================
   SERVICES HUB PAGE
   ========================================================================== */
.services-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.services-hub-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
}

.services-hub-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.services-hub-card ul li a {
    font-size: 13.5px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.services-hub-card ul li a:hover {
    color: var(--primary-orange);
}

.services-hub-card ul li a i {
    font-size: 10px;
    color: var(--text-muted);
}

/* ==========================================================
   SERVICE PAGE + HUB: RESPONSIVENESS
   ========================================================== */
@media (max-width: 1024px) {
    .services-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .service-title {
        font-size: 26px;
    }

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

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

    .services-hub-grid {
        grid-template-columns: 1fr;
    }

    .newsletter .nl-form-wrapper {
        width: 100% !important;
        flex-direction: column;
    }
}

/* ==========================================================================
   COMPANY PROFILE PAGE (cp-*)
   ========================================================================== */
.cp-editable {
    position: relative;
}

.cp-edit-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #EFF6FF;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border: none;
    cursor: pointer;
    z-index: 3;
    text-decoration: none;
}

.cp-edit-btn:hover {
    background: var(--primary-blue);
    color: white;
}

.cp-edit-btn.cp-edit-header {
    top: 24px;
    right: 24px;
}

/* Company Profile editor: culture / benefits / why-join / skills */
.culture-editor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.culture-editor-item {
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 16px;
    position: relative;
}

.culture-editor-item .remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 13px;
}

.culture-editor-item .af-field {
    margin-bottom: 12px;
}

.culture-editor-item .af-field:last-child {
    margin-bottom: 0;
}

.benefits-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.why-join-editor-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.why-join-editor-row input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    font-family: inherit;
}

.why-join-editor-row button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
}

@media (max-width: 768px) {

    .culture-editor-grid,
    .benefits-checkbox-grid {
        grid-template-columns: 1fr;
    }
}
.cp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 24px 0 20px;
}

.cp-back-link:hover {
    color: var(--primary-blue);
}

.cp-header-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
    position: relative;
}

.cp-header-top {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 8px;
}

.cp-header-left {
    display: flex;
    gap: 24px;
}

.cp-logo-box {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
}

.cp-logo-box img {
    max-width: 68%;
    max-height: 68%;
    object-fit: contain;
}

.cp-logo-box.logo-block {
    border: none;
}

.cp-header-info h1 {
    font-size: 28px;
    font-weight: 800;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.cp-verified-badge {
    background: #F0FDF4;
    color: #16A34A;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cp-industry {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.cp-header-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.cp-header-meta span {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.cp-header-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 20px;
}

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

.cp-header-right {
    text-align: right;
    flex-shrink: 0;
    padding-top: 40px;
}

.cp-rating {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 4px;
}

.cp-rating .cp-star {
    color: #F59E0B;
}

.cp-rating-count {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.cp-avatar-stack {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cp-avatar-stack img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
    object-fit: cover;
}

.cp-avatar-stack img:first-child {
    margin-left: 0;
}

.cp-avatar-more {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F1F5F9;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -10px;
    border: 2px solid white;
}

.cp-tabs {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 32px;
    overflow-x: auto;
}

.cp-tabs a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    padding-bottom: 16px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.cp-tabs a.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

.cp-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.cp-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
    scroll-margin-top: 100px;
    position: relative;
}

.cp-card h2 {
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 16px;
}

.cp-about-grid {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.cp-about-text {
    flex: 1;
}

.cp-about-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 14px;
}

.cp-show-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cp-about-visual {
    width: 240px;
    height: 220px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.cp-about-visual img {
    max-width: 55%;
    max-height: 55%;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(15, 23, 42, 0.12));
}

.cp-about-visual i {
    font-size: 64px;
}

.cp-culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cp-culture-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #EFF6FF;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.cp-culture-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
}

.cp-culture-item p {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cp-benefit-item {
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
}

.cp-benefit-item i {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 10px;
    display: block;
}

.cp-benefit-item span {
    font-size: 12.5px;
    font-weight: 600;
    color: #0F172A;
}

.cp-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cp-reviews-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cp-reviews-rating strong {
    font-size: 22px;
    font-weight: 800;
    color: #0F172A;
}

.cp-reviews-rating .cp-star {
    color: #F59E0B;
}

.cp-reviews-rating span {
    font-size: 12px;
    color: var(--text-muted);
}

.cp-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cp-review-card {
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 18px;
}

.cp-review-top {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.cp-review-top img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.cp-review-top h5 {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
}

.cp-review-top .cp-role {
    font-size: 11.5px;
    color: var(--text-muted);
}

.cp-quote {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-style: italic;
}

/* Sidebar */
.cp-snapshot-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 13px;
}

.cp-snapshot-row:last-of-type {
    border-bottom: none;
}

.cp-snapshot-row .cp-label {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cp-snapshot-row .cp-value {
    color: #0F172A;
    font-weight: 600;
    text-align: right;
}

.cp-snapshot-row .cp-value a {
    color: var(--primary-blue);
}

.cp-snapshot-socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.cp-snapshot-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F1F5F9;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.cp-snapshot-socials a:hover {
    background: var(--primary-blue);
    color: white;
}

.cp-why-join-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.cp-why-join-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--text-secondary);
    list-style: none;
}

.cp-why-join-list li i {
    color: #16A34A;
    margin-top: 2px;
}

.cp-map-box {
    height: 140px;
    border-radius: 12px;
    background: repeating-linear-gradient(45deg, #F1F5F9, #F1F5F9 10px, #E2E8F0 10px, #E2E8F0 20px);
    position: relative;
    margin-bottom: 14px;
    overflow: hidden;
}

.cp-map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    color: #EF4444;
    font-size: 28px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.cp-location-name {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.cp-location-address {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cp-skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.cp-skill-tag {
    background: #EFF6FF;
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

/* ==========================================================
   COMPANY PROFILE: RESPONSIVENESS
   ========================================================== */
@media (max-width: 1024px) {
    .cp-layout {
        grid-template-columns: 1fr;
    }

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

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

    .cp-reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cp-header-top {
        flex-direction: column;
    }

    .cp-header-left {
        flex-direction: column;
    }

    .cp-header-right {
        text-align: left;
    }

    .cp-rating,
    .cp-avatar-stack {
        justify-content: flex-start;
    }

    .cp-header-actions {
        flex-direction: column;
    }

    .cp-about-grid {
        flex-direction: column;
    }

    .cp-about-visual {
        width: 100%;
    }

    .cp-culture-grid {
        grid-template-columns: 1fr;
    }

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

/* ==========================================================================
   SERVICES HUB PAGE v2 (svc-*)
   ========================================================================== */
.svc-hero {
    padding: 40px 0 0;
}

.svc-hero-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.svc-hero-content {
    flex: 1;
}

.svc-hero-title {
    font-size: 40px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.svc-hero-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 480px;
    margin-bottom: 24px;
}

.svc-hero-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.svc-hero-badges span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.svc-hero-badges i {
    color: var(--primary-blue);
}

.svc-hero-image-wrap {
    position: relative;
    flex: 0 0 440px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svc-hero-image-wrap::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 8%;
    right: 8%;
    bottom: 0;
    background: radial-gradient(circle, #FFF7ED 0%, #EFF6FF 55%, transparent 78%);
    border-radius: 50%;
    z-index: 0;
}

.svc-hero-image-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.svc-float-badge {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.svc-float-badge.b1 {
    top: -16px;
    left: 40px;
    color: var(--primary-blue);
}

.svc-float-badge.b2 {
    top: 30px;
    right: -16px;
    color: var(--primary-orange);
}

.svc-float-badge.b3 {
    bottom: 20px;
    right: -16px;
    color: var(--primary-blue);
}

.svc-section-head {
    text-align: center;
    margin-bottom: 40px;
}

.svc-section-head h2 {
    font-size: 26px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 8px;
}

.svc-section-head p {
    font-size: 14px;
    color: var(--text-secondary);
}

.svc-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 70px;
}

.svc-category-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.svc-cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.svc-category-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

.svc-cat-desc {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.svc-category-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    flex: 1;
}

.svc-category-card ul li a {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.svc-category-card ul li a:hover {
    color: var(--text-primary);
}

.svc-category-card ul li a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
}

.svc-cat-link {
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.svc-steps-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 12px;
    margin-bottom: 70px;
}

.svc-step-item {
    text-align: center;
}

.svc-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px;
}

.svc-step-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
}

.svc-step-item p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.svc-step-arrow {
    color: var(--text-muted);
    font-size: 18px;
    padding-top: 18px;
}

.svc-why-box {
    background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
    border-radius: 20px;
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 48px;
    margin-bottom: 70px;
}

.svc-why-text {
    flex: 1;
}

.svc-why-text h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 12px;
}

.svc-why-text>p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 440px;
}

.svc-why-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.svc-why-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.svc-why-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: white;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
}

.svc-why-stat h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
}

.svc-why-stat p {
    font-size: 12px;
    color: var(--text-secondary);
}

.svc-why-visual {
    flex: 0 0 320px;
    height: 260px;
    position: relative;
}

.svc-visual-card {
    position: absolute;
    width: 170px;
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 2;
}

.svc-visual-card i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #EFF6FF;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.svc-visual-lines span {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: #E2E8F0;
    margin-bottom: 6px;
}

.svc-visual-lines span:last-child {
    width: 60%;
    margin-bottom: 0;
}

.svc-visual-card.c1 {
    top: 10px;
    left: 0;
}

.svc-visual-card.c2 {
    bottom: 10px;
    right: 0;
}

.svc-visual-search {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 72px;
    color: var(--primary-blue);
    opacity: 0.15;
    z-index: 1;
}

.svc-testimonial-rating {
    margin-top: 12px;
    display: flex;
    gap: 3px;
    font-size: 12px;
}

/* ==========================================================
   SERVICES HUB v2: RESPONSIVENESS
   ========================================================== */
@media (max-width: 1200px) {
    .svc-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .svc-hero-inner {
        flex-direction: column;
    }

    .svc-hero-image-wrap {
        flex: 0 0 auto;
        width: 100%;
        margin-top: 24px;
    }

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

    .svc-step-arrow {
        display: none;
    }

    .svc-why-box {
        flex-direction: column;
    }

    .svc-why-visual {
        width: 100%;
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .svc-hero-title {
        font-size: 30px;
    }

    .svc-categories-grid {
        grid-template-columns: 1fr;
    }

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

    .svc-why-box {
        padding: 28px;
    }

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

/* ==========================================================================
   JOB APPLICATION PAGE (af-*)
   ========================================================================== */
.cp-star {
    color: #F59E0B;
}

.af-job-header {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
}

.af-job-header-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.af-job-header-left {
    display: flex;
    gap: 20px;
}

.af-logo-box {
    width: 88px;
    height: 88px;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
}

.af-logo-box img {
    max-width: 65%;
    max-height: 65%;
    object-fit: contain;
}

.af-job-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.af-company-name {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 600;
}

.af-job-meta-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.af-job-meta-row span {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.af-job-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.af-header-right {
    text-align: right;
    flex-shrink: 0;
}

.af-rating {
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.af-rating span {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 13px;
}

.af-open-positions {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 10px;
}

.af-open-positions strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.af-form-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

.af-form-card>h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 6px;
}

.af-form-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.af-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

.af-form-col h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.af-field {
    margin-bottom: 20px;
}

.af-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 8px;
}

.af-field label .req {
    color: #EF4444;
}

.af-field input,
.af-field select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 13px;
    color: #0F172A;
    outline: none;
    background: white;
    font-family: inherit;
}

.af-field input:focus,
.af-field select:focus {
    border-color: var(--primary-blue);
}

.af-field-icon {
    position: relative;
}

.af-field-icon input {
    padding-right: 36px;
}

.af-field-icon i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 13px;
}

.af-phone-field {
    display: flex;
    gap: 8px;
}

.af-phone-field select {
    width: 78px;
    flex-shrink: 0;
}

.af-salary-field {
    position: relative;
}

.af-salary-field input {
    padding-right: 42px;
}

.af-salary-field span {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.af-upload-box {
    border: 2px dashed var(--border-subtle);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background: #F8FAFC;
    cursor: pointer;
    transition: 0.2s;
}

.af-upload-box:hover {
    border-color: var(--primary-blue);
    background: #EFF6FF;
}

.af-upload-box i {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 8px;
    display: block;
}

.af-upload-box strong {
    font-size: 13px;
    color: #0F172A;
    display: block;
    margin-bottom: 4px;
}

.af-upload-box p {
    font-size: 11.5px;
    color: var(--text-secondary);
}

.af-upload-box .browse-link {
    color: var(--primary-blue);
    font-weight: 600;
}

.af-upload-box small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}

.af-confirm-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.af-confirm-row input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-orange);
}

.af-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.af-form-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 20px;
}

.af-help-box {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border: 1px solid #FED7AA;
    position: relative;
    overflow: hidden;
}

.af-help-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: white;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.af-help-box p {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
}

.af-help-contact {
    font-size: 12.5px;
    font-weight: 600;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.af-help-contact i {
    color: var(--primary-orange);
    width: 14px;
}

/* ==========================================================
   APPLY PAGE: RESPONSIVENESS
   ========================================================== */
@media (max-width: 1024px) {
    .af-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .af-job-header-top {
        flex-direction: column;
    }

    .af-job-header-left {
        flex-direction: column;
    }

    .af-header-right {
        text-align: left;
    }

    .af-rating {
        justify-content: flex-start;
    }

    .af-form-card {
        padding: 20px;
    }

    .af-form-actions {
        flex-direction: column-reverse;
    }

    .af-form-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   LEGAL / STATIC CONTENT PAGES (Privacy, Terms, Contact)
   ========================================================================== */
.static-page-content {
    padding: 48px 0 80px;
}

.legal-content {
    max-width: 840px;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 40px;
}

.legal-updated {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-content h2 {
    font-size: 19px;
    font-weight: 800;
    color: #0F172A;
    margin: 32px 0 12px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 14px;
}

.legal-content ul {
    margin: 0 0 16px 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-content ul li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    list-style: none;
    padding-left: 22px;
    position: relative;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-orange);
}

/* ==========================================================================
   CONTACT US PAGE
   ========================================================================== */
.contact-info-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.contact-info-row:last-of-type {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #FFF7ED;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-info-row h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 3px;
}

.contact-info-row p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-social-row {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--border-subtle);
}

.contact-social-row a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F1F5F9;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.contact-social-row a:hover {
    background: var(--primary-blue);
    color: white;
}

.af-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 13px;
    color: #0F172A;
    outline: none;
    background: white;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
}

.af-field textarea:focus {
    border-color: var(--primary-blue);
}

/* ==========================================================================
   SITEMAP PAGE
   ========================================================================== */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 28px;
}

.sitemap-col h3 {
    font-size: 14.5px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.sitemap-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sitemap-col ul li a {
    font-size: 13px;
    color: var(--text-secondary);
}

.sitemap-col ul li a:hover {
    color: var(--primary-orange);
}

/* ==========================================================================
   INTERVIEW QUESTIONS PAGE
   ========================================================================== */
.iq-category {
    margin-bottom: 44px;
}

.iq-category-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

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

.iq-category-head h2 {
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
}

.iq-item {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-soft);
}

.iq-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.iq-item h4 i {
    color: var(--primary-blue);
    margin-top: 3px;
    flex-shrink: 0;
}

.iq-item p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    padding-left: 24px;
}

/* ==========================================================================
   BLOG LISTING + ARTICLE PAGE
   ========================================================================== */
.blog-article-header {
    max-width: 780px;
    margin: 0 auto 32px;
    text-align: center;
}

.blog-article-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.blog-article-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 16px;
    line-height: 1.25;
}

.blog-article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.blog-article-meta img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.blog-article-hero {
    max-width: 900px;
    margin: 0 auto 40px;
    border-radius: 16px;
    overflow: hidden;
    height: 380px;
}

.blog-article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-article-body {
    max-width: 740px;
    margin: 0 auto;
}

.blog-article-body h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin: 32px 0 12px;
}

.blog-article-body p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.blog-article-body ul {
    margin: 0 0 18px 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-article-body ul li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    list-style: none;
    padding-left: 24px;
    position: relative;
}

.blog-article-body ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-blue);
}

.blog-article-footer {
    max-width: 740px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.blog-share-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-share-row a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F1F5F9;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.blog-share-row a:hover {
    background: var(--primary-blue);
    color: white;
}

/* ==========================================================
   STATIC PAGES: RESPONSIVENESS
   ========================================================== */
@media (max-width: 1024px) {
    .sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .legal-content {
        padding: 24px;
    }

    .contact-layout-grid {
        grid-template-columns: 1fr !important;
    }

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

    .blog-article-header h1 {
        font-size: 24px;
    }

    .blog-article-hero {
        height: 220px;
    }

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

/* ==========================================================================
   PRICING PAGE
   ========================================================================== */
.pricing-hero {
    padding: 48px 0 8px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.pricing-hero-decor {
    position: absolute;
    top: 30px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #FFF7ED;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.pricing-hero-decor.left {
    left: 6%;
}

.pricing-hero-decor.right {
    right: 6%;
}

.pricing-hero h1 {
    font-size: 36px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.25;
    position: relative;
    z-index: 2;
}

.pricing-hero-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 16px auto 0;
    position: relative;
    z-index: 2;
}

.pricing-tabs-wrap {
    display: inline-flex;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    overflow: hidden;
    background: white;
    margin: 32px auto 0;
    box-shadow: var(--shadow-soft);
}

.pricing-tabs-wrap button {
    padding: 12px 32px;
    border: none;
    background: white;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-family: inherit;
}

.pricing-tabs-wrap button.active {
    color: var(--primary-orange);
    border-bottom-color: var(--primary-orange);
}

.pricing-billing-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 28px 0 40px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-billing-row .billing-active {
    color: #0F172A;
}

.pricing-switch {
    width: 46px;
    height: 26px;
    background: var(--primary-orange);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    border: none;
}

.pricing-switch::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: 0.2s;
}

.pricing-switch.yearly::after {
    left: 23px;
}

.pricing-save-badge {
    background: #F0FDF4;
    color: #16A34A;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 56px;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.popular {
    border: 2px solid var(--primary-orange);
    box-shadow: 0 16px 36px -8px rgba(249, 115, 22, 0.2);
}

.pricing-popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0F172A;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 4px;
}

.pricing-card.popular h3 {
    color: var(--primary-orange);
}

.pricing-card .plan-desc {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    min-height: 34px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-amount .price {
    font-size: 30px;
    font-weight: 800;
    color: #0F172A;
}

.pricing-amount .period {
    font-size: 13px;
    color: var(--text-muted);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    list-style: none;
}

.pricing-features li i {
    color: var(--primary-orange);
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-features-strip {
    background: #FFF7ED;
    border-radius: 16px;
    padding: 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.pricing-strip-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.pricing-strip-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
}

.pricing-strip-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.pricing-strip-item p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pricing-panel {
    display: none;
}

.pricing-panel.active {
    display: block;
}

/* ==========================================================
   PRICING PAGE: RESPONSIVENESS
   ========================================================== */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.popular {
        order: -1;
    }
}

@media (max-width: 1024px) {
    .pricing-features-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 26px;
    }

    .pricing-hero-decor {
        width: 44px;
        height: 44px;
        font-size: 16px;
        top: 10px;
    }

    .pricing-tabs-wrap button {
        padding: 10px 18px;
        font-size: 13px;
    }

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

    .pricing-card.popular {
        order: 0;
    }

    .pricing-features-strip {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

/* ==========================================================================
   LOGIN / AUTH PAGE
   ========================================================================== */
.auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 640px;
}

.auth-left {
    background: linear-gradient(135deg, #0B1221 0%, #1E3A8A 100%);
    position: relative;
    overflow: hidden;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.auth-left-bg-image {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200&q=80') center/cover;
    opacity: 0.22;
    z-index: 0;
}

.auth-left-dots {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(rgba(249, 115, 22, 0.4) 2px, transparent 2px);
    background-size: 16px 16px;
    z-index: 1;
}

.auth-left-ring {
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 24px solid rgba(249, 115, 22, 0.15);
    z-index: 1;
}

.auth-left-content {
    position: relative;
    z-index: 2;
    max-width: 440px;
}

.auth-left-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #94A3B8;
    margin-bottom: 8px;
}

.auth-left-content h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.auth-left-content h1 .text-orange {
    color: var(--primary-orange);
}

.auth-left-content>p {
    font-size: 14px;
    color: #CBD5E1;
    line-height: 1.6;
    margin-bottom: 36px;
}

.auth-feature-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.auth-feature-row:last-child {
    margin-bottom: 0;
}

.auth-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    color: white;
}

.auth-feature-row h5 {
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.auth-feature-row p {
    font-size: 12.5px;
    color: #94A3B8;
    line-height: 1.5;
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: white;
}

.auth-card {
    max-width: 440px;
    width: 100%;
}

.auth-card h2 {
    font-size: 26px;
    font-weight: 800;
    color: #0F172A;
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.auth-subtitle a {
    color: var(--primary-orange);
    font-weight: 700;
}

.auth-role-tabs {
    display: flex;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 28px;
    gap: 4px;
}

.auth-role-tabs button {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-family: inherit;
}

.auth-role-tabs button.active {
    background: #FFF7ED;
    color: var(--primary-orange);
}

.auth-field {
    margin-bottom: 20px;
}

.auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 8px;
}

.auth-input-icon {
    position: relative;
}

.auth-input-icon i.left-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.auth-input-icon input {
    width: 100%;
    padding: 12px 40px 12px 40px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 13.5px;
    outline: none;
    font-family: inherit;
    color: #0F172A;
}

.auth-input-icon input:focus {
    border-color: var(--primary-blue);
}

.auth-input-icon .toggle-eye {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    background: none;
    border: none;
    padding: 0;
}

.auth-row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.auth-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
}

.auth-checkbox-label input {
    width: 15px;
    height: 15px;
    accent-color: var(--primary-orange);
}

.auth-forgot-link {
    color: var(--primary-orange);
    font-weight: 600;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0;
    font-size: 12.5px;
    color: var(--text-muted);
}

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

.auth-social-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    background: white;
    cursor: pointer;
    font-family: inherit;
}

.auth-social-btn:hover {
    background: #F8FAFC;
}

.auth-secure-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.auth-error-banner {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.auth-success-banner {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #15803D;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

/* ==========================================================
   LOGIN PAGE: RESPONSIVENESS
   ========================================================== */
@media (max-width: 1024px) {
    .auth-split {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 48px 24px;
    }
}

@media (max-width: 480px) {
    .auth-social-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   USER DASHBOARD (dash-*)
   ========================================================================== */
.dash-body {
    display: flex;
    min-height: 100vh;
    background: #F8FAFC;
}

/* --- Sidebar --- */
.dash-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0B1221 0%, #0F172A 100%);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 50;
}

.dash-sidebar-logo {
    padding: 22px 24px;
    flex-shrink: 0;
}

.dash-sidebar-logo img {
    max-height: 44px;
}

.dash-nav {
    flex: 1;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dash-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    color: #94A3B8;
    font-size: 13.5px;
    font-weight: 500;
    border-left: 3px solid transparent;
    position: relative;
}

/* Notification "light" — a section has something new (unread message,
   fresh application, a job awaiting review, a ticket reply...) the user
   hasn't opened yet. Cleared automatically once they visit that section. */
.dash-nav-dot {
    position: absolute;
    top: 9px;
    right: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EF4444;
    box-shadow: 0 0 0 2px #0F172A;
    animation: cpNavDotPulse 1.8s ease-in-out infinite;
}

/* Same dot, for use on a light/white surface (e.g. a message-list row)
   instead of the dark sidebar — the ring color has to match whatever it
   sits on or it reads as a rendering glitch, not a notification. */
.dash-nav-dot.on-light {
    box-shadow: 0 0 0 2px #fff;
    animation-name: cpNavDotPulseLight;
}

@keyframes cpNavDotPulse {

    0%,
    100% {
        box-shadow: 0 0 0 2px #0F172A, 0 0 0 2px rgba(239, 68, 68, 0.5);
    }

    50% {
        box-shadow: 0 0 0 2px #0F172A, 0 0 0 5px rgba(239, 68, 68, 0);
    }
}

@keyframes cpNavDotPulseLight {

    0%,
    100% {
        box-shadow: 0 0 0 2px #fff, 0 0 0 2px rgba(239, 68, 68, 0.5);
    }

    50% {
        box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(239, 68, 68, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dash-nav-dot {
        animation: none;
    }
}

.dash-nav a i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.dash-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.dash-nav a.active {
    background: rgba(249, 115, 22, 0.15);
    color: var(--primary-orange);
    font-weight: 700;
    border-left-color: var(--primary-orange);
}

.dash-sidebar-bottom {
    padding: 16px;
    flex-shrink: 0;
}

.dash-profile-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 4px;
}

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

.dash-mini-ring {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.dash-profile-card h5 {
    color: white;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}

.dash-profile-card p {
    color: #94A3B8;
    font-size: 11px;
    line-height: 1.4;
}

.dash-profile-card .btn {
    width: 100%;
    font-size: 12.5px;
    padding: 9px;
}

.dash-help-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94A3B8;
    font-size: 12.5px;
    padding: 12px 4px 4px;
}

.dash-help-row .icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 13px;
}

.dash-help-row strong {
    display: block;
    color: white;
    font-size: 12.5px;
}

/* --- Main --- */
.dash-main {
    flex: 1;
    min-width: 0;
}

.dash-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: white;
    border-bottom: 1px solid var(--border-subtle);
    gap: 24px;
    position: sticky;
    top: 0;
    z-index: 40;
}

.dash-hamburger {
    display: none;
    font-size: 20px;
    color: #0F172A;
    cursor: pointer;
    flex-shrink: 0;
}

.dash-search {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.dash-search input {
    width: 100%;
    padding: 11px 44px 11px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    font-size: 13.5px;
    outline: none;
    font-family: inherit;
    background: #F8FAFC;
}

.dash-search input:focus {
    border-color: var(--primary-blue);
    background: white;
}

.dash-search i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.dash-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.dash-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 15px;
    flex-shrink: 0;
}

.dash-icon-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--primary-orange);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.dash-user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex-shrink: 0;
}

.dash-user-chip img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.dash-user-chip h5 {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
    white-space: nowrap;
}

.dash-user-chip p {
    font-size: 11.5px;
    color: var(--text-muted);
}

.dash-user-chip .fa-chevron-down {
    color: var(--text-muted);
    font-size: 11px;
    margin-left: 2px;
}

.dash-content {
    padding: 28px 32px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

.dash-welcome h1 {
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 6px;
}

.dash-welcome p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

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

.dash-stat-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
}

.dash-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.dash-stat-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 2px;
}

.dash-stat-card>p {
    font-size: 12.5px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 8px;
}

.dash-stat-link {
    font-size: 11.5px;
    color: var(--primary-blue);
    font-weight: 700;
}

.dash-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
    scroll-margin-top: 88px;
}

.dash-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.dash-card-header h2 {
    font-size: 17px;
    font-weight: 800;
    color: #0F172A;
}

.dash-card-header a {
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 600;
}

.dash-job-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.dash-job-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dash-job-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
}

.dash-job-logo img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.dash-job-info {
    flex: 1;
    min-width: 0;
}

.dash-job-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.dash-badge-new {
    background: #F0FDF4;
    color: #16A34A;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

.dash-job-info .company {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

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

.dash-job-right {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.dash-job-salary-wrap {
    text-align: right;
}

.dash-job-salary {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    display: block;
}

.dash-job-time {
    font-size: 11.5px;
    color: var(--text-muted);
}

.dash-job-bookmark {
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    background: none;
    border: none;
}

.dash-view-more {
    text-align: center;
    padding-top: 16px;
}

.dash-view-more a {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary-blue);
}

.dash-promo-card {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    border: 1px solid #FED7AA;
}

.dash-promo-illustration {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 16px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 34px;
    color: var(--primary-orange);
}

.dash-promo-illustration .badge-dot {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #16A34A;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 3px solid #FFF7ED;
}

.dash-promo-content h3 {
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.dash-promo-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
}

.dash-popular-searches h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 14px;
}

.dash-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* --- Right column widgets --- */
.dash-progress-ring-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

.dash-progress-ring-wrap svg {
    transform: rotate(-90deg);
}

.dash-ring-label {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-ring-text {
    position: absolute;
    text-align: center;
}

.dash-ring-text strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
}

.dash-ring-text span {
    font-size: 11px;
    color: #16A34A;
    font-weight: 700;
}

.dash-profile-strength-msg {
    text-align: center;
    margin-bottom: 18px;
}

.dash-profile-strength-msg h5 {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
}

.dash-profile-strength-msg p {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.dash-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 13px;
}

.dash-status-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dash-status-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-weight: 500;
}

.dash-status-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.dash-status-count {
    font-weight: 700;
    color: #0F172A;
}

.dash-activity-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.dash-activity-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dash-activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.dash-activity-text {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: flex-start;
}

.dash-activity-text p {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.dash-activity-text p strong {
    color: #0F172A;
    font-weight: 700;
}

.dash-activity-text span {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.dash-alerts-card {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border: 1px solid #FED7AA;
}

.dash-alerts-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: white;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.dash-alerts-card h2 {
    font-size: 15px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 8px;
}

.dash-alerts-card p {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* --- Mobile overlay --- */
.dash-sidebar-overlay {
    display: none;
}

/* ==========================================================
   DASHBOARD: RESPONSIVENESS
   ========================================================== */
@media (max-width: 1200px) {
    .dash-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 1024px) {
    .dash-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        bottom: 0;
        transition: left 0.25s ease;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
    }

    .dash-sidebar.open {
        left: 0;
    }

    .dash-hamburger {
        display: flex;
        align-items: center;
    }

    .dash-sidebar-overlay.open {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 45;
    }
}

@media (max-width: 768px) {
    .dash-topbar {
        padding: 14px 16px;
        gap: 12px;
    }

    .dash-user-chip h5,
    .dash-user-chip p {
        display: none;
    }

    .dash-content {
        padding: 20px 16px;
    }

    .dash-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .dash-job-item {
        flex-wrap: wrap;
    }

    .dash-job-right {
        width: 100%;
        justify-content: space-between;
        padding-left: 68px;
    }

    .dash-promo-card {
        flex-direction: column;
        text-align: center;
    }
}

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

    .dash-search {
        max-width: none;
    }
}

/* ==========================================================================
   DASHBOARD SUB-PAGES (applications, saved jobs, alerts, resume builder,
   CV, profile, messages, settings)
   ========================================================================== */
.dash-page-header {
    margin-bottom: 24px;
}

.dash-page-header h1 {
    font-size: 22px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 4px;
}

.dash-page-header p {
    font-size: 13.5px;
    color: var(--text-secondary);
}

/* --- Applications --- */
.app-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.app-filter-tabs button {
    padding: 8px 16px;
    border: 1px solid var(--border-subtle);
    background: white;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
}

.app-filter-tabs button.active {
    background: #0F172A;
    color: white;
    border-color: #0F172A;
}

.app-filter-tabs button .count {
    background: rgba(0, 0, 0, 0.08);
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 11px;
}

.app-filter-tabs button.active .count {
    background: rgba(255, 255, 255, 0.2);
}

.app-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.app-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.app-row-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
}

.app-row-logo img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.app-row-info {
    flex: 1;
    min-width: 0;
}

.app-row-info h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.app-row-info p {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.app-row-info .meta {
    font-size: 11.5px;
    color: var(--text-muted);
}

.app-status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.app-status-badge.review {
    background: #EFF6FF;
    color: #2563EB;
}

.app-status-badge.shortlisted {
    background: #F0FDF4;
    color: #16A34A;
}

.app-status-badge.interview {
    background: #F5F3FF;
    color: #7C3AED;
}

.app-status-badge.offered {
    background: #FFF7ED;
    color: #F97316;
}

.app-status-badge.rejected {
    background: #FEF2F2;
    color: #EF4444;
}

.app-row-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.app-row-date {
    font-size: 11.5px;
    color: var(--text-muted);
    text-align: right;
}

/* --- Job Alerts --- */
.alert-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.alert-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.alert-row-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FFF7ED;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.alert-row-info {
    flex: 1;
    min-width: 0;
}

.alert-row-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.alert-row-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

.alert-row-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.alert-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
}

.alert-icon-btn:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.dash-toggle {
    width: 40px;
    height: 22px;
    background: #E2E8F0;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    border: none;
    flex-shrink: 0;
}

.dash-toggle::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.dash-toggle.on {
    background: var(--primary-orange);
}

.dash-toggle.on::after {
    left: 21px;
}

/* --- Resume Builder --- */
.rb-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

.rb-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rb-tabs button {
    padding: 9px 16px;
    border: 1px solid var(--border-subtle);
    background: white;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
}

.rb-tabs button.active {
    background: #FFF7ED;
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.rb-section {
    display: none;
}

.rb-section.active {
    display: block;
}

.rb-preview {
    background: white;
    border-radius: 12px;
    padding: 28px;
    font-size: 12.5px;
    box-shadow: inset 0 0 0 1px var(--border-subtle);
    position: sticky;
    top: 88px;
}

.rb-preview-name {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 2px;
}

.rb-preview-title {
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 10px;
}

.rb-preview-contact {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rb-preview h5 {
    font-size: 12px;
    font-weight: 800;
    color: #0F172A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 16px 0 8px;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--primary-orange);
}

.rb-preview h5:first-of-type {
    margin-top: 0;
}

.rb-preview-item {
    margin-bottom: 10px;
}

.rb-preview-item strong {
    font-size: 12.5px;
    color: #0F172A;
    display: block;
}

.rb-preview-item span {
    font-size: 11px;
    color: var(--text-muted);
}

.rb-preview-item p {
    font-size: 11.5px;
    color: var(--text-secondary);
    margin-top: 3px;
    line-height: 1.5;
}

.rb-skill-chip {
    display: inline-block;
    background: #F1F5F9;
    color: var(--text-secondary);
    font-size: 10.5px;
    padding: 3px 10px;
    border-radius: 12px;
    margin: 0 6px 6px 0;
}

/* --- Profile --- */
.profile-header-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar-wrap img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: var(--shadow-soft);
}

.profile-avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid white;
    cursor: pointer;
}

.profile-header-info h2 {
    font-size: 19px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 4px;
}

.profile-header-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.profile-skills-input {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

.profile-skill-tag {
    background: #EFF6FF;
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-skill-tag button {
    background: none;
    border: none;
    color: var(--primary-blue);
    cursor: pointer;
    font-size: 11px;
}

/* A recommended-but-not-added-yet skill — the whole chip is the "add"
   button, so it reads as an invitation rather than an already-applied tag. */
.profile-skill-tag.suggested {
    background: transparent;
    color: var(--text-secondary);
    border: 1px dashed var(--border-subtle);
    cursor: pointer;
}

.profile-skill-tag.suggested:hover {
    background: #EFF6FF;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* --- Messages --- */
.msg-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    /* Without this, the grid's single implicit row auto-sizes to fit
       whatever its tallest child wants to be — so a long message thread
       just grows the whole layout instead of scrolling inside it. Locking
       the row to 1fr forces it to the container's own height instead. */
    grid-template-rows: 1fr;
    gap: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-soft);
    /* Fits whatever's left of the viewport below the topbar/page header
       instead of a fixed height — so the layout never outgrows the window
       and forces a page-level scroll. Conversation list and message thread
       each scroll internally (see overflow-y below); the input row lives
       outside that scroll area so it's always visible. */
    height: calc(100vh - 230px);
    min-height: 420px;
    max-height: 760px;
}

.msg-list {
    border-right: 1px solid var(--border-subtle);
    overflow-y: auto;
    /* Grid/flex items default to min-height:auto (their content size),
       which silently defeats overflow-y — this lets the item actually
       shrink below its content height so the scrollbar takes over. */
    min-height: 0;
}

/* macOS/mobile hide overflow scrollbars until you're actively dragging one,
   which makes a genuinely-scrollable panel look static/cut-off with no
   affordance at all. Force a slim, always-visible track here instead —
   same treatment on the message thread itself, just below. */
.msg-list,
.msg-thread-body {
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 transparent;
}

.msg-list::-webkit-scrollbar,
.msg-thread-body::-webkit-scrollbar {
    width: 7px;
}

.msg-list::-webkit-scrollbar-track,
.msg-thread-body::-webkit-scrollbar-track {
    background: transparent;
}

.msg-list::-webkit-scrollbar-thumb,
.msg-thread-body::-webkit-scrollbar-thumb {
    background-color: #CBD5E1;
    border-radius: 8px;
}

.msg-list::-webkit-scrollbar-thumb:hover,
.msg-thread-body::-webkit-scrollbar-thumb:hover {
    background-color: #94A3B8;
}

.msg-list-search {
    padding: 16px;
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    background: white;
}

.msg-list-search input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 12.5px;
    outline: none;
    font-family: inherit;
}

.msg-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-subtle);
    cursor: pointer;
}

.msg-item.active {
    background: #FFF7ED;
}

.msg-item:hover {
    background: #F8FAFC;
}

.msg-item img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
}

.msg-item-info {
    flex: 1;
    min-width: 0;
}

.msg-item-info h5 {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
}

.msg-item-info p {
    font-size: 11.5px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msg-item-meta {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.msg-item-meta span {
    font-size: 10.5px;
    color: var(--text-muted);
}

.msg-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-orange);
}

.msg-thread {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0; /* same min-height:0 fix as .msg-list, one level down */
}

.msg-thread-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.msg-thread-header img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.msg-thread-header h5 {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
}

.msg-thread-header p {
    font-size: 11px;
    color: #16A34A;
}

.msg-thread-body {
    flex: 1;
    min-height: 0; /* the actual fix: lets this flex item shrink and scroll instead of growing to fit every message */
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.msg-bubble {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 12.5px;
    line-height: 1.5;
}

.msg-bubble.received {
    background: #F1F5F9;
    color: #0F172A;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.msg-bubble.sent {
    background: var(--primary-blue);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.msg-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

.msg-bubble.sent .msg-time {
    color: rgba(255, 255, 255, 0.7);
}

.msg-thread-footer {
    padding: 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.msg-thread-footer input {
    flex: 1;
    padding: 11px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    font-size: 12.5px;
    outline: none;
    font-family: inherit;
}

.msg-send-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-orange);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 14px;
}

/* --- Settings --- */
.settings-section {
    margin-bottom: 24px;
}

.settings-section h3 {
    font-size: 15px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 4px;
}

.settings-section .desc {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.settings-toggle-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.settings-toggle-row h5 {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 3px;
}

.settings-toggle-row p {
    font-size: 12px;
    color: var(--text-secondary);
}

.danger-zone {
    border: 1px solid #FECACA;
    background: #FEF2F2;
    border-radius: 12px;
    padding: 20px;
}

.danger-zone h4 {
    font-size: 14px;
    font-weight: 700;
    color: #DC2626;
    margin-bottom: 6px;
}

.danger-zone p {
    font-size: 12.5px;
    color: #7F1D1D;
    margin-bottom: 14px;
}

/* ==========================================================
   DASHBOARD SUB-PAGES: RESPONSIVENESS
   ========================================================== */
@media (max-width: 1024px) {
    .rb-layout {
        grid-template-columns: 1fr;
    }

    .rb-preview {
        position: static;
    }

    .msg-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .msg-list {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        max-height: 320px;
    }

    .msg-thread {
        height: 500px;
    }
}

@media (max-width: 768px) {

    .app-row,
    .alert-row {
        flex-wrap: wrap;
    }

    .app-row-right {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-left: 68px;
    }

    .profile-header-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   RECRUITER DASHBOARD (rec-*)
   ========================================================================== */
.rec-sidebar-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #64748B;
    padding: 4px 14px 10px;
    text-transform: uppercase;
}

.rec-plan-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
}

.rec-plan-card .label {
    font-size: 11px;
    color: #94A3B8;
    margin-bottom: 6px;
}

.rec-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(249, 115, 22, 0.15);
    color: var(--primary-orange);
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.rec-plan-card p {
    font-size: 11.5px;
    color: #94A3B8;
    margin-bottom: 12px;
}

.rec-plan-card .btn {
    width: 100%;
    font-size: 12.5px;
    padding: 9px;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rec-user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 4px 4px;
    cursor: pointer;
}

.rec-user-chip img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.rec-user-chip h5 {
    color: white;
    font-size: 13px;
    font-weight: 700;
}

.rec-user-chip p {
    color: #94A3B8;
    font-size: 11.5px;
}

.rec-user-chip .fa-chevron-down {
    color: #64748B;
    font-size: 11px;
    margin-left: auto;
}

/* Topbar extras */
.rec-view-site-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    background: white;
    white-space: nowrap;
    flex-shrink: 0;
}

.rec-company-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #0F172A;
    padding: 6px 14px 6px 6px;
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
}

.rec-company-logo-box {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
}

.rec-company-chip h5 {
    color: white;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.rec-company-chip p {
    color: #94A3B8;
    font-size: 11px;
}

.rec-company-chip .fa-chevron-down {
    color: #94A3B8;
    font-size: 11px;
    margin-left: 4px;
}

/* Welcome row + date range */
.rec-welcome-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.rec-date-range-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: white;
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    white-space: nowrap;
}

/* Stats row (5 cols) */
.rec-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.rec-stat-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
}

.rec-stat-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

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

.rec-stat-top span {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.rec-stat-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 8px;
}

.rec-stat-trend {
    font-size: 11.5px;
    font-weight: 600;
    color: #16A34A;
}

.rec-stat-trend a {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Applications overview + top jobs row */
.rec-mid-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
    align-items: start;
}

.rec-chart-legend {
    display: flex;
    gap: 20px;
    font-size: 12.5px;
    color: var(--text-secondary);
    font-weight: 600;
}

.rec-legend-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rec-legend-dot span {
    width: 20px;
    height: 3px;
    border-radius: 2px;
    background: var(--primary-blue);
    display: inline-block;
}

.rec-legend-dot.dashed span {
    background: repeating-linear-gradient(to right, #7C3AED 0, #7C3AED 4px, transparent 4px, transparent 7px);
}

.rec-period-select {
    padding: 7px 12px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #0F172A;
    background: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rec-chart-xaxis {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    padding: 0 4px;
}

.rec-top-job-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.rec-top-job-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rec-top-job-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
    gap: 12px;
}

.rec-top-job-head h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
}

.rec-top-job-head h4 span {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 12px;
}

.rec-top-job-count {
    text-align: right;
    flex-shrink: 0;
}

.rec-top-job-count strong {
    font-size: 14px;
    font-weight: 800;
    color: #0F172A;
    display: block;
}

.rec-top-job-count span {
    font-size: 10.5px;
    color: var(--text-muted);
}

.rec-top-job-date {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.rec-progress-bar {
    height: 6px;
    background: #F1F5F9;
    border-radius: 4px;
    overflow: hidden;
}

.rec-progress-bar span {
    display: block;
    height: 100%;
    background: #16A34A;
    border-radius: 4px;
}

/* Recent Applications table */
.rec-table {
    width: 100%;
    border-collapse: collapse;
}

.rec-table th {
    text-align: left;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0 12px 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.rec-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
}

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

.rec-candidate-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rec-candidate-cell img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
}

.rec-candidate-cell h5 {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
}

.rec-candidate-cell p {
    font-size: 11.5px;
    color: var(--text-muted);
}

.rec-table td.job-title {
    font-size: 13px;
    color: #0F172A;
    font-weight: 600;
}

.rec-table td.applied-date {
    font-size: 12.5px;
    color: var(--text-secondary);
}

.rec-status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    display: inline-block;
}

.rec-status-badge.new {
    background: #EFF6FF;
    color: #2563EB;
}

.rec-status-badge.shortlisted {
    background: #F0FDF4;
    color: #16A34A;
}

.rec-status-badge.interview {
    background: #FFF7ED;
    color: #F97316;
}

.rec-status-badge.hired {
    background: #DCFCE7;
    color: #15803D;
}

.rec-status-badge.review {
    background: #F5F3FF;
    color: #7C3AED;
}

.rec-action-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rec-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
}

.rec-action-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* A rec-action-btn that also carries a text label (e.g. "Review") instead
   of just an icon — same visual family, just not clamped to a 32px square. */
.rec-action-btn-wide {
    width: auto;
    height: 32px;
    padding: 0 12px;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

/* Right sidebar */
.rec-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.rec-quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 8px;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    background: white;
    text-align: center;
}

.rec-quick-action-btn:hover {
    border-color: var(--primary-blue);
    background: #F8FAFC;
}

.rec-quick-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.rec-quick-action-btn span {
    font-size: 12px;
    font-weight: 600;
    color: #0F172A;
}

.rec-view-all-apps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    background: #F8FAFC;
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
}

.rec-view-all-apps i:first-child {
    color: var(--primary-blue);
    margin-right: 8px;
}

.rec-activity-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.rec-activity-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rec-activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.rec-activity-text {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.rec-activity-text p {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.rec-activity-text p strong {
    color: #0F172A;
    font-weight: 700;
}

.rec-activity-text span {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.rec-interview-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.rec-interview-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rec-interview-date {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #EFF6FF;
    color: var(--primary-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1.1;
}

.rec-interview-date .month {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.rec-interview-date .day {
    font-size: 15px;
    font-weight: 800;
}

.rec-interview-info {
    flex: 1;
    min-width: 0;
}

.rec-interview-info h5 {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
}

.rec-interview-info p {
    font-size: 11.5px;
    color: var(--text-secondary);
}

.rec-interview-info .time {
    font-size: 11px;
    color: var(--text-muted);
}

.rec-video-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #EFF6FF;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

/* ==========================================================
   RECRUITER DASHBOARD: RESPONSIVENESS
   ========================================================== */
@media (max-width: 1300px) {
    .rec-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .rec-mid-grid {
        grid-template-columns: 1fr;
    }

    .dash-content[data-recruiter] {
        grid-template-columns: 1fr;
    }
}

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

    .rec-welcome-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .rec-table thead {
        display: none;
    }

    .rec-table,
    .rec-table tbody,
    .rec-table tr,
    .rec-table td {
        display: block;
        width: 100%;
    }

    .rec-table tr {
        padding: 14px 0;
        border-bottom: 1px solid var(--border-subtle);
    }

    .rec-table td {
        border-bottom: none;
        padding: 4px 0;
    }

    .rec-action-cell {
        margin-top: 8px;
    }

    .rec-quick-actions {
        grid-template-columns: 1fr 1fr;
    }
}

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

/* ==========================================================================
   SUPER ADMIN PANEL (sa-*)
   ========================================================================== */
.sa-sidebar-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #64748B;
    padding: 16px 14px 8px;
    text-transform: uppercase;
}

.sa-sidebar-label:first-of-type {
    padding-top: 4px;
}

.dash-nav a.sa-active {
    background: var(--primary-blue);
    color: white;
    border-left-color: transparent;
    border-radius: 10px;
}

.dash-nav a .fa-chevron-down.sa-chev {
    margin-left: auto;
    font-size: 10px;
    color: #64748B;
}

.sa-quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    color: #94A3B8;
    font-size: 13px;
    font-weight: 500;
}

.sa-quick-link:hover {
    color: white;
}

.sa-quick-link i {
    width: 16px;
    text-align: center;
    font-size: 13px;
}

.sa-admin-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin: 8px 4px 0;
}

.sa-admin-chip-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.sa-admin-chip h5 {
    color: white;
    font-size: 13px;
    font-weight: 700;
}

.sa-admin-chip p {
    color: #94A3B8;
    font-size: 11px;
}

/* Donut chart via conic-gradient */
.donut-chart-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.donut-chart {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.donut-chart::before {
    content: '';
    position: absolute;
    width: 68%;
    height: 68%;
    background: white;
    border-radius: 50%;
}

.donut-center {
    position: relative;
    z-index: 2;
    text-align: center;
}

.donut-center strong {
    display: block;
    font-size: 19px;
    font-weight: 800;
    color: #0F172A;
}

.donut-center span {
    font-size: 10.5px;
    color: var(--text-muted);
}

.donut-legend {
    flex: 1;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.donut-legend-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    gap: 12px;
}

.donut-legend-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 500;
}

.donut-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.donut-legend-row strong {
    color: #0F172A;
    font-weight: 700;
    white-space: nowrap;
}

/* System statistics list */
.sysstat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 13px;
}

.sysstat-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sysstat-row .label {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sysstat-row .value {
    font-weight: 700;
    color: #0F172A;
}

.sysstat-bar-row {
    padding: 11px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.sysstat-bar-row .top {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

.sysstat-bar-row .top .label {
    color: var(--text-secondary);
}

.sysstat-bar-row .top .value {
    font-weight: 700;
    color: #0F172A;
}

/* User type badge */
.user-type-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    display: inline-block;
}

.user-type-badge.seeker {
    background: #EFF6FF;
    color: #2563EB;
}

.user-type-badge.employer {
    background: #F0FDF4;
    color: #16A34A;
}

.user-type-badge.admin {
    background: #F5F3FF;
    color: #7C3AED;
}

.user-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.user-status-dot.active {
    background: #16A34A;
}

.user-status-dot.suspended {
    background: #EF4444;
}

.user-status-dot.pending {
    background: #D97706;
}

/* ==========================================================
   SUPER ADMIN: RESPONSIVENESS
   ========================================================== */
@media (max-width: 768px) {
    .donut-chart-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   RECRUITER PANEL: SUB-PAGES
   ========================================================================== */
.job-status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    display: inline-block;
}

.job-status-badge.active {
    background: #F0FDF4;
    color: #16A34A;
}

.job-status-badge.closed {
    background: #F1F5F9;
    color: #64748B;
}

.job-status-badge.draft {
    background: #FFFBEB;
    color: #D97706;
}

.job-status-badge.rejected {
    background: #FEF2F2;
    color: #DC2626;
}

/* Candidate cards */
.candidates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.candidate-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

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

.candidate-card-top img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
}

.candidate-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
}

.candidate-card .role {
    font-size: 12.5px;
    color: var(--text-secondary);
}

.candidate-card .meta {
    font-size: 11.5px;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-bottom: 14px;
}

.candidate-card .meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.candidate-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

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

.candidate-actions .btn {
    flex: 1;
    font-size: 12px;
    padding: 9px;
}

/* Filters sidebar (recruiter) */
.rec-filters-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    align-items: start;
}

/* Reports funnel */
.funnel-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.funnel-label {
    width: 130px;
    flex-shrink: 0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

.funnel-bar-wrap {
    flex: 1;
    background: #F1F5F9;
    border-radius: 8px;
    height: 34px;
    position: relative;
    overflow: hidden;
}

.funnel-bar {
    height: 100%;
    background: linear-gradient(90deg, #2563EB, #60A5FA);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 12px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
}

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

.reports-mini-stat {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.reports-mini-stat h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 4px;
}

.reports-mini-stat p {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.reports-source-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 13px;
}

.reports-source-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.reports-source-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

/* Billing */
.billing-current-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    border-radius: 16px;
    padding: 28px;
    color: white;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.billing-current-card h4 {
    font-size: 12.5px;
    color: #94A3B8;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.billing-current-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.billing-current-card p {
    font-size: 13px;
    color: #CBD5E1;
}

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

.billing-usage-item h5 {
    font-size: 12.5px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.billing-usage-item .rec-progress-bar {
    margin-bottom: 6px;
}

.billing-usage-item span.note {
    font-size: 11px;
    color: var(--text-muted);
}

/* Company Profile */
.company-cover {
    height: 140px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    position: relative;
}

.company-logo-upload {
    width: 88px;
    height: 88px;
    border-radius: 16px;
    background: white;
    border: 4px solid white;
    box-shadow: var(--shadow-soft);
    position: absolute;
    bottom: -30px;
    left: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-blue);
    font-weight: 800;
}

.company-profile-body {
    padding: 48px 4px 4px;
}

/* Help & Support */
.help-search-box {
    background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-bottom: 28px;
}

.help-search-box h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 16px;
}

.help-search-box .dash-search {
    max-width: 480px;
    margin: 0 auto;
}

.help-topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.help-topic-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.help-topic-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #EFF6FF;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 12px;
}

.help-topic-card h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.help-topic-card p {
    font-size: 11.5px;
    color: var(--text-secondary);
}

/* ==========================================================
   RECRUITER SUB-PAGES: RESPONSIVENESS
   ========================================================== */
@media (max-width: 1200px) {
    .candidates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rec-filters-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .billing-usage-grid {
        grid-template-columns: 1fr;
    }

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

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

    .funnel-label {
        width: 90px;
        font-size: 11px;
    }

    .billing-current-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   PRELOADER — shown on first paint of every page, faded out once the page
   (and a minimum dwell time, so it never just flashes) has finished loading.
   ========================================================================== */
#cpPreloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 20%, #1E3A8A 0%, #0F172A 55%, #0B1220 100%);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#cpPreloader.cp-preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cp-preloader-inner {
    text-align: center;
}

.cp-preloader-ring-wrap {
    position: relative;
    width: 116px;
    height: 116px;
    margin: 0 auto 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-preloader-ring,
.cp-preloader-ring-inner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
}

.cp-preloader-ring {
    border-top-color: #F97316;
    border-right-color: #F97316;
    animation: cpSpin 1.1s linear infinite;
}

.cp-preloader-ring-inner {
    inset: 11px;
    border-bottom-color: rgba(255, 255, 255, 0.55);
    animation: cpSpinReverse 1.7s linear infinite;
}

.cp-preloader-logo-box {
    position: relative;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
    animation: cpPulse 1.7s ease-in-out infinite;
    overflow: hidden;
}

.cp-preloader-logo-box img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.cp-preloader-text {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.92;
}

.cp-preloader-dots span {
    display: inline-block;
    animation: cpDotBounce 1.4s infinite ease-in-out both;
}

.cp-preloader-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.cp-preloader-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.cp-preloader-bar {
    width: 140px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.cp-preloader-bar span {
    display: block;
    height: 100%;
    width: 40%;
    border-radius: 3px;
    background: linear-gradient(90deg, #F97316, #FBBF24);
    animation: cpBarSlide 1.2s ease-in-out infinite;
}

@keyframes cpSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes cpSpinReverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes cpPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

@keyframes cpDotBounce {

    0%,
    80%,
    100% {
        opacity: 0.2;
    }

    40% {
        opacity: 1;
    }
}

@keyframes cpBarSlide {
    0% {
        transform: translateX(-140%);
    }

    100% {
        transform: translateX(350%);
    }
}

@media (prefers-reduced-motion: reduce) {

    .cp-preloader-ring,
    .cp-preloader-ring-inner,
    .cp-preloader-logo-box,
    .cp-preloader-dots span,
    .cp-preloader-bar span {
        animation: none !important;
    }
}

/* ==========================================================================
   SUPPORT / CHATBOT WIDGET — floating bubble on every job-seeker and
   employer dashboard page. Not shown to admins (they answer, not ask).
   ========================================================================== */
#cpSupportWidget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99998;
    font-family: 'Inter', sans-serif;
}

.cp-support-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F97316, #FB923C);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
    border: none;
    transition: transform 0.2s ease;
    position: relative;
}

.cp-support-bubble:hover {
    transform: scale(1.08);
}

.cp-support-bubble .cp-support-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #DC2626;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.cp-support-panel {
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 500px;
    max-height: 70vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: cpSupportPopIn 0.25s ease;
}

.cp-support-panel.open {
    display: flex;
}

@keyframes cpSupportPopIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cp-support-header {
    background: linear-gradient(135deg, #1E3A8A, #0F172A);
    color: #fff;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cp-support-header img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
    object-fit: contain;
}

.cp-support-header h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
}

.cp-support-header p {
    margin: 0;
    font-size: 11px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cp-support-header p .cp-support-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22C55E;
    display: inline-block;
}

.cp-support-close {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
}

.cp-support-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #F8FAFC;
}

.cp-support-bot-row {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.cp-support-bot-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.cp-support-bot-avatar img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.cp-support-bot-bubble,
.cp-support-msg {
    max-width: 80%;
    padding: 10px 13px;
    border-radius: 14px;
    font-size: 12.5px;
    line-height: 1.5;
}

.cp-support-bot-bubble {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-bottom-left-radius: 4px;
    color: #0F172A;
}

.cp-support-msg.mine {
    background: var(--primary-blue, #2563EB);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.cp-support-msg.theirs {
    background: #fff;
    border: 1px solid #E2E8F0;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: #0F172A;
}

.cp-support-quick-replies {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0 4px 34px;
}

.cp-support-quick-btn {
    text-align: left;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #fff;
    font-size: 12.5px;
    font-weight: 600;
    color: #0F172A;
    cursor: pointer;
    font-family: inherit;
}

.cp-support-quick-btn:hover {
    border-color: var(--primary-orange, #F97316);
    color: var(--primary-orange, #F97316);
}

.cp-support-quick-btn.cp-support-escalate {
    border-color: var(--primary-orange, #F97316);
    background: #FFF7ED;
    color: #C2410C;
}

.cp-support-footer {
    padding: 12px;
    border-top: 1px solid #F1F5F9;
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    background: #fff;
}

.cp-support-footer input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    font-size: 12.5px;
    outline: none;
    font-family: inherit;
}

.cp-support-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-orange, #F97316);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    #cpSupportWidget {
        bottom: 16px;
        right: 16px;
    }

    .cp-support-panel {
        width: calc(100vw - 24px);
        height: 72vh;
    }
}
/* Proposal builder: searchable company picker and contract allocation cards. */
.proposal-company-field { margin-top: 22px; }
.proposal-company-combobox { position: relative; }
.proposal-company-combobox > i { position:absolute;left:16px;top:18px;color:#94A3B8;z-index:2; }
.proposal-company-combobox > input[type="search"] { width:100%;min-height:54px;padding:12px 16px 12px 46px;border:1px solid #CBD5E1;border-radius:13px;font:inherit;background:#fff; }
.proposal-company-combobox > input[type="search"]:focus { border-color:#2563EB;box-shadow:0 0 0 3px rgba(37,99,235,.12);outline:none; }
.proposal-company-options { display:none;position:absolute;left:0;right:0;top:calc(100% + 7px);max-height:250px;overflow:auto;background:#fff;border:1px solid #E2E8F0;border-radius:13px;box-shadow:0 18px 44px rgba(15,23,42,.16);z-index:20;padding:6px; }
.proposal-company-options.open { display:block; }
.proposal-company-option { width:100%;border:0;background:#fff;text-align:left;padding:11px 12px;border-radius:9px;cursor:pointer;font:inherit; }
.proposal-company-option:hover,.proposal-company-option:focus { background:#EFF6FF;outline:none; }
.proposal-company-option strong,.proposal-company-option small { display:block; }
.proposal-company-option small { margin-top:3px;color:#64748B; }
.selected-company-summary { margin-top:8px;padding:9px 12px;border-radius:10px;background:#EFF6FF;color:#1E40AF;font-size:12px;font-weight:700; }
.proposal-section-heading { margin:22px 0 13px;padding-top:18px;border-top:1px solid #E2E8F0; }
.proposal-section-heading span { display:block;font-size:16px;font-weight:800;color:#0F172A; }
.proposal-section-heading small { display:block;margin-top:4px;color:#64748B;line-height:1.5; }
.proposal-category-info { padding:13px 14px;margin:-3px 0 18px;border:1px solid #BFDBFE;border-radius:12px;background:#EFF6FF;color:#1E3A8A;font-size:12.5px;line-height:1.55; }
#proposalForm .auth-field > input:not([type="hidden"]),#proposalForm .auth-field > select,#proposalForm .auth-field > textarea { width:100%;min-height:46px;box-sizing:border-box; }
#proposalForm .auth-field > textarea { min-height:108px;resize:vertical; }
.contract-category-form .category-allocation-grid { display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin-top:14px; }
@media (max-width:640px) { .contract-category-form .category-allocation-grid { grid-template-columns:1fr; } #proposalForm > div[style*="repeat(3,1fr)"] { grid-template-columns:1fr !important; } }
