/* Font: loaded via <link> in HTML <head> (preconnect + Inter) */

/* ============================================================
   InJob.az — Brand Design System
   Complete stylesheet · all pages
   ============================================================ */

/* ---- 1. Design Tokens ---- */
:root {
    /* Brand palette */
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --primary-dark: #0F2D5C;
    --navy: #081B3A;

    --background: #F8FAFC;
    --surface: #FFFFFF;
    --surface-hover: #F1F5F9;

    --border: #D8E0EA;

    --text: #1E293B;
    --text-secondary: #64748B;
    --text-light: #94A3B8;

    --success: #16A34A;
    --warning: #F59E0B;
    --danger: #DC2626;

    --shadow-color: rgba(15, 45, 92, 0.08);

    --gradient: linear-gradient(135deg, #081B3A 0%, #0F2D5C 45%, #2563EB 100%);

    --accent-light: #60A5FA;
    --accent-light-dark: #3B82F6;
    --accent-glow: rgba(96, 165, 250, 0.4);

    /* Legacy aliases */
    --paper: var(--background);
    --paper-warm: var(--surface-hover);
    --ink: var(--text);
    --ink-soft: var(--primary-dark);
    --ink-muted: var(--text-secondary);
    --ink-faint: var(--text-light);

    --violet: var(--primary);
    --violet-dark: var(--primary-hover);
    --violet-light: #3B82F6;
    --violet-glow: rgba(37, 99, 235, 0.35);
    --violet-subtle: rgba(37, 99, 235, 0.08);
    --violet-muted: rgba(37, 99, 235, 0.15);

    --lime: var(--accent-light);
    --lime-dark: var(--accent-light-dark);
    --lime-glow: var(--accent-glow);

    --coral: var(--warning);
    --coral-subtle: rgba(245, 158, 11, 0.1);

    --white: var(--surface);
    --card-border: var(--border);
    --border-strong: #B8C4D4;

    --info: var(--primary);

    --font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height: 1.65;

    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    --shadow-xs: 0 1px 2px var(--shadow-color);
    --shadow-sm: 0 2px 8px var(--shadow-color);
    --shadow-md: 0 8px 24px rgba(15, 45, 92, 0.1);
    --shadow-lg: 0 16px 48px rgba(15, 45, 92, 0.12);
    --shadow-card: 0 1px 3px var(--shadow-color), 0 6px 20px var(--shadow-color);
    --shadow-glow: 0 4px 24px var(--violet-glow);

    --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.25, 0.64, 1);
    --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-spring: 0.42s var(--ease-spring);
    --transition-tile: 0.38s var(--ease-out-expo);
    --header-height: 72px;
    --container-width: 1320px;
    --focus-ring: 0 0 0 3px rgba(37, 99, 235, 0.25);

    --primary-color: var(--primary);
    --primary-light: #3B82F6;
    --secondary-color: var(--warning);
    --accent-color: var(--accent-light);
    --gray-50: var(--background);
    --gray-100: var(--surface-hover);
    --gray-200: var(--border);
    --gray-300: var(--border-strong);
    --gray-400: var(--text-light);
    --gray-500: var(--text-secondary);
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: var(--primary-dark);
    --gray-900: var(--navy);
    --border-radius: var(--radius);
    --border-radius-sm: var(--radius-sm);
    --border-radius-lg: var(--radius-lg);
    --border-radius-full: var(--radius-pill);
    --box-shadow: var(--shadow-sm);
    --box-shadow-md: var(--shadow-md);
    --box-shadow-lg: var(--shadow-lg);
    --box-shadow-xl: var(--shadow-lg);
}

/* ---- 2. Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
    font-family: var(--font-family);
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height);
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.admin-locked {
    overflow: hidden;
}

body > .footer,
body > footer.footer {
    margin-top: auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.03em;
}

p {
    margin-bottom: 0.75rem;
}

p:last-child {
    margin-bottom: 0;
}

::selection {
    background: var(--violet-muted);
    color: var(--ink);
}

:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* ---- 3. Layout & Utilities ---- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.5rem;
    letter-spacing: -0.04em;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-light));
    border-radius: 2px;
    margin-top: 0.65rem;
}

.section-header .section-title::after {
    display: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--ink-muted);
    font-size: 1.05rem;
    margin-top: -0.25rem;
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--violet);
    font-weight: 700;
    font-size: 0.95rem;
    transition: gap 0.3s var(--ease-spring), color 0.2s ease, transform 0.3s var(--ease-spring);
}

.view-all:hover {
    color: var(--violet-dark);
    gap: 0.85rem;
    transform: translateX(3px);
}

.text-muted {
    color: var(--ink-muted);
}

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--ink-muted);
}

.empty-state .btn {
    margin-top: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: var(--violet-subtle);
    color: var(--violet);
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: var(--paper-warm);
    color: var(--ink-muted);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
}

.server-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--accent-light-dark);
    background: rgba(37, 99, 235, 0.12);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    margin-left: 0.5rem;
    font-weight: 600;
}

.server-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

.loading-state {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--violet);
    font-size: 2rem;
    grid-column: 1 / -1;
}

/* ---- 4. Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.35rem;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    transition:
        transform 0.28s var(--ease-spring),
        box-shadow 0.28s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease;
    white-space: nowrap;
    border: 1.5px solid transparent;
    cursor: pointer;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.btn i {
    transition: transform 0.28s var(--ease-spring);
}

.btn:hover i {
    transform: scale(1.12);
}

.btn:active:not(:disabled) {
    transform: scale(0.97);
    transition-duration: 0.1s;
}

.btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.btn-primary {
    background: var(--violet);
    color: var(--white);
    border-color: var(--violet);
    box-shadow: var(--shadow-glow);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 35%,
        rgba(255, 255, 255, 0.22) 50%,
        transparent 65%
    );
    transform: translateX(-120%);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.btn-primary:hover {
    background: var(--violet-dark);
    border-color: var(--violet-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px var(--violet-glow);
}

.btn-primary:hover::after {
    transform: translateX(120%);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 4px 16px var(--violet-glow);
}

.btn-outline {
    background: var(--white);
    border-color: var(--navy);
    color: var(--text);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(8, 27, 58, 0.18);
}

.btn-outline:active:not(:disabled) {
    transform: translateY(0) scale(0.97);
}

.btn-large {
    padding: 0.9rem 1.75rem;
    font-size: 1rem;
}

.btn-small {
    padding: 0.45rem 0.95rem;
    font-size: 0.82rem;
}

.btn-block,
.btn-full {
    width: 100%;
}

.btn-icon {
    padding: 0.65rem;
    border-radius: var(--radius);
}

.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}


/* ---- 5. Header & Navigation ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    box-shadow: var(--shadow-xs);
}

.navbar {
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1.5rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    background: var(--surface-hover);
    border: 1px solid var(--border);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

.nav-menu li a {
    display: block;
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-muted);
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--violet);
    background: var(--violet-subtle);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.language-switcher {
    display: flex;
    align-items: center;
    background: var(--paper-warm);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-pill);
    padding: 3px;
    gap: 2px;
}

.lang-btn {
    padding: 0.3rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ink-muted);
    border-radius: var(--radius-pill);
    min-width: 2rem;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--ink);
}

.lang-btn.active {
    background: var(--white);
    color: var(--violet);
    box-shadow: var(--shadow-xs);
}

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--ink);
    border: 1px solid var(--card-border);
    background: var(--white);
    font-size: 1.1rem;
}

.mobile-menu-toggle:hover {
    background: var(--paper-warm);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-menu .user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- 6. Hero Section ---- */
.hero {
    background: var(--navy);
    padding: 4.5rem 0 5rem;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 15% 40%, rgba(37, 99, 235, 0.45) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 85% 70%, rgba(96, 165, 250, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 40% 30% at 60% 10%, rgba(37, 99, 235, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.5;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left,
.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem 0.4rem 0.45rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

.hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px var(--lime-glow);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.85); }
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--accent-light) 0%, #BFDBFE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
}

.hero-trust-item i {
    color: var(--accent-light);
    font-size: 0.9rem;
}

.hero-trust-item strong {
    color: var(--white);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-right {
    position: relative;
}

.hero-map-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    height: 380px;
    min-height: 280px;
    background: #dce6f0;
    isolation: isolate;
    display: flex;
    flex-direction: column;
}

#heroMiniMap {
    flex: 1 1 auto;
    width: 100%;
    min-height: 280px;
    z-index: 1;
}

.map-overlay-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 500;
    background: rgba(12, 12, 15, 0.88);
    backdrop-filter: blur(12px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    white-space: nowrap;
    max-width: calc(100% - 1.75rem);
}

.map-overlay-badge i {
    color: var(--accent-light);
}

.map-overlay-badge strong {
    color: var(--accent-light);
    margin: 0 0.2rem;
}

.map-hero-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 500;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.85rem;
    background: rgba(12, 12, 15, 0.88);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.map-hero-actions .btn {
    flex: 1;
    min-width: 130px;
    justify-content: center;
    font-size: 0.78rem;
}

.map-hero-actions .btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.map-hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.map-hero-actions .btn-primary {
    background: var(--accent-light);
    color: var(--navy);
    border-color: var(--accent-light);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.map-hero-actions .btn-primary:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
}

.quick-links {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

.quick-links a {
    color: var(--white);
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
}

.quick-links a:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.4);
    color: var(--accent-light);
}

/* ---- 7. Search Box ---- */
.search-box {
    display: flex;
    align-items: stretch;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    gap: 0;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.1rem;
    flex: 1;
    border-right: 1px solid var(--card-border);
    min-width: 0;
}

.search-box .search-field:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

.search-box .search-field:nth-child(2) {
    flex: 0 0 168px;
    max-width: 168px;
    padding: 0 0.85rem;
}

.search-field:last-of-type {
    border-right: none;
}

.search-field i {
    color: var(--ink-faint);
    flex-shrink: 0;
}

.search-field input,
.search-field select {
    flex: 1;
    border: none;
    outline: none;
    padding: 1.05rem 0;
    font-size: 0.95rem;
    color: var(--ink);
    background: transparent;
    min-width: 0;
    width: 100%;
}

.search-field input::placeholder {
    color: var(--ink-faint);
}

.city-select-btn {
    flex: 1;
    text-align: left;
    padding: 1.05rem 0;
    font-size: 0.95rem;
    color: var(--ink-faint);
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.city-select-btn.selected {
    color: var(--ink);
    font-weight: 600;
}

.search-box .btn-primary {
    border-radius: 0;
    padding: 0 1.25rem;
    flex-shrink: 0;
    font-size: 0.88rem;
    white-space: nowrap;
}

.search-box .btn-primary.btn-large {
    padding: 0 1.25rem;
    font-size: 0.88rem;
}

.search-box .btn-primary:hover {
    transform: none;
    box-shadow: none;
}

.search-box .btn-primary:hover::after {
    transform: translateX(120%);
}

.search-box .btn-primary:active:not(:disabled) {
    transform: scale(0.98);
}

.search-section {
    background: var(--navy);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.search-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(37, 99, 235, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.search-section .container {
    position: relative;
    z-index: 1;
}

.search-section .search-box {
    box-shadow: var(--shadow-lg);
}


/* ---- 8. Categories ---- */
.categories {
    padding: 4.5rem 0;
    background: var(--paper);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 1.85rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition:
        transform var(--transition-spring),
        box-shadow var(--transition-tile),
        border-color 0.25s ease;
    will-change: transform;
}

.category-card:hover {
    border-color: var(--violet-muted);
    box-shadow: 0 14px 40px rgba(15, 45, 92, 0.12);
    transform: translateY(-6px);
}

.category-card:active {
    transform: translateY(-2px) scale(0.99);
    transition-duration: 0.12s;
}

.category-icon {
    width: 58px;
    height: 58px;
    background: var(--violet-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
    font-size: 1.45rem;
    color: var(--violet);
    transition:
        transform var(--transition-spring),
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.category-card:hover .category-icon {
    background: var(--violet);
    color: var(--white);
    box-shadow: 0 8px 24px var(--violet-glow);
    transform: scale(1.1) translateY(-3px);
}

.category-card:hover .category-icon i {
    animation: icon-bounce 0.55s var(--ease-spring);
}

.category-card h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ink);
}

.categories-footer {
    text-align: center;
}

/* ---- 9. Job Cards ---- */
.featured-jobs {
    padding: 4.5rem 0;
    background: var(--paper-warm);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.job-card,
.job-card-large {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition:
        transform var(--transition-spring),
        box-shadow var(--transition-tile),
        border-color 0.25s ease;
    will-change: transform;
}

.job-card:hover,
.job-card-large:hover {
    box-shadow: 0 14px 40px rgba(15, 45, 92, 0.12);
    border-color: var(--violet-muted);
    transform: translateY(-5px);
}

.job-card:active,
.job-card-large:active {
    transform: translateY(-2px) scale(0.995);
    transition-duration: 0.12s;
}

.job-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.company-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--violet-subtle), var(--coral-subtle));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--violet);
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid var(--card-border);
    transition: transform var(--transition-spring), box-shadow 0.25s ease;
}

.job-card:hover .company-logo,
.job-card-large:hover .company-logo {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 16px var(--violet-glow);
}

.job-info {
    flex: 1;
    min-width: 0;
}

.job-info h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.2rem;
    letter-spacing: -0.02em;
}

.company-name {
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.bookmark-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--ink-faint);
    transition:
        transform 0.28s var(--ease-spring),
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
    flex-shrink: 0;
    border: 1px solid transparent;
}

.bookmark-btn:hover {
    background: var(--paper-warm);
    color: var(--violet);
    border-color: var(--card-border);
    transform: scale(1.1);
}

.bookmark-btn:active {
    transform: scale(0.95);
}

.bookmark-btn .fas {
    color: var(--coral);
}

.job-description {
    color: var(--ink-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.job-detail-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.83rem;
    color: var(--ink-muted);
}

.job-detail-item i {
    color: var(--ink-faint);
    font-size: 0.78rem;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.job-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--paper-warm);
    gap: 1rem;
}

.salary {
    font-weight: 800;
    color: var(--lime-dark);
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

/* ---- 10. How It Works ---- */
.how-it-works {
    padding: 5rem 0;
    background: var(--white);
    text-align: center;
}

.how-it-works .section-title {
    margin-bottom: 3rem;
}

.how-it-works .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.step-card {
    position: relative;
    padding: 2.25rem 1.5rem 2rem;
    background: var(--paper);
    border-radius: var(--radius-xl);
    border: 1px solid var(--card-border);
    transition:
        transform var(--transition-spring),
        box-shadow var(--transition-tile),
        border-color 0.25s ease;
}

.step-card:hover {
    box-shadow: 0 14px 40px rgba(15, 45, 92, 0.1);
    transform: translateY(-6px);
    border-color: var(--violet-muted);
}

.step-card:hover .step-icon {
    transform: scale(1.08);
    background: var(--violet);
    color: var(--white);
    box-shadow: 0 8px 20px var(--violet-glow);
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--violet);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 4px 12px var(--violet-glow);
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--violet-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem auto 1.25rem;
    font-size: 1.45rem;
    color: var(--violet);
    transition:
        transform var(--transition-spring),
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.step-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--ink-muted);
    line-height: 1.65;
}

/* ---- 11. Statistics ---- */
.statistics {
    padding: 4.5rem 0;
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.statistics::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 20% 50%, rgba(37, 99, 235, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 80% 50%, rgba(96, 165, 250, 0.15) 0%, transparent 55%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-card {
    padding: 1rem;
    transition: transform var(--transition-spring);
    border-radius: var(--radius-lg);
}

.stat-card:hover {
    transform: translateY(-6px) scale(1.02);
}

.stat-card:hover .stat-icon {
    transform: scale(1.12) rotate(5deg);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--white);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
    color: var(--accent-light);
    transition: transform var(--transition-spring);
}

/* ---- 12. Footer ---- */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.65);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.footer-section h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 0.65rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--accent-light);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}


/* ---- 13. Cities Modal ---- */
.cities-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 15, 0.65);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(6px);
}

.cities-modal.active {
    display: flex;
}

.cities-modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 640px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--card-border);
    animation: modalSlideIn 0.3s ease;
}

.cities-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.cities-modal-header h2 {
    font-size: 1.15rem;
    font-weight: 800;
}

.cities-modal-close {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--ink-muted);
    font-size: 1.25rem;
    transition: var(--transition);
}

.cities-modal-close:hover {
    background: var(--paper-warm);
    color: var(--ink);
}

.cities-modal-body {
    padding: 1.25rem 1.5rem 1.5rem;
    overflow-y: auto;
}

.cities-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem;
    background: var(--paper);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-pill);
    margin-bottom: 1.25rem;
}

.cities-search i {
    color: var(--ink-faint);
}

.cities-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 0;
    outline: none;
    font-size: 0.95rem;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.city-btn {
    padding: 0.7rem 0.75rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink-muted);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.city-btn:hover {
    border-color: var(--violet);
    color: var(--violet);
    background: var(--violet-subtle);
}

.city-btn.active {
    background: var(--violet);
    color: var(--white);
    border-color: var(--violet);
    box-shadow: 0 4px 14px var(--violet-glow);
}

/* ---- 14. Jobs Listing Page ---- */
.jobs-listing {
    padding: 2.5rem 0 4rem;
    background: var(--paper-warm);
    min-height: 60vh;
    flex: 1;
}

.jobs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.filters-sidebar {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--header-height) + 1rem);
    box-shadow: var(--shadow-xs);
}

.filter-section {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--paper-warm);
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-section h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.filter-section h3 i {
    color: var(--violet);
    margin-right: 0.35rem;
}

.filter-section h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.filter-section h4 i {
    color: var(--violet);
    font-size: 0.82rem;
}

.filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-muted);
    display: block;
    margin-bottom: 0.35rem;
}

.filter-section .checkbox-label,
.filter-section .radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.filter-section .checkbox-label:hover,
.filter-section .radio-label:hover {
    color: var(--ink);
}

.filter-select {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    font-size: 0.88rem;
    color: var(--ink);
    background: var(--white);
    outline: none;
    transition: var(--transition);
}

.filter-select:focus {
    border-color: var(--violet);
    box-shadow: var(--focus-ring);
}

.salary-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.salary-range input {
    flex: 1;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    font-size: 0.88rem;
    outline: none;
    min-width: 0;
}

.salary-range input:focus {
    border-color: var(--violet);
    box-shadow: var(--focus-ring);
}

.salary-range span {
    color: var(--ink-faint);
    flex-shrink: 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.88rem;
}

.jobs-content {
    min-width: 0;
}

.jobs-map-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--ink-muted);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
    cursor: pointer;
}

.view-btn:hover {
    border-color: var(--violet);
    color: var(--violet);
}

.view-btn.active {
    background: var(--violet);
    color: var(--white);
    border-color: var(--violet);
    box-shadow: 0 4px 14px var(--violet-glow);
}

.jobs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 1rem 1.25rem;
}

.results-info {
    font-size: 0.92rem;
    color: var(--ink-muted);
}

.results-info strong {
    color: var(--ink);
    font-weight: 800;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.sort-options select {
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    font-size: 0.88rem;
    outline: none;
    background: var(--white);
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.jobs-map-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--card-border);
    height: 600px;
    min-height: 400px;
    background: var(--paper-warm);
    margin-bottom: 1rem;
}

#jobsMap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink-muted);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
    cursor: pointer;
    padding: 0 0.5rem;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--violet);
    color: var(--violet);
}

.pagination-btn.active {
    background: var(--violet);
    color: var(--white);
    border-color: var(--violet);
    box-shadow: 0 4px 14px var(--violet-glow);
}

.pagination-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.pagination-dots {
    color: var(--ink-faint);
    padding: 0 0.25rem;
}


/* ---- 15. Job Detail Page ---- */
.job-detail-section {
    padding: 2.5rem 0 4rem;
    background: var(--paper-warm);
    flex: 1;
}

.job-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
}

.job-detail-main {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.job-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.company-info {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.company-logo-large {
    width: 76px;
    height: 76px;
    background: var(--violet-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--violet);
    font-size: 1.85rem;
    flex-shrink: 0;
    border: 1px solid var(--card-border);
}

.job-title {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    letter-spacing: -0.04em;
}

.company-name-large {
    font-size: 1.05rem;
    color: var(--ink-muted);
    margin-bottom: 0.75rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.job-meta i {
    color: var(--violet);
}

.job-actions-desktop {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.job-overview-card {
    background: var(--paper);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.job-overview-card h3 {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.job-overview-grid,
.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.overview-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.overview-item i {
    display: none;
}

.overview-item span {
    color: var(--ink-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.overview-item strong {
    color: var(--ink);
    font-weight: 800;
    font-size: 0.95rem;
}

.overview-label {
    display: block;
    font-size: 0.78rem;
    color: var(--ink-muted);
    margin-bottom: 0.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.overview-value {
    display: block;
    font-weight: 800;
    color: var(--ink);
    font-size: 0.95rem;
}

.job-content-section {
    margin-bottom: 2rem;
}

.job-content-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--violet);
    display: inline-block;
    font-weight: 800;
}

.job-content-section p {
    color: var(--ink-muted);
    line-height: 1.85;
    margin-bottom: 0.75rem;
}

.job-content-block,
.content-block {
    background: var(--paper);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.job-content-block h3,
.content-block h3 {
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
    font-weight: 800;
    color: var(--ink);
}

.job-content-block p,
.content-block p {
    color: var(--ink-muted);
    line-height: 1.85;
}

.job-list {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--ink-muted);
}

.job-list li {
    margin-bottom: 0.5rem;
}

.job-skills {
    margin-bottom: 1.5rem;
}

.job-skills h3 {
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
    font-weight: 800;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.skill-tag {
    padding: 0.35rem 0.85rem;
    background: var(--violet-subtle);
    color: var(--violet);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid var(--violet-muted);
}

.job-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: calc(var(--header-height) + 1rem);
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

.sidebar-card h4 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.apply-card {
    box-shadow: var(--shadow-card);
}

.salary-badge {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--lime-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.apply-note {
    font-size: 0.82rem;
    color: var(--ink-muted);
    margin-bottom: 1.25rem;
    padding: 0.75rem;
    background: var(--paper);
    border-radius: var(--radius);
    border-left: 3px solid var(--lime);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-item i {
    width: 36px;
    height: 36px;
    background: var(--violet-subtle);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--violet);
    flex-shrink: 0;
    font-size: 0.85rem;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    color: var(--ink-faint);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-value {
    display: block;
    font-weight: 700;
    color: var(--ink);
    font-size: 0.9rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.linkedin { background: #0A66C2; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.telegram { background: #0088CC; }
.share-btn.copy { background: var(--ink-muted); }

.map-placeholder {
    height: 200px;
    background: var(--paper);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--ink-faint);
    border: 1px dashed var(--card-border);
}

.map-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--violet-muted);
}

.similar-jobs {
    padding: 3rem 0;
    background: var(--paper);
}

.similar-jobs .section-title {
    margin-bottom: 2rem;
}


/* ---- 16. Employer Page ---- */
.employer-hero,
.seeker-hero {
    background: var(--navy);
    padding: 4.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.employer-hero::before,
.seeker-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 50% at 30% 50%, rgba(37, 99, 235, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 45% 40% at 75% 60%, rgba(96, 165, 250, 0.15) 0%, transparent 55%);
    pointer-events: none;
}

.employer-hero-content,
.seeker-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.employer-hero-content h1,
.seeker-hero h1 {
    color: var(--white);
    font-size: clamp(1.85rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.employer-hero-content p,
.seeker-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.08rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.employer-hero .btn-outline,
.seeker-hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
    background: transparent;
}

.employer-hero .btn-outline:hover,
.seeker-hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white);
}

.employer-hero .btn-primary,
.seeker-hero .btn-primary {
    background: var(--primary);
    color: var(--ink);
    border-color: var(--lime);
    box-shadow: 0 6px 24px var(--lime-glow);
}

.employer-hero .btn-primary:hover,
.seeker-hero .btn-primary:hover {
    background: var(--lime-dark);
    border-color: var(--lime-dark);
    color: var(--ink);
}

.employer-benefits,
.seeker-benefits {
    padding: 4.5rem 0;
    background: var(--paper);
}

.employer-benefits .section-title,
.seeker-benefits .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.employer-benefits .section-title::after,
.seeker-benefits .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.benefit-card {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 1.85rem;
    transition:
        transform var(--transition-spring),
        box-shadow var(--transition-tile),
        border-color 0.25s ease;
}

.benefit-card:hover {
    box-shadow: 0 14px 40px rgba(15, 45, 92, 0.1);
    border-color: var(--violet-muted);
    transform: translateY(-5px);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) translateY(-2px);
    background: var(--violet);
    color: var(--white);
    box-shadow: 0 8px 20px var(--violet-glow);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--violet-subtle);
    color: var(--violet);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
    transition:
        transform var(--transition-spring),
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.benefit-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.benefit-card p {
    font-size: 0.88rem;
    color: var(--ink-muted);
    line-height: 1.65;
}

.pricing-section {
    padding: 5rem 0;
    background: var(--paper-warm);
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 1rem;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 2rem 1.75rem;
    position: relative;
    transition:
        transform var(--transition-spring),
        box-shadow var(--transition-tile),
        border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    box-shadow: 0 16px 44px rgba(15, 45, 92, 0.12);
    transform: translateY(-6px);
}

.pricing-card.featured {
    border: 2px solid var(--violet);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--violet);
    color: var(--white);
    padding: 0.35rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 14px var(--violet-glow);
}

.pricing-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.pricing-header h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--violet);
    line-height: 1;
    letter-spacing: -0.04em;
}

.price-currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink-muted);
}

.price-period {
    font-size: 0.88rem;
    color: var(--ink-muted);
    margin-top: 0.5rem;
}

.pricing-features {
    flex: 1;
    margin-bottom: 1.5rem;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0;
    font-size: 0.88rem;
    color: var(--ink-muted);
    border-bottom: 1px solid var(--paper-warm);
}

.pricing-features li i.fa-check {
    color: var(--lime-dark);
}

.pricing-features li i.fa-times {
    color: var(--ink-faint);
}

.post-job-section {
    padding: 4.5rem 0;
    background: var(--paper);
}

.post-job-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.post-job-header h2 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.post-job-header p {
    color: var(--ink-muted);
}

.post-job-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.employer-stats {
    padding: 4.5rem 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.employer-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(37, 99, 235, 0.35) 0%, transparent 65%);
    pointer-events: none;
}

.employer-stats .section-title {
    text-align: center;
    color: var(--white);
    margin-bottom: 2.5rem;
}

.employer-stats .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.employer-stats .stats-grid {
    position: relative;
    z-index: 1;
}

.employer-stats .stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

.employer-stats .stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.employer-stats .stat-number {
    color: var(--accent-light);
}

.employer-stats .stat-label {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials {
    padding: 4.5rem 0;
    background: var(--paper-warm);
}

.testimonials .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.testimonials .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    transition:
        transform var(--transition-spring),
        box-shadow var(--transition-tile),
        border-color 0.25s ease;
}

.testimonial-card:hover {
    box-shadow: 0 14px 40px rgba(15, 45, 92, 0.1);
    transform: translateY(-5px);
    border-color: var(--violet-muted);
}

.testimonial-rating {
    color: var(--coral);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--ink-muted);
    line-height: 1.75;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--violet-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--violet);
    font-size: 1rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--ink);
}

.author-position {
    font-size: 0.82rem;
    color: var(--ink-muted);
}

.cta-section {
    background: var(--navy);
    color: var(--white);
    padding: 4.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 30% 50%, rgba(37, 99, 235, 0.45) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 75% 50%, rgba(96, 165, 250, 0.12) 0%, transparent 55%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.cta-section p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
    background: transparent;
}

.cta-section .btn-outline:hover {
    background: var(--white);
    color: var(--ink);
    border-color: var(--white);
}

.cta-section .btn-primary {
    background: var(--primary);
    color: var(--ink);
    border-color: var(--lime);
}


/* ---- 17. Forms ---- */
.form-group {
    margin-bottom: 1.15rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    font-size: 0.92rem;
    color: var(--ink);
    background: var(--white);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--violet);
    box-shadow: var(--focus-ring);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-section-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    margin: 1.75rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--violet-subtle);
    letter-spacing: -0.02em;
}

.salary-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.salary-inputs input {
    flex: 1;
}

.salary-inputs span {
    color: var(--ink-faint);
    flex-shrink: 0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--ink-muted);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"],
.checkbox-label input[type="radio"],
.radio-label input[type="radio"] {
    width: auto;
    margin-top: 0.2rem;
    accent-color: var(--violet);
    flex-shrink: 0;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--ink-muted);
    margin-top: 0.35rem;
    line-height: 1.5;
}

.map-picker-actions {
    margin-bottom: 0.5rem;
}

.employer-map-picker {
    height: 320px;
    width: 100%;
    border-radius: var(--radius-xl);
    border: 1px solid var(--card-border);
    margin: 1rem 0 1.5rem;
    z-index: 1;
    overflow: hidden;
}

/* ---- 18. Modal ---- */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 15, 0.65);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(6px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--card-border);
    animation: modalSlideIn 0.3s ease;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
}

.modal-close {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--ink-muted);
    border-radius: var(--radius);
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    background: var(--paper-warm);
    color: var(--ink);
}

.modal-body {
    padding: 1.5rem;
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.file-upload label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    border: 2px dashed var(--card-border);
    border-radius: var(--radius-xl);
    color: var(--ink-muted);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 0.88rem;
}

.file-upload label:hover {
    border-color: var(--violet);
    color: var(--violet);
    background: var(--violet-subtle);
}

.file-upload label i {
    font-size: 1.5rem;
}

/* ---- 19. Admin Panel ---- */
.admin-lock {
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 15, 0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(12px);
}

.admin-lock-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--card-border);
}

.admin-lock-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.lock-sub {
    color: var(--ink-muted);
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}

.lock-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lock-form input {
    padding: 0.8rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    outline: none;
}

.lock-form input:focus {
    border-color: var(--violet);
    box-shadow: var(--focus-ring);
}

.admin-page {
    padding: 2rem 0 4rem;
    background: var(--paper-warm);
    min-height: calc(100vh - var(--header-height));
    flex: 1;
}

.admin-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.admin-hero h1 {
    font-size: 1.85rem;
    margin-bottom: 0.35rem;
    font-weight: 800;
}

.admin-hero .sub {
    color: var(--ink-muted);
    font-size: 0.92rem;
}

.admin-cta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.admin-cta .stat {
    text-align: center;
}

.admin-cta .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--violet);
    line-height: 1;
}

.admin-cta .stat-label {
    font-size: 0.82rem;
    color: var(--ink-muted);
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.admin-card {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.admin-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--card-border);
    background: var(--paper);
}

.admin-card-header h3 {
    font-size: 1.05rem;
    margin-top: 0.25rem;
    font-weight: 800;
}

.admin-form {
    padding: 1.5rem;
}

.admin-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.admin-form .form-row label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink-muted);
}

.admin-form .form-row input,
.admin-form .form-row select,
.admin-form .form-row textarea {
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    outline: none;
}

.admin-form .form-row input:focus,
.admin-form .form-row select:focus,
.admin-form .form-row textarea:focus {
    border-color: var(--violet);
    box-shadow: var(--focus-ring);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.coord-hint {
    font-size: 0.78rem;
    color: var(--ink-faint);
    margin-top: 0.25rem;
}

.admin-map-picker {
    height: 280px;
    width: 100%;
    border-radius: var(--radius-xl);
    border: 1px solid var(--card-border);
    margin-top: 0.75rem;
    overflow: hidden;
}

.admin-table-wrapper {
    overflow-x: auto;
    margin-top: 1rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
}

.admin-table th {
    background: var(--paper);
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-muted);
}

.admin-table tr:hover td {
    background: var(--violet-subtle);
}

.admin-table-btn {
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-muted);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    margin-right: 0.35rem;
}

.admin-table-btn:hover {
    border-color: var(--violet);
    color: var(--violet);
    background: var(--violet-subtle);
}

.admin-table-btn.danger:hover {
    border-color: var(--danger);
    color: var(--danger);
    background: rgba(220, 38, 38, 0.06);
}


/* ---- 20. Notifications & Animations ---- */
.notification {
    position: fixed;
    top: calc(var(--header-height) + 1rem);
    right: 1rem;
    z-index: 9999;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-xl);
    color: var(--white);
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-success {
    background: var(--navy);
    border-left: 4px solid var(--lime);
}

.notification-error {
    background: var(--navy);
    border-left: 4px solid var(--danger);
}

.notification-info {
    background: var(--navy);
    border-left: 4px solid var(--violet);
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes modalSlideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* ---- 21. Auth ---- */
.auth-section {
    padding: 3rem 0 5rem;
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    background: var(--paper-warm);
    flex: 1;
}

.auth-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: 2.5rem;
    border: 1px solid var(--card-border);
    width: 100%;
}

.auth-card-wide {
    max-width: 620px;
}

.auth-card h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.04em;
}

.auth-subtitle {
    color: var(--ink-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.auth-form .form-group {
    margin-bottom: 1.15rem;
}

.auth-form label {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.auth-footer a {
    color: var(--violet);
    font-weight: 700;
}

.auth-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.85rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.auth-meta--single {
    margin-top: 0;
}

.auth-meta__item {
    margin: 0;
    white-space: nowrap;
}

.auth-meta__item a {
    color: var(--primary);
    font-weight: 600;
    margin-left: 0.3rem;
    text-decoration: none;
}

.auth-meta__item a:hover {
    text-decoration: underline;
}

.auth-meta__sep {
    color: var(--border);
    font-weight: 300;
    user-select: none;
}

@media (max-width: 480px) {
    .auth-meta__sep {
        display: none;
    }

    .auth-meta {
        flex-direction: column;
        gap: 0.65rem;
    }
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-muted);
    margin-bottom: 1.25rem;
    transition: color 0.2s ease;
}

.auth-back:hover {
    color: var(--violet);
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.85rem;
}

.auth-badge--seeker {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.auth-badge--employer {
    background: rgba(8, 27, 58, 0.08);
    color: var(--navy);
}

.auth-role-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    padding: 0.35rem;
    background: var(--paper-warm);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-pill);
}

.auth-role-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink-muted);
    transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
    text-align: center;
}

.auth-role-tab i {
    font-size: 0.9rem;
}

.auth-role-tab:hover {
    color: var(--ink);
}

.auth-role-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.auth-path-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.auth-path-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 1.5rem;
    border: 2px solid var(--card-border);
    border-radius: var(--radius-xl);
    background: var(--white);
    transition:
        transform var(--transition-spring),
        border-color 0.25s ease,
        box-shadow var(--transition-tile);
    text-align: left;
    height: 100%;
}

.auth-path-card:hover {
    border-color: var(--violet-muted);
    box-shadow: 0 12px 32px rgba(15, 45, 92, 0.1);
    transform: translateY(-4px);
}

.auth-path-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.auth-path-card--seeker .auth-path-card__icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.auth-path-card--employer .auth-path-card__icon {
    background: rgba(8, 27, 58, 0.08);
    color: var(--navy);
}

.auth-path-card h2 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.auth-path-card p {
    font-size: 0.88rem;
    color: var(--ink-muted);
    line-height: 1.55;
    flex: 1;
}

.auth-path-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.25rem;
}

.auth-path-card--employer .auth-path-card__cta {
    color: var(--navy);
}

.auth-switch-link {
    display: block;
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.auth-switch-link a {
    color: var(--violet);
    font-weight: 700;
}

.auth-hub-footer {
    text-align: center;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
    font-size: 0.9rem;
    color: var(--ink-muted);
}

.auth-hub-footer a {
    color: var(--violet);
    font-weight: 700;
}

.dashboard-onboarding-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
}

.dashboard-onboarding-banner p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

    max-width: 700px;
}

.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.role-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    border: 2px solid var(--card-border);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.role-card input {
    display: none;
}

.role-card i {
    font-size: 1.5rem;
    color: var(--ink-muted);
}

.role-card.active {
    border-color: var(--violet);
    background: var(--violet-subtle);
}

.role-card.active i {
    color: var(--violet);
}

.role-card span {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}

/* ---- 22. Seeker & Page Header ---- */
.page-header {
    background: var(--paper-warm);
    padding: 2.75rem 0;
    text-align: center;
    border-bottom: 1px solid var(--card-border);
}

.page-header h1 {
    font-size: 2rem;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.page-header p {
    color: var(--ink-muted);
    margin-top: 0.5rem;
}

/* ---- 23. Candidates ---- */
.candidates-section {
    padding: 2rem 0 4rem;
    flex: 1;
}

.candidates-toolbar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.candidates-search {
    flex: 1;
    min-width: 200px;
}

.candidates-search input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-pill);
    font-size: 0.92rem;
    outline: none;
}

.candidates-search input:focus {
    border-color: var(--violet);
    box-shadow: var(--focus-ring);
}

.candidates-toolbar select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-pill);
    min-width: 160px;
    outline: none;
}

.candidates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.candidate-card {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    transition:
        transform var(--transition-spring),
        box-shadow var(--transition-tile),
        border-color 0.25s ease;
}

.candidate-card:hover {
    box-shadow: 0 14px 40px rgba(15, 45, 92, 0.1);
    transform: translateY(-5px);
    border-color: var(--violet-muted);
}

.candidate-card:hover .candidate-avatar {
    transform: scale(1.08);
    box-shadow: 0 8px 20px var(--violet-glow);
}

.candidate-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet-subtle), var(--coral-subtle));
    color: var(--violet);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    border: 2px solid var(--card-border);
    transition: transform var(--transition-spring), box-shadow 0.25s ease;
}

.candidate-avatar.large {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
}

.candidate-title {
    color: var(--violet);
    font-weight: 700;
    margin: 0.25rem 0;
    font-size: 0.92rem;
}

.candidate-meta {
    font-size: 0.85rem;
    color: var(--ink-muted);
    margin-bottom: 0.75rem;
}

.candidate-rating {
    color: var(--coral);
    margin-bottom: 0.75rem;
}

.candidate-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.candidate-skills .tag {
    background: var(--paper-warm);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    color: var(--ink-muted);
}

.candidate-profile-section {
    padding: 2rem 0 4rem;
    flex: 1;
}

.candidate-profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

.candidate-sidebar {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    position: sticky;
    top: calc(var(--header-height) + 1rem);
}

.profile-actions {
    margin-top: 1.25rem;
}

.profile-block {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.profile-block h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--ink);
    font-weight: 800;
}

.profile-info-list {
    list-style: none;
}

.profile-info-list li {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--paper-warm);
    color: var(--ink-muted);
    font-size: 0.88rem;
}

.profile-info-list li i {
    width: 24px;
    color: var(--violet);
}

.review-card {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--card-border);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.review-stars {
    color: var(--coral);
}

.review-form {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
}

/* ---- 24. Dashboard ---- */
.dashboard-section {
    padding: 2rem 0 4rem;
    flex: 1;
}

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 2rem;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.dashboard-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 0;
    overflow-x: auto;
}

.tab-btn {
    padding: 0.75rem 1.25rem;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--ink-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--violet);
    border-bottom-color: var(--violet);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.dashboard-form {
    max-width: 720px;
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.dashboard-form .form-group {
    margin-bottom: 1rem;
}

.dashboard-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
}

.dashboard-form input,
.dashboard-form select,
.dashboard-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
}

.meetings-list {
    max-width: 720px;
}

.meeting-card {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.meeting-card:hover {
    box-shadow: var(--shadow-sm);
}

.meeting-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.meeting-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
}

.status-pending {
    background: rgba(217, 119, 6, 0.12);
    color: #B45309;
}

.status-confirmed {
    background: rgba(22, 163, 74, 0.12);
    color: #15803D;
}

.status-cancelled {
    background: rgba(220, 38, 38, 0.1);
    color: #B91C1C;
}

.meeting-actions {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
}


/* ---- 25. Leaflet & Map Popups ---- */
.leaflet-container img,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
    max-width: none !important;
    max-height: none !important;
}

.leaflet-container {
    font-family: inherit;
}

.hero-map-container .leaflet-container {
    width: 100% !important;
    height: 100% !important;
    min-height: 280px !important;
    background: #dce6f0 !important;
}

.hero-map-container .leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
    margin-top: 3.5rem !important;
    margin-left: 0.5rem !important;
}

.jobs-map-container .leaflet-container {
    width: 100% !important;
    height: 100% !important;
    background: var(--paper-warm);
}

.map-popup-job {
    min-width: 200px;
}

.map-popup-job h4 {
    font-size: 0.95rem;
    color: var(--violet);
    margin-bottom: 0.35rem;
    font-weight: 800;
}

.map-popup-job p,
.map-popup-job .company,
.map-popup-job .location {
    font-size: 0.83rem;
    color: var(--ink-muted);
    margin-bottom: 0.25rem;
}

.map-popup-job .salary {
    font-size: 0.88rem;
    color: var(--lime-dark);
    font-weight: 700;
}

.map-popup-dist,
.map-popup-addr {
    font-size: 0.8rem;
    color: var(--ink-muted);
    margin-bottom: 0.2rem;
}

.map-popup-link {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.45rem 0.9rem;
    background: var(--violet);
    color: var(--white) !important;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    transition: var(--transition);
}

.map-popup-link:hover {
    background: var(--violet-dark);
    transform: translateY(-1px);
}

.map-popup-approx {
    font-size: 0.75rem;
    color: var(--ink-faint);
    font-style: italic;
}

/* ---- 26. Responsive: 1024px ---- */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-right {
        order: -1;
    }

    .hero-map-container {
        height: 280px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .jobs-layout {
        grid-template-columns: 240px 1fr;
    }

    .job-detail-layout {
        grid-template-columns: 1fr;
    }

    .job-detail-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .job-overview-grid,
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- 26. Scroll Reveal & Motion ---- */
@keyframes icon-bounce {
    0%, 100% { transform: scale(1); }
    40% { transform: scale(1.18); }
    70% { transform: scale(0.95); }
}

@keyframes fade-up-in {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-tile {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.5s var(--ease-out-expo),
        transform 0.5s var(--ease-out-expo);
    transition-delay: var(--reveal-delay, 0s);
}

.reveal-tile.is-visible {
    opacity: 1;
    transform: translateY(0);
}

html.app-ready .reveal-tile.is-visible {
    will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-tile {
        opacity: 1;
        transform: none;
    }

    .btn:hover,
    .category-card:hover,
    .job-card:hover,
    .job-card-large:hover,
    .step-card:hover,
    .benefit-card:hover,
    .stat-card:hover,
    .pricing-card:hover,
    .testimonial-card:hover,
    .candidate-card:hover {
        transform: none;
    }
}

/* ---- 27. Responsive: 768px ---- */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .logo-img {
        height: 36px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--card-border);
        box-shadow: var(--shadow-lg);
        z-index: 999;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: var(--radius);
    }

    .nav-actions {
        display: none;
    }

    .hero {
        padding: 2.5rem 0 3rem;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .search-box {
        flex-direction: column;
        border-radius: var(--radius-xl);
    }

    .search-field {
        border-right: none;
        border-bottom: 1px solid var(--card-border);
        flex: 1 1 auto;
        max-width: none;
    }

    .search-box .search-field:nth-child(2) {
        flex: 1 1 auto;
        max-width: none;
        padding: 0 1.1rem;
    }

    .search-field:last-of-type {
        border-bottom: none;
    }

    .search-box .btn-primary {
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
        padding: 1rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jobs-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
    }

    .jobs-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-detail-header {
        flex-direction: column;
    }

    .job-actions-desktop {
        width: 100%;
    }

    .job-overview-grid,
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .job-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .employer-hero-content h1,
    .seeker-hero h1 {
        font-size: 1.85rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .post-job-form {
        padding: 1.5rem;
    }

    .role-selector,
    .auth-path-grid,
    .candidate-profile-layout {
        grid-template-columns: 1fr;
    }

    .candidate-sidebar {
        position: static;
    }

    .admin-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-grid-2,
    .form-grid-3 {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .jobs-map-container {
        height: 380px;
        min-height: 320px;
    }

    .employer-map-picker {
        height: 260px;
    }

    .dashboard-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
}

/* ---- 28. Responsive: 480px ---- */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-actions .btn {
        display: none;
    }

    .language-switcher {
        display: none;
    }

    .cities-grid {
        grid-template-columns: 1fr;
    }

    .view-toggle {
        width: 100%;
    }

    .view-btn {
        flex: 1;
        justify-content: center;
    }

    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.82rem;
    }

    .company-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .job-meta {
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .auth-card,
    .auth-card-wide {
        padding: 1.5rem;
    }

    .employer-hero,
    .seeker-hero {
        padding: 3rem 0;
    }

    .pricing-card {
        padding: 1.5rem 1rem;
    }

    .price-amount {
        font-size: 2.25rem;
    }

    .lang-btn {
        min-width: 1.9rem;
        padding: 0.3rem 0.45rem;
    }

    .map-hero-actions .btn {
        min-width: 100%;
    }
}

/* Map search page */
.map-page {
    padding: 2rem 0 3rem;
}

.map-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.map-page-header h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.35rem;
}

.map-page-header p {
    color: var(--ink-muted);
    margin: 0;
}

.map-page-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.map-page-select {
    min-width: 180px;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    background: var(--white);
    font: inherit;
}

.map-page-count {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--ink-muted);
    font-size: 0.9rem;
}

.map-page-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 1rem;
    min-height: 70vh;
}

.map-page-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.map-page-item {
    display: block;
    padding: 0.85rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    background: var(--white);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.map-page-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.map-page-item h4 {
    font-size: 0.95rem;
    margin: 0 0 0.25rem;
}

.map-page-item-company {
    color: var(--ink-muted);
    font-size: 0.85rem;
    margin: 0 0 0.35rem;
}

.map-page-item-meta,
.map-page-item-salary {
    font-size: 0.82rem;
    margin: 0;
    color: var(--ink-muted);
}

.map-page-item-salary {
    margin-top: 0.35rem;
    font-weight: 600;
    color: var(--primary);
}

.map-page-item-dist {
    margin-left: 0.35rem;
    color: var(--primary);
}

.map-page-map-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--card-border);
    min-height: 70vh;
    position: relative;
    background: var(--paper-warm);
}

.map-page-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-page-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--ink-muted);
}

/* Contact page */
.contact-page {
    background: var(--background);
}

.contact-hero {
    background: var(--navy);
    padding: 3.5rem 0 5rem;
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.45;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 60% at 50% 0%, rgba(37, 99, 235, 0.5) 0%, transparent 65%),
        radial-gradient(ellipse 40% 35% at 90% 80%, rgba(96, 165, 250, 0.15) 0%, transparent 55%);
    pointer-events: none;
}

.contact-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.contact-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem 0.4rem 0.45rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

.contact-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 0 0 0.75rem;
    line-height: 1.1;
    color: #ffffff;
}

.contact-hero p {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.contact-section {
    padding: 0 0 5rem;
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 1.75rem;
    align-items: start;
}

.contact-sidebar-card {
    background: linear-gradient(165deg, #0c2449 0%, #153a6e 42%, #1d4f96 100%);
    border-radius: var(--radius-xl);
    padding: 2rem;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(8, 27, 58, 0.28);
    border: 1px solid rgba(147, 197, 253, 0.18);
    position: sticky;
    top: 6rem;
}

.contact-sidebar-card h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.contact-sidebar-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 1.75rem;
    line-height: 1.55;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: #ffffff;
    transition: var(--transition);
}

a.contact-channel:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(147, 197, 253, 0.35);
    transform: translateX(3px);
}

.contact-channel--static {
    cursor: default;
}

.contact-channel-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    background: rgba(96, 165, 250, 0.18);
    color: #93c5fd;
}

.contact-channel-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(191, 219, 254, 0.85);
    margin-bottom: 0.15rem;
}

.contact-channel-value {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: #ffffff;
}

.contact-channel-body {
    flex: 1;
    min-width: 0;
}

.contact-channel-arrow {
    font-size: 0.75rem;
    opacity: 0.4;
    transition: var(--transition);
}

a.contact-channel:hover .contact-channel-arrow {
    opacity: 1;
    transform: translateX(2px);
}

.contact-response-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(37, 99, 235, 0.22);
    border: 1px solid rgba(147, 197, 253, 0.28);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: #dbeafe;
}

.contact-response-badge i {
    color: #60a5fa;
}

.contact-social-block {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-social-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(191, 219, 254, 0.75);
    margin-bottom: 0.75rem;
}

.contact-social-links {
    display: flex;
    gap: 0.5rem;
}

.contact-social-links a {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e0e7ff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.contact-social-links a:hover {
    background: rgba(37, 99, 235, 0.35);
    border-color: rgba(147, 197, 253, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 2rem 2.25rem;
    box-shadow: 0 12px 40px rgba(15, 45, 92, 0.1);
}

.contact-form-header {
    margin-bottom: 1.75rem;
}

.contact-form-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.contact-form-header p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.92rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1.15rem;
}

.contact-form label {
    display: block;
    font-weight: 700;
    font-size: 0.86rem;
    margin-bottom: 0.4rem;
    color: var(--ink);
}

.contact-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.contact-input-wrap > i {
    position: absolute;
    left: 1rem;
    color: var(--ink-faint);
    font-size: 0.88rem;
    pointer-events: none;
    z-index: 1;
}

.contact-input-wrap input,
.contact-input-wrap textarea {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.65rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    font: inherit;
    font-size: 0.92rem;
    background: var(--white);
    color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.contact-input-wrap textarea {
    padding-top: 0.85rem;
    resize: vertical;
    min-height: 140px;
}

.contact-input-wrap--textarea {
    align-items: flex-start;
}

.contact-input-wrap--textarea > i {
    top: 1rem;
}

.contact-input-wrap input:focus,
.contact-input-wrap textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--violet-subtle);
}

.contact-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.contact-submit.is-sending {
    opacity: 0.75;
    pointer-events: none;
}

.contact-help h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.85rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.contact-help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.contact-help-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.contact-help-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.contact-help-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    background: var(--violet-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.contact-help-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.contact-help-text strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}

.contact-help-text span {
    font-size: 0.78rem;
    color: var(--ink-muted);
}

@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-sidebar-card {
        position: static;
    }

    .contact-help-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        padding: 2.5rem 0 3.75rem;
    }

    .contact-section {
        margin-top: -2rem;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-sidebar-card {
        padding: 1.5rem;
    }
}

/* Override global heading colors inside contact hero & sidebar */
.contact-page .contact-hero h1,
.contact-page .contact-sidebar-card h2 {
    color: #ffffff;
}

@media (max-width: 900px) {
    .map-page-layout {
        grid-template-columns: 1fr;
    }

    .map-page-list {
        max-height: 280px;
        order: 2;
    }

    .map-page-map-wrap {
        min-height: 50vh;
        order: 1;
    }
}
