/* ============================================================
   TOGABE JOB PORTAL — Frontend Stylesheet
   ============================================================ */

:root {
    --primary:        #3195ca;
    --primary-dark:   #2478a8;
    --primary-light:  #e8f4fb;
    --secondary:      #ffffff;
    --text-dark:      #111827;
    --text-muted:     #6b7280;
    --border:         #e5e7eb;
    --bg-light:       #f9fafb;
    --success:        #10b981;
    --warning:        #f59e0b;
    --danger:         #ef4444;
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.07);
    --shadow-md:      0 4px 16px rgba(0,0,0,0.09);
    --shadow-lg:      0 8px 32px rgba(0,0,0,0.11);
    --radius-sm:      4px;
    --radius-md:      8px;
    --radius-lg:      14px;
    --radius-xl:      20px;
    --transition:     all 0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: var(--text-dark);
    background: #ffffff;
    line-height: 1.6;
}
a    { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img  { max-width: 100%; display: block; }
ul   { list-style: none; }

/* ── Typography ── */
h1 { font-size: 2.5rem;  font-weight: 800; line-height: 1.15; }
h2 { font-size: 1.875rem;font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.375rem;font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.125rem;font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--text-muted); line-height: 1.7; }
p:last-child { margin-bottom: 0; }

/* ── Layout ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
    font-family: inherit;
    white-space: nowrap;
}
.btn [data-lucide] { width: 16px; height: 16px; }
.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    box-shadow: 0 4px 14px rgba(49,149,202,0.35);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    font-weight: 700;
}
.btn-white:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}
.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}
.btn-sm {
    padding: 0.4rem 0.875rem;
    font-size: 0.8rem;
}

/* ── Badges ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.28rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 20px;
    line-height: 1;
    white-space: nowrap;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-muted   { background: #f1f5f9; color: var(--text-muted); }
.badge-dark    { background: #1f2937; color: #fff; }

/* ── Forms ── */
.form-control {
    width: 100%;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
    font-family: inherit;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(49,149,202,0.12);
}
.form-control.is-invalid { border-color: var(--danger); }
.invalid-feedback { font-size: 0.8rem; color: var(--danger); margin-top: 0.3rem; display: block; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text-dark); }
.form-group { margin-bottom: 1.25rem; }
.form-hint  { font-size: 0.79rem; color: var(--text-muted); margin-top: 0.3rem; display: block; }

/* ── Alerts ── */
.alert {
    padding: 0.875rem 1.1rem;
    border-radius: var(--radius-md);
    border-left: 4px solid;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}
.alert [data-lucide] { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: #d1fae5; border-color: var(--success); color: #065f46; }
.alert-danger  { background: #fee2e2; border-color: var(--danger);  color: #991b1b; }
.alert-info    { background: var(--primary-light); border-color: var(--primary); color: var(--primary-dark); }
.alert-warning { background: #fef3c7; border-color: var(--warning); color: #92400e; }

/* ════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
}
.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}
.header-brand-logo-img {
    height: 44px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .header-brand-logo-img {
        height: 36px;
        max-width: 180px;
    }
}

@media (max-width: 400px) {
    .header-brand-logo-img {
        height: 30px;
        max-width: 150px;
    }
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.header-nav a {
    padding: 0.45rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.header-nav a:hover,
.header-nav a.active { background: var(--primary-light); color: var(--primary); }

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

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.4rem;
    cursor: pointer;
    color: var(--text-dark);
    align-items: center;
    justify-content: center;
}
.nav-toggle [data-lucide] { width: 20px; height: 20px; }

/* ════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a5276 100%);
    padding: 5rem 0 4rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero::before {
    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.03'%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;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    padding: 0.35rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1.5rem;
}
.hero-eyebrow [data-lucide] { width: 14px; height: 14px; }
.hero h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
.hero h1 span { color: #60b8e8; }
.hero-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    line-height: 1.65;
    margin-bottom: 2.5rem;
}

/* Hero Search Bar */
.hero-search {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    max-width: 640px;
}
.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: transparent;
    font-family: inherit;
    min-width: 0;
}
.hero-search-input::placeholder { color: var(--text-muted); }
.hero-search-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
    flex-shrink: 0;
}
.hero-search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 0.65rem 1.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition);
    flex-shrink: 0;
    font-family: inherit;
}
.hero-search-btn:hover { background: var(--primary-dark); }
.hero-search-btn [data-lucide] { width: 16px; height: 16px; }

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.hero-stat-item { display: flex; flex-direction: column; }
.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin-top: 0.2rem;
    font-weight: 500;
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
}

/* ════════════════════════════════════════════════
   FILTER BAR
═══════════════════════════════════════════════ */
.filter-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 66px;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.filter-bar-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.filter-select {
    padding: 0.55rem 0.9rem;
    font-size: 0.875rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--text-dark);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}
.filter-select:focus { border-color: var(--primary); }
.filter-results-count {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

/* ════════════════════════════════════════════════
   JOB CARDS
═══════════════════════════════════════════════ */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.job-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.375rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.job-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.2s ease;
    transform-origin: left;
}
.job-card:hover::before { transform: scaleX(1); }

.job-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}
.job-card-company-logo {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-light);
}
.job-card-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.job-card-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.job-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.job-card-title a { color: inherit; }
.job-card-title a:hover { color: var(--primary); }

.job-card-company {
    font-size: 0.83rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.job-card-company [data-lucide] { width: 13px; height: 13px; flex-shrink: 0; }

.job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.job-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.job-card-meta-item [data-lucide] { width: 13px; height: 13px; flex-shrink: 0; }

.job-card-footer {
    margin-top: auto;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.job-card-deadline {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.job-card-deadline [data-lucide] { width: 12px; height: 12px; }
.job-card-deadline.expiring-soon { color: var(--warning); font-weight: 600; }
.job-card-deadline.expired       { color: var(--danger);  font-weight: 600; }

/* ════════════════════════════════════════════════
   JOB DETAIL PAGE
═══════════════════════════════════════════════ */
.job-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

.job-detail-header {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.job-detail-company-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.job-detail-company-logo {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    overflow: hidden;
    background: var(--bg-light);
    flex-shrink: 0;
}
.job-detail-company-logo img { width: 100%; height: 100%; object-fit: cover; }
.job-detail-company-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}
.job-detail-company-website {
    font-size: 0.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.2rem;
}
.job-detail-company-website [data-lucide] { width: 12px; height: 12px; }

.job-detail-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.job-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.job-detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}
.job-detail-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
.job-detail-meta-icon {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
    color: var(--primary);
}
.job-detail-meta-icon [data-lucide] { width: 15px; height: 15px; }
.job-detail-meta-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }
.job-detail-meta-value { font-size: 0.875rem; font-weight: 600; color: var(--text-dark); margin-top: 1px; }

/* Content sections */
.job-content-section {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}
.job-content-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.875rem;
    border-bottom: 2px solid var(--bg-light);
}
.job-content-section-title [data-lucide] { width: 18px; height: 18px; color: var(--primary); }
.job-content-body {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-muted);
    white-space: pre-line;
}
.job-content-body p { margin-bottom: 0.75rem; }

/* Skills */
.skills-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Sticky sidebar */
.job-sidebar {}
.job-apply-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: sticky;
    top: 86px;
    margin-bottom: 1.25rem;
}
.job-apply-card-deadline {
    text-align: center;
    padding: 0.875rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}
.job-apply-card-deadline-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.job-apply-card-deadline-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 0.25rem;
}
.job-apply-card-deadline-remaining {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 0.2rem;
}
.job-apply-card-deadline-remaining.urgent { color: var(--warning); }
.job-apply-card-deadline-remaining.expired { color: var(--danger); }

/* Company card */
.job-company-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}
.job-company-card-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 1rem 0;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [data-lucide] { width: 13px; height: 13px; color: var(--border); }
.breadcrumb-current { color: var(--text-dark); font-weight: 500; }

/* Section titles */
.section-title { font-size: 1.75rem; font-weight: 700; color: var(--text-dark); }
.section-subtitle { font-size: 1rem; color: var(--text-muted); margin-top: 0.5rem; }

/* Company cards on homepage */
.company-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.company-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}
.company-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    color: inherit;
}
.company-card-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-light);
    flex-shrink: 0;
}
.company-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.company-card-name { font-weight: 700; font-size: 0.9rem; color: var(--text-dark); }
.company-card-jobs { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}
.empty-state-icon {
    width: 72px;
    height: 72px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.empty-state-icon [data-lucide] { width: 32px; height: 32px; color: #cbd5e1; }
.empty-state-title   { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
.empty-state-message { font-size: 0.9rem; color: var(--text-muted); }

/* Pagination */
.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2.5rem;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.pagination-wrapper .pagination {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Utility */
.text-primary  { color: var(--primary)!important; }
.text-muted    { color: var(--text-muted)!important; }
.text-center   { text-align: center; }
.fw-bold       { font-weight: 700; }
.fw-semibold   { font-weight: 600; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-flex        { display: flex; }
.align-center  { align-items: center; }
.gap-2         { gap: 0.75rem; }
.w-100         { width: 100%; }

/* ── Footer ── */
.site-footer {
    background: #0f172a;
    color: rgba(255,255,255,0.65);
    padding: 3.5rem 0 1.5rem;
    margin-top: 5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}
.footer-brand-name { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.footer-description { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    transition: var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
}

/* ── Footer Logo ── */
.footer-brand-logo-img {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;

    /* SVG is dark navy — invert to white for dark footer background */
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .footer-brand-logo-img {
        height: 38px;
        max-width: 180px;
    }
}

/* ── File Upload Inputs ── */
input[type="file"].form-control {
    padding: 0.45rem 0.875rem;
    cursor: pointer;
    background: var(--bg-light);
}
input[type="file"].form-control::-webkit-file-upload-button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.35rem 0.875rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    margin-right: 0.75rem;
    font-family: inherit;
    transition: var(--transition);
}
input[type="file"].form-control::-webkit-file-upload-button:hover {
    background: var(--primary-dark);
}
input[type="file"].form-control::file-selector-button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.35rem 0.875rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    margin-right: 0.75rem;
    font-family: inherit;
    transition: var(--transition);
}
input[type="file"].form-control::file-selector-button:hover {
    background: var(--primary-dark);
}
/* ── Responsive ── */
@media (max-width: 1024px) {
    .jobs-grid { grid-template-columns: repeat(2, 1fr); }
    .job-detail-wrapper { grid-template-columns: 1fr; }
    .job-apply-card { position: static; }
    .company-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.25rem; }
}
@media (max-width: 768px) {
    .jobs-grid { grid-template-columns: 1fr; }
    .company-cards-grid { grid-template-columns: 1fr 1fr; }
    .hero { padding: 3rem 0; }
    .hero h1 { font-size: 1.875rem; }
    .hero-search { flex-wrap: wrap; border-radius: var(--radius-lg); }
    .hero-search-divider { display: none; }
    .hero-search-input { min-width: 100%; }
    .hero-search-btn { width: 100%; justify-content: center; border-radius: var(--radius-md); }
    .filter-bar-inner { gap: 0.5rem; }
    .filter-results-count { display: none; }
    .header-nav { display: none; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1rem; gap: 0.25rem; box-shadow: var(--shadow-md); }
    .header-nav.open { display: flex; }
    .nav-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .job-detail-meta-grid { grid-template-columns: 1fr; }
    .job-detail-title { font-size: 1.4rem; }
}
@media (max-width: 480px) {
    .company-cards-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 1rem; }
    .hero-stat-divider { display: none; }
}