/* ==========================================================================
   DOVAPRO JOBS PORTAL — DEDICATED DESIGN SYSTEM
   Sidebar with Live Filters & 1-Column Job Cards Layout
   ========================================================================== */

:root {
    --brand-navy:        #1b2547;
    --brand-navy-dark:   #121930;
    --brand-navy-light:  #2c3968;
    --brand-navy-tint:   #edeef5;
    --brand-navy-border: #c8cedf;
    --brand-red:         #a81d22;
    --brand-red-hover:   #8e181c;
    --brand-red-tint:    #fef2f2;
    --brand-red-border:  #fecaca;
    --brand-blue:        #3b82f6;
    --brand-blue-hover:  #2563eb;
    --brand-blue-tint:   #eff6ff;
    --brand-blue-border: #bfdbfe;
    --brand-emerald:     #059669;
    --brand-emerald-tint:#ecfdf5;
    --brand-emerald-border:#a7f3d0;
    --brand-amber:       #b45309;
    --brand-amber-tint:  #fffbeb;
    --brand-amber-border:#fde68a;

    --surface-canvas:    #f8fafc;
    --surface-card:      #ffffff;
    --surface-muted:     #f1f5f9;
    --border-color:      #e2e8f0;
    --border-hover:      #cbd5e1;

    --text-primary:      #0f172a;
    --text-secondary:    #475569;
    --text-dim:          #64748b;
    --text-muted:        #94a3b8;

    --radius-sm:         6px;
    --radius-md:         8px;
    --radius-lg:         12px;
    --radius-xl:         16px;

    --shadow-xs:         0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm:         0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md:         0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg:         0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl:         0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);

    --font-main:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono:         'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--surface-canvas);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
}

body.drawer-open {
    overflow: hidden;
    overscroll-behavior: none;
}

input, button, select, textarea, optgroup {
    font-family: var(--font-main);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: pointer;
}

.brand-logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(27, 37, 71, 0.25);
}

.brand-title-line {
    display: flex;
    align-items: baseline;
    line-height: 1;
}

.brand-dova {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--brand-navy);
    letter-spacing: -0.03em;
}

.brand-pro {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--brand-red);
    letter-spacing: -0.02em;
    margin-left: 1px;
}

.brand-badge {
    font-size: 0.72rem;
    font-weight: 700;
    background: #e0e7ff;
    color: var(--brand-navy);
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    margin-left: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.4rem 0.2rem;
    position: relative;
    transition: color 0.2s ease;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-navy);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-red);
    border-radius: 3px 3px 0 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-auth-login {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--brand-navy);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-auth-login:hover {
    background: var(--surface-muted);
    border-color: #cbd5e1;
}

.btn-auth-signup {
    background: var(--brand-navy);
    border: 1px solid transparent;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: var(--shadow-sm);
}

.btn-auth-signup:hover {
    background: var(--brand-navy-light);
    box-shadow: 0 4px 12px rgba(27, 37, 71, 0.2);
}

.user-profile-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-navy);
    cursor: pointer;
}

.user-avatar {
    width: 26px;
    height: 26px;
    background: var(--brand-navy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ==========================================================================
   HERO SECTION & SECTOR TABS
   ========================================================================== */
.hero-section {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 1.5rem 2.5rem;
    text-align: center;
}

.hero-inner {
    max-width: 960px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--brand-navy);
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin-bottom: 0.85rem;
}

.accent-red {
    color: var(--brand-red);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto 1.75rem;
    line-height: 1.5;
}

/* Executive Universal Search Bar in Hero (Modern Pill Design) */
.universal-search-card {
    background: #ffffff;
    border: 1.5px solid #2563eb; /* Clean 1.5px brand blue border */
    border-radius: 9999px; /* Fully rounded pill shape */
    padding: 5px 6px 5px 18px; /* Clean spacing: 18px left padding for icon */
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px -1px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(37, 99, 235, 0.04); /* Subtle depth shadow */
    max-width: 860px;
    height: 56px;
    margin: 0 auto;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: text;
}

.universal-search-card:focus-within {
    border-color: #1d4ed8;
    /* Clean focus: subtle depth shadow with NO excessive outer blue glow or double-border ring */
    box-shadow: 0 4px 14px -2px rgba(37, 99, 235, 0.16), 0 2px 4px -1px rgba(15, 23, 42, 0.06);
}

.search-field-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    height: 100%;
    border: none;
    background: transparent;
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

.search-icon-svg {
    flex-shrink: 0;
    color: #2563eb;
    stroke: #2563eb;
    stroke-width: 2.2;
    width: 22px;
    height: 22px;
    display: block;
    align-self: center;
}

.search-field-group input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 1rem; /* 16px */
    line-height: normal;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.search-field-group input::placeholder {
    color: #64748b;
    font-size: 15.5px;
    font-weight: 400;
}

.btn-clear-search {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
    padding: 0;
    margin: 0 4px;
}

.btn-clear-search:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-search-primary {
    background: linear-gradient(135deg, #1b2547 0%, #222f5b 100%);
    color: #ffffff;
    border: none;
    padding: 0 1.75rem;
    height: 44px;
    border-radius: 9999px; /* Matching fully rounded pill button */
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    box-sizing: border-box;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(27, 37, 71, 0.2);
}

.btn-search-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.btn-search-primary:active {
    transform: scale(0.985);
}

.btn-search-text-full {
    display: inline;
}

.btn-search-text-mobile {
    display: none;
}

/* Sector Tabs Row */
.sector-tabs-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.35rem;
    width: 100%;
}

.sector-tab-btn {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.45rem 1.15rem;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.tab-label-short {
    display: none;
}
.tab-label-full {
    display: inline;
}

.sector-tab-btn:hover,
.sector-tab-btn.active {
    background: var(--brand-navy);
    color: #ffffff;
    border-color: var(--brand-navy);
}

.sector-tab-btn.gov-tab.active {
    background: var(--brand-navy);
    color: #ffffff;
}

/* ==========================================================================
   2-COLUMN DESKTOP LAYOUT (SIDEBAR & RESULTS)
   ========================================================================== */
.jobs-desktop-layout {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    max-width: 1400px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 1.75rem 1.5rem 4rem;
}

/* FILTERS SIDEBAR */
.jobs-filters-sidebar {
    width: 310px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.35rem 1.4rem;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    overflow: visible;
}

.jobs-filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
}

.jobs-filters-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--brand-navy);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-reset-filters {
    background: none;
    border: none;
    color: var(--brand-red);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background 0.15s;
}

.btn-reset-filters:hover {
    background: var(--brand-red-tint);
}

.jobs-filters-scroll-body {
    display: flex;
    flex-direction: column;
}

.filter-section {
    margin-bottom: 1.35rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid #f1f5f9;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-section-title {
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.filter-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.86rem;
    color: #475569;
    cursor: pointer;
    user-select: none;
    padding: 0.25rem 0;
    transition: color 0.15s;
}

.filter-checkbox-item:hover {
    color: var(--brand-navy);
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.filter-checkbox-item input[type="checkbox"] {
    accent-color: var(--brand-navy);
    width: 16px;
    height: 16px;
    cursor: pointer;
    border-radius: 4px;
}

.filter-count-badge {
    font-size: 0.74rem;
    color: var(--text-dim);
    background: #f1f5f9;
    padding: 0.15rem 0.45rem;
    border-radius: 12px;
    font-weight: 700;
}

/* RESULTS MAIN COLUMN */
.jobs-results-main {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.jobs-results-header {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-xs);
    flex-wrap: wrap;
    gap: 1rem;
}

.jobs-count-text {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--brand-navy);
    letter-spacing: -0.01em;
}

.jobs-count-sub {
    font-size: 0.88rem;
    color: var(--text-dim);
    margin-top: 0.15rem;
    font-weight: 500;
}

.jobs-header-actions-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.lifecycle-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    background: #e8ebf5;
    border: 1px solid #c8cedf;
    color: var(--brand-navy);
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}

.lifecycle-pulse-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.jobs-sort-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.jobs-sort-label {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-muted);
}

.jobs-sort-select {
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--brand-navy);
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
}

.jobs-sort-select:hover, .jobs-sort-select:focus {
    border-color: var(--brand-blue);
}

/* ==========================================================================
   1-COLUMN JOB CARDS LIST & EXACT PREVIOUS CARD DESIGN
   ========================================================================== */
.jobs-single-col-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.job-card-row {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--brand-navy);
    border-radius: 14px;
    padding: 1.15rem 1.4rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.62rem;
    position: relative;
    overflow: hidden;
}

.job-card-row:hover {
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
    border-color: #cbd5e1;
    border-left-color: #2563eb;
}

.job-card-top-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.company-badge-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 1;
    min-width: 0;
}

.company-logo-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
}

.company-logo-avatar.is-fallback {
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-light));
    color: #ffffff;
    border: none;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 2px 6px rgba(27, 37, 71, 0.2);
}

.company-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
    background: #ffffff;
}

.company-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-light));
    color: #ffffff;
    font-weight: 800;
    font-size: 1.25rem;
}

.job-company-title-wrap {
    flex: 1;
    min-width: 0;
}

.job-title-link {
    font-size: 1.06rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.01em;
    transition: color 0.15s;
}

.job-title-link:hover {
    color: var(--brand-red);
}

.job-company-sub {
    font-size: 0.86rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 2px;
}

.job-top-right-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
    flex-shrink: 0;
}

.job-top-badges-row {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-time-ago {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    font-size: 0.70rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 6px;
    white-space: nowrap;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: all 0.2s ease;
}

.badge-time-ago svg {
    color: #64748b;
}

.badge-new-tag {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #ffffff;
    font-size: 0.70rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.meta-time-text {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.80rem;
    display: inline-flex;
    align-items: center;
}


.badge-deadline-tag {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fee2e2;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    line-height: 1.2;
}

.job-card-meta-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: #475569;
    flex-wrap: wrap;
}

.meta-dot {
    color: #cbd5e1;
    font-weight: 700;
    font-size: 0.75rem;
}

.work-mode-pill {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.work-mode-pill.hybrid {
    background: #fef3c7;
    color: #92400e;
}

.work-mode-pill.remote {
    background: #f3e8ff;
    color: #6b21a8;
}

.work-mode-pill.onsite {
    background: #e0f2fe;
    color: #0369a1;
}

/* COMBINED SCALE / QUOTA BADGE */
.job-badge-combo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 4px 12px;
    border-radius: 8px;
    align-self: flex-start;
    font-size: 0.84rem;
    background: #e8ebf5;
    border: 1px solid #c8cedf;
}

.job-badge-combo .combo-salary {
    font-weight: 800;
    color: var(--brand-navy-dark);
}

.job-badge-combo .combo-divider {
    color: #a0aac4;
    font-weight: 400;
}

.job-badge-combo .combo-quota {
    font-weight: 700;
    color: var(--brand-navy);
}

.job-card-desc-snippet {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.48;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.job-card-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.15rem;
}

.job-card-btn-cluster {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-card-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-card-save:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    color: #0f172a;
}

.btn-card-save.saved {
    border-color: var(--brand-navy);
    color: var(--brand-navy);
    background: #e8ebf5;
}

.btn-card-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-navy);
    text-decoration: none;
    transition: all 0.15s;
}

.btn-card-details:hover {
    background: #e8ebf5;
    border-color: var(--brand-navy);
    color: var(--brand-navy);
}

.btn-card-apply-redirect {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 18px;
    background: var(--brand-navy);
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(27, 37, 71, 0.2);
    transition: all 0.15s;
}

.btn-card-apply-redirect:hover {
    background: var(--brand-navy-dark);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(27, 37, 71, 0.3);
}

/* ==========================================================================
   MODALS (DETAILS & AUTH)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 25, 48, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-backdrop.open {
    display: flex;
}

.modal-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 680px;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    position: relative;
    animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: #e2e8f0;
    color: var(--text-primary);
}

/* Auth Modal Card */
.auth-modal-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
    animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal-header {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-light) 100%);
    color: #ffffff;
    padding: 2rem 2rem 1.5rem;
    text-align: center;
}

.auth-modal-header h3 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.auth-modal-header p {
    font-size: 0.88rem;
    color: #cbd5e1;
}

.auth-tabs {
    display: flex;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.auth-tab-btn {
    flex: 1;
    padding: 0.9rem;
    font-size: 0.92rem;
    font-weight: 700;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.auth-tab-btn.active {
    color: var(--brand-navy);
    border-bottom-color: var(--brand-red);
}

.auth-modal-body {
    padding: 1.75rem 2rem 2rem;
}

.form-group {
    margin-bottom: 1.15rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1;
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
}

.form-control:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.btn-auth-submit {
    width: 100%;
    background: var(--brand-navy);
    color: #ffffff;
    border: none;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.5rem;
}

.btn-auth-submit:hover {
    background: var(--brand-red);
}

.auth-role-select {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.15rem;
}

.role-radio-label {
    border: 1px solid #cbd5e1;
    padding: 0.6rem;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    color: var(--text-secondary);
}

.role-radio-label.selected {
    background: #eef2ff;
    border-color: var(--brand-navy);
    color: var(--brand-navy);
}

.role-radio-label input {
    display: none;
}

/* ==========================================================================
   PAGINATION STYLING
   ========================================================================== */
.jobs-pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.75rem 0.5rem 0.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.pagination-info {
    font-size: 0.92rem;
    color: #64748b;
    font-weight: 500;
}

.pagination-info strong {
    color: var(--brand-navy);
    font-weight: 800;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.pagination-btn:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--brand-navy);
}

.pagination-btn.active {
    background: var(--brand-navy);
    color: #ffffff;
    border-color: var(--brand-navy);
    box-shadow: 0 2px 6px rgba(27, 37, 71, 0.25);
    cursor: default;
}

.pagination-btn.disabled,
.pagination-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.pagination-btn.pagination-nav {
    padding: 0 1.15rem;
    font-weight: 700;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 40px;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .jobs-pagination-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    .pagination-controls {
        justify-content: center;
    }
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.84rem;
        padding: 0 0.5rem;
    }
}

/* ==========================================================================
   ENHANCED DOVAPRO COMPANY LIMITED FOOTER
   ========================================================================== */
.site-footer {
    background: #0b1120;
    color: #e2e8f0;
    border-top: 1px solid #1e293b;
    padding: 4.5rem 1.5rem 2rem;
    margin-top: 5rem;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-brand-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    max-width: 440px;
}

.footer-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.footer-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #f1f5f9;
    text-decoration: none;
    transition: all 0.2s;
}

.footer-action-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-1px);
}

.footer-col-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: #3b82f6;
    border-radius: 2px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-item a {
    color: #94a3b8;
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-nav-item a:hover {
    color: #ffffff;
    padding-left: 3px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.5;
}

.footer-contact-icon {
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-link {
    color: #f1f5f9;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-contact-link:hover {
    color: #38bdf8;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.84rem;
    color: #64748b;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & BOTTOM DRAWER FOR FILTERS
   ========================================================================== */
.btn-mobile-filter-trigger {
    display: none;
    align-items: center;
    gap: 0.45rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--brand-navy);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.mobile-filter-count-badge {
    background: var(--brand-red);
    color: #ffffff;
    font-size: 0.72rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
}

.mobile-filter-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 25, 48, 0.5);
    backdrop-filter: blur(2px);
    z-index: 99;
}

.mobile-filter-backdrop.active {
    display: block;
}

.drawer-drag-handle {
    display: none;
    text-align: center;
    padding: 0.5rem;
    cursor: pointer;
}

.drawer-drag-pill {
    display: inline-block;
    width: 40px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 99px;
}

.btn-close-filter-drawer {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.jobs-filters-drawer-footer {
    display: none;
}

.btn-apply-drawer-filters {
    width: 100%;
    background: var(--brand-navy);
    color: #ffffff;
    border: none;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 960px) {
    .jobs-desktop-layout {
        flex-direction: column;
    }

    .btn-mobile-filter-trigger {
        display: inline-flex;
    }

    .jobs-filters-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw;
        max-height: 80vh;
        z-index: 100;
        border-radius: 20px 20px 0 0;
        transform: translateY(105%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .jobs-filters-sidebar.drawer-open {
        transform: translateY(0);
    }

    .drawer-drag-handle {
        display: block;
    }

    .btn-close-filter-drawer {
        display: block;
    }

    .jobs-filters-drawer-footer {
        display: block;
        padding-top: 1rem;
        margin-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 1.95rem;
    }
    .header-inner {
        padding: 0 1rem;
    }
    .job-card-top-line {
        flex-direction: column;
    }
    .job-top-right-badges {
        align-items: flex-start;
        flex-direction: row;
    }
}

/* ==========================================================================
   ABOUT & CONTACT SECTIONS & DEDICATED VIEWS
   ========================================================================== */
.page-view-container {
    width: 100%;
    min-height: 60vh;
}

.about-hero-banner {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 4.5rem 1.5rem 3.5rem;
    text-align: center;
}

.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
}

.page-breadcrumb a {
    color: var(--brand-navy);
    text-decoration: none;
}

.page-breadcrumb a:hover {
    text-decoration: underline;
}

.page-breadcrumb .breadcrumb-current {
    color: var(--brand-red);
}

.page-hero-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--brand-navy);
    letter-spacing: -0.03em;
    line-height: 1.18;
    max-width: 900px;
    margin: 0 auto 1.25rem;
}

.page-hero-subtitle {
    font-size: 1.12rem;
    color: #475569;
    max-width: 760px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}

.page-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-section {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 4.5rem 1.5rem;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title-wrap {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.section-pretitle {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.section-main-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--brand-navy);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.section-main-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.about-feature-card {
    background: var(--surface-canvas);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.2s ease;
}

.about-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.feature-icon-bubble {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--brand-navy-tint);
    border: 1px solid var(--brand-navy-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-xs);
    letter-spacing: 0.04em;
}

.feature-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.5rem;
}

.feature-card-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: var(--brand-navy);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 2.5rem 1.5rem;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.about-stat-item .stat-num {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #ffffff;
    line-height: 1;
}

.about-stat-item .stat-label {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-top: 0.4rem;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 4.5rem 1.5rem;
    background: var(--surface-canvas);
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 2rem;
}

.contact-info-card {
    background: var(--brand-navy);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.contact-info-sub {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.contact-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-detail-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.15rem;
}

.contact-detail-text p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.4;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 860px) {
    .contact-layout-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE — Full Phone Support (≤768px)
   ========================================================================== */

/* ── Hamburger Button (hidden on desktop) ── */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: 8px;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
    flex-shrink: 0;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.hamburger-btn:hover {
    background: var(--surface-muted);
    border-color: var(--border-hover);
}

.hamburger-btn:active {
    background: var(--surface-muted);
    transform: scale(0.94);
}

.hamburger-btn:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

.hamburger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--brand-navy);
    border-radius: 2px;
    pointer-events: none;
}

/* ── Mobile Nav Backdrop ── */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    touch-action: none;
    will-change: opacity;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* ── Mobile Nav Drawer ── */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 290px;
    max-width: 82vw;
    background: #ffffff;
    z-index: 300;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    /* Off-screen to right on dedicated GPU composite layer */
    transform: translate3d(100%, 0, 0);
    -webkit-transform: translate3d(100%, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    pointer-events: none;
    touch-action: pan-y;
    overscroll-behavior: contain;
    /* Closing: smooth, responsive exit */
    transition: transform 0.24s cubic-bezier(0.3, 0, 0.8, 0.15);
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
    /* Opening: silky smooth iOS-style deceleration curve */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    pointer-events: auto;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Drawer header with brand + close */
.mobile-nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-light) 100%);
    flex-shrink: 0;
}

.mobile-nav-drawer-header .brand-dova {
    font-size: 1.5rem;
    color: #ffffff;
}

.mobile-nav-drawer-header .brand-pro {
    font-size: 1.5rem;
    color: #fca5a5;
}

.mobile-nav-drawer-header .brand-badge {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.3);
}

.mobile-nav-close {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, transform 0.12s ease;
    flex-shrink: 0;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.mobile-nav-close:hover {
    background: rgba(255,255,255,0.3);
}

.mobile-nav-close:active {
    transform: scale(0.92);
}

/* Drawer nav links */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
    border-left: 3px solid transparent;
    position: relative;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.mobile-nav-link:hover {
    background: var(--surface-muted);
    color: var(--brand-navy);
    border-left-color: var(--border-color);
}

.mobile-nav-link:active {
    background: #e0e7ff;
}

.mobile-nav-link.active {
    background: #eef2ff;
    color: var(--brand-navy);
    font-weight: 700;
    border-left-color: var(--brand-red);
}

.mob-nav-icon {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

/* Drawer footer */
.mobile-nav-drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    flex-shrink: 0;
}

/* ── Mobile: show hamburger, hide desktop nav ── */
@media (max-width: 768px) {
    .header-inner {
        height: 62px;
        padding: 0 1rem;
        justify-content: space-between;
    }

    .main-nav {
        display: none; /* hidden on mobile — drawer handles it */
    }

    .hamburger-btn {
        display: flex;
    }
}


/* ── Hero Section ── */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem clamp(12px, 3.8vw, 16px) 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
        letter-spacing: -0.025em;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.55;
        margin-bottom: 1.25rem;
    }

    /* Mobile Job Search Bar (Clean LinkedIn/Indeed-Style Pill) */
    .universal-search-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        display: block;
        box-sizing: border-box;
    }

    .universal-search-card .search-field-group {
        width: 100%;
        max-width: 100%;
        height: 50px; /* Approximately 48–52px high */
        min-height: 50px;
        background: #ffffff;
        border: 1.5px solid #2563eb; /* Clean 1.5–2px blue border */
        border-radius: 25px; /* Fully rounded pill shape with 24–26px border-radius */
        padding: 0 14px 0 15px; /* Approximately 14–16px left padding */
        display: flex;
        align-items: center;
        gap: 11px; /* Clean spacing between search icon and placeholder */
        box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.07), 0 1px 2px rgba(37, 99, 235, 0.04); /* Subtle shadow for depth */
        box-sizing: border-box;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        cursor: text;
        position: relative;
        overflow: hidden; /* Prevent horizontal overflow */
    }

    .universal-search-card .search-field-group:focus-within {
        background: #ffffff;
        border-color: #1d4ed8;
        /* Clean focus state: subtle depth shadow with NO excessive outer blue glow or double border */
        box-shadow: 0 3px 10px -1px rgba(37, 99, 235, 0.15), 0 1px 3px rgba(15, 23, 42, 0.06);
    }

    .universal-search-card .search-icon-svg {
        width: 21px; /* Around 21–22px */
        height: 21px;
        min-width: 21px;
        min-height: 21px;
        color: #2563eb;
        stroke: #2563eb;
        stroke-width: 2.2;
        flex-shrink: 0;
        display: block;
        align-self: center;
        margin: 0;
    }

    .universal-search-card .search-field-group input {
        flex: 1;
        min-width: 0;
        width: 100%;
        height: 100%;
        border: none;
        outline: none;
        background: transparent;
        font-family: inherit;
        font-size: 16px; /* 15–16px: prevents iOS Safari auto-zoom on mobile focus */
        line-height: normal;
        color: var(--text-primary);
        font-weight: 500;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        -webkit-appearance: none;
        appearance: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .universal-search-card .search-field-group input::placeholder {
        color: #64748b;
        font-size: 15.5px; /* Modern 15–16px placeholder font size */
        font-weight: 400;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; /* Allows placeholder to truncate naturally on narrow screens */
    }

    .universal-search-card .btn-clear-search {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        border-radius: 50%;
        background: #f1f5f9;
        color: #64748b;
        border: none;
        font-size: 1.25rem;
        line-height: 1;
        display: none;
        align-items: center;
        justify-content: center;
        align-self: center;
        cursor: pointer;
        flex-shrink: 0;
        padding: 0;
        margin: 0 0 0 4px;
        touch-action: manipulation;
        transition: background 0.15s ease, color 0.15s ease;
    }

    .universal-search-card .btn-clear-search:active {
        background: #e2e8f0;
        color: #0f172a;
    }

    /* On mobile screens, hide desktop-oriented search button for a clean mobile pill interface */
    .btn-search-primary {
        display: none !important;
    }

    .sector-tabs-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.55rem;
        width: 100%;
        max-width: 100%;
        margin-top: 1rem;
        padding: 0;
        box-sizing: border-box;
        overflow-x: visible;
    }

    .sector-tabs-row::-webkit-scrollbar {
        display: none;
    }

    .sector-tab-btn {
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 42px;
        padding: 0.45rem 0.5rem;
        font-size: 0.8rem;
        font-weight: 700;
        border-radius: 9999px;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.25rem;
        box-sizing: border-box;
        transition: all 0.15s ease;
    }

    .tab-label-short {
        display: inline;
    }
    .tab-label-full {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1.75rem clamp(12px, 3.8vw, 16px) 1.25rem;
    }

    .hero-title {
        font-size: 1.45rem;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 0.25rem 0.7rem;
    }

    .sector-tabs-row {
        gap: 0.45rem;
    }

    .sector-tab-btn {
        font-size: 0.75rem;
        padding: 0.45rem 0.35rem;
        min-height: 40px;
    }
}

@media (max-width: 360px) {
    .hero-section {
        padding: 1.5rem 12px 1rem;
    }

    .sector-tabs-row {
        gap: 0.35rem;
    }

    .sector-tab-btn {
        font-size: 0.71rem;
        padding: 0.4rem 0.25rem;
        min-height: 38px;
    }
}

/* ── Jobs Layout on Mobile (Fits Phones Perfectly) ── */
@media (max-width: 768px) {
    .jobs-desktop-layout {
        flex-direction: column;
        gap: 0;
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }

    /* Sidebar becomes bottom drawer */
    .jobs-filters-sidebar {
        display: none;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        max-height: 85vh;
        z-index: 999;
        border-radius: 20px 20px 0 0;
        overflow-y: auto;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    }

    .jobs-filters-sidebar.drawer-open {
        display: flex;
        flex-direction: column;
    }

    .jobs-results-main {
        width: 100%;
        padding: 0;
    }
}

/* ── Results Header on Mobile: Eliminates Clunky Box Card ── */
@media (max-width: 768px) {
    .jobs-results-header {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0.5rem 0 1rem 0 !important;
        margin-bottom: 0.5rem !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        width: 100%;
    }

    .jobs-count-text {
        font-size: 1.35rem;
        font-weight: 900;
        color: var(--brand-navy);
        letter-spacing: -0.02em;
        line-height: 1.25;
    }

    .jobs-count-sub {
        font-size: 0.86rem;
        color: var(--text-dim);
        font-weight: 500;
        margin-top: 0.15rem;
    }

    .jobs-header-actions-row {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 0.55rem;
        margin-top: 0.25rem;
    }

    .jobs-sort-row {
        flex: 1;
        min-width: 0;
        margin: 0;
        display: flex;
        align-items: center;
        position: relative;
    }

    .jobs-sort-label {
        display: none !important; /* Hide cramped "Sort:" label on phone screens */
    }

    .jobs-sort-select {
        width: 100%;
        height: 42px;
        min-height: 42px;
        padding: 0 1.85rem 0 0.85rem;
        border-radius: 10px;
        border: 1px solid var(--border-color);
        background: #ffffff;
        font-size: 0.84rem;
        font-weight: 600;
        color: var(--brand-navy);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.75rem center;
    }

    .lifecycle-badge {
        display: none;
    }

    .btn-mobile-filter-trigger {
        flex: 1;
        height: 42px;
        min-height: 42px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0 0.85rem;
        border-radius: 10px;
        border: 1px solid var(--border-color);
        background: #ffffff;
        color: var(--brand-navy);
        font-size: 0.84rem;
        font-weight: 600;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        cursor: pointer;
        white-space: nowrap;
    }
}

/* ── Job Cards on Mobile (Clean, Readable, Touch-Friendly) ── */
@media (max-width: 768px) {
    .jobs-single-col-list {
        gap: 0.75rem;
        width: 100%;
    }

    .job-card-row {
        padding: 1.05rem 1rem;
        border-radius: 12px;
        gap: 0.65rem;
        border-left: 3.5px solid var(--brand-navy);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }

    .job-card-top-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
    }

    .company-badge-group {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        width: 100%;
    }

    .company-logo-avatar {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .job-company-title-wrap {
        flex: 1;
        min-width: 0;
    }

    .job-title-link {
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.35;
        word-break: break-word;
    }

    .job-company-sub {
        font-size: 0.84rem;
        color: #64748b;
        margin-top: 0.15rem;
    }

    .job-top-right-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        width: 100%;
    }

    .job-card-meta-bar {
        font-size: 0.8rem;
        flex-wrap: wrap;
        gap: 0.35rem;
        row-gap: 0.25rem;
    }

    .job-badge-combo {
        font-size: 0.78rem;
        padding: 0.35rem 0.65rem;
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .job-card-desc-snippet {
        font-size: 0.83rem;
        line-height: 1.45;
        color: #475569;
        -webkit-line-clamp: 2;
    }

    .job-card-footer-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.55rem;
        width: 100%;
        margin-top: 0.25rem;
    }

    .job-card-btn-cluster {
        width: auto;
        display: flex;
        gap: 0.45rem;
    }

    .btn-card-save {
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    .btn-card-apply-redirect {
        flex: 1;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 1rem;
        font-size: 0.88rem;
        font-weight: 700;
        border-radius: 8px;
        text-align: center;
        text-decoration: none;
    }
}

@media (max-width: 480px) {
    .jobs-desktop-layout {
        padding: 0 0.75rem;
    }

    .job-card-row {
        padding: 0.95rem 0.85rem;
    }

    .job-title-link {
        font-size: 0.95rem;
    }

    .company-logo-avatar {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
}

/* ── About & Contact Pages ── */
@media (max-width: 768px) {
    .about-hero-banner,
    .about-section,
    .contact-section {
        padding: 2rem 1rem;
    }

    .page-hero-title {
        font-size: 1.65rem;
    }

    .page-hero-subtitle {
        font-size: 0.9rem;
    }

    .section-main-title {
        font-size: 1.65rem;
    }

    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-feature-card {
        padding: 1.35rem;
    }

    .about-stats-bar {
        gap: 1.5rem;
        padding: 2rem 1rem;
    }

    .about-stat-item .stat-num {
        font-size: 2rem;
    }

    .page-hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .page-hero-actions button {
        width: 100%;
        justify-content: center;
    }
}

/* ── Modal ── */
@media (max-width: 768px) {
    .modal-card {
        margin: 0.75rem;
        max-height: calc(100vh - 1.5rem);
        border-radius: 16px;
        overflow-y: auto;
    }

    .auth-modal-card {
        margin: 1rem;
        border-radius: 16px;
    }
}

/* ── Footer ── */
@media (max-width: 768px) {
    .site-footer .footer-inner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding: 1.25rem 1rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
}

/* ── Tiny phones (≤380px) ── */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.3rem;
    }

    .main-nav {
        gap: 0.4rem;
    }

    .nav-link {
        font-size: 0.72rem;
    }

    .brand-dova,
    .brand-pro {
        font-size: 1.05rem;
    }

    .jobs-results-main {
        padding: 0.5rem;
    }
}

/* ==========================================================================
   GOOGLE ADS AUTO-PLACEMENT RESERVED SPACES
   Clean, unbordered, transparent containers that preserve layout spacing
   for Google AdSense responsive ad units without shift.
   ========================================================================== */
.ads-space {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    clear: both;
    position: relative;
    box-sizing: border-box;
}

.hero-ads-space {
    max-width: 970px;
    min-height: 90px;
    margin: 2rem auto 0.5rem;
}

.feed-ads-space {
    max-width: 100%;
    min-height: 90px;
    margin: 2rem auto 1.5rem;
}

.sidebar-ads-space {
    width: 100%;
    min-height: 250px;
    margin: 1.5rem 0 0.5rem;
}

.details-ads-space {
    max-width: 100%;
    min-height: 90px;
    margin: 1.5rem auto;
}

@media (max-width: 768px) {
    .hero-ads-space {
        min-height: 60px;
        margin: 1.25rem auto 0.25rem;
    }
    .feed-ads-space {
        min-height: 60px;
        margin: 1.5rem auto 1rem;
    }
    .sidebar-ads-space {
        min-height: 100px;
    }
    .details-ads-space {
        min-height: 60px;
        margin: 1rem auto;
    }
}

