/*
Theme Name: Nakuba HR
Theme URI: https://nakuba.com
Author: Nakuba Limited
Author URI: https://nakuba.com
Description: A premium WordPress theme for Nakuba — a recruiting agency, HR portal, manpower contractor and public job listing platform. Features job listings, online applications, job alerts, employer dashboards, and advanced job search.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nakuba
Tags: job-board, recruitment, hr, corporate, responsive
*/

:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --accent: #c05621;
    --accent-hover: #9c4218;
    --success: #276749;
    --light: #f7fafc;
    --dark: #1a202c;
    --gray: #718096;
    --border: #e2e8f0;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #fff;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    height: 48px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.main-navigation a {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--accent);
}

.auth-nav {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--border);
    padding-left: 32px;
}

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--accent-hover);
    color: #fff !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Job Search */
.job-search-bar {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.job-search-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(150px, 1fr)) auto;
    gap: 16px;
    align-items: end;
}

.job-search-form input,
.job-search-form select {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    width: 100%;
}

.job-search-form button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.job-search-form button:hover {
    background: var(--accent-hover);
}

/* Stats Bar */
.stats-bar {
    background: var(--light);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: 4px;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    text-align: center;
}

.section-subtitle {
    color: var(--gray);
    text-align: center;
    margin-bottom: 40px;
}

/* Job Cards */
.jobs-section {
    padding: 60px 0;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.job-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.job-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

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

.job-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.job-company {
    color: var(--gray);
    font-size: 0.9rem;
}

.job-type-badge {
    background: #ebf8ff;
    color: #2b6cb0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
    font-size: 0.85rem;
    color: var(--gray);
}

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

.job-excerpt {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px;
}

.skill-tags span {
    background: #edf2f7;
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 600;
}

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

.job-salary {
    font-weight: 600;
    color: var(--success);
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-light);
    color: #fff;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: #fff;
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Categories */
.categories-section {
    padding: 60px 0;
    background: var(--light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: #fff;
    padding: 28px 20px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.category-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.category-name {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.category-count {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Footer */
.site-footer {
    background: var(--primary);
    color: #fff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Single Job */
.job-single {
    padding: 40px 0;
}

.job-single-header {
    background: var(--light);
    padding: 40px 0;
    margin-bottom: 40px;
}

.job-single-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.job-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--gray);
    font-size: 0.95rem;
}

.job-content-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.job-content {
    background: #fff;
}

.job-content h2,
.job-content h3 {
    color: var(--primary);
    margin: 24px 0 12px;
}

.job-content p,
.job-content ul {
    margin-bottom: 16px;
}

.job-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-box {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.sidebar-box h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 16px;
}

/* Application Form */
.application-form input,
.application-form textarea,
.application-form select {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
}

.application-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

/* Forms */
.form-row {
    margin-bottom: 16px;
}

.form-row label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.alert-success {
    background: #c6f6d5;
    color: #276749;
    border: 1px solid #9ae6b4;
}

.alert-error {
    background: #fed7d7;
    color: #c53030;
    border: 1px solid #fc8181;
}

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

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    color: var(--dark);
}

.pagination .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .job-search-form { grid-template-columns: 1fr 1fr; }
    .job-content-wrap { grid-template-columns: 1fr; }
    .advanced-search-filters { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .main-navigation ul,
    .auth-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        gap: 16px;
        border-top: 1px solid var(--border);
        border-left: none;
    }
    .main-navigation ul.active,
    .auth-nav.active { display: flex; }
    .mobile-menu-toggle { display: block; }
    .job-search-form { grid-template-columns: 1fr; }
    .advanced-search-filters { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .jobs-grid { grid-template-columns: 1fr; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .dashboard-stats { grid-template-columns: 1fr; }
    .dashboard-content { overflow-x: auto; }
    .compact-job-list article { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .role-selector { grid-template-columns: 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .header-inner { position: relative; }
}

/* Page Content */
.page-content {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h1,
.page-content h2 {
    color: var(--primary);
    margin-bottom: 16px;
}

.page-content p {
    margin-bottom: 16px;
    color: var(--dark);
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    padding: 40px 0;
}

.dashboard-sidebar {
    background: var(--light);
    border-radius: var(--radius);
    padding: 24px;
    height: fit-content;
}

.dashboard-menu {
    list-style: none;
}

.dashboard-menu li {
    margin-bottom: 4px;
}

.dashboard-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius);
    color: var(--dark);
    font-size: 0.95rem;
}

.dashboard-menu a:hover,
.dashboard-menu .active a {
    background: var(--primary);
    color: #fff;
}

.dashboard-content {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.dashboard-stats div {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
}

.dashboard-stats strong {
    display: block;
    color: var(--primary);
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 8px;
}

.dashboard-stats span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    font-weight: 600;
    color: var(--primary);
    background: var(--light);
}

.data-table tr:hover {
    background: var(--light);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    background: #edf2f7;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
}

.status-hired,
.status-offered {
    background: #c6f6d5;
    color: #22543d;
}

.status-rejected {
    background: #fed7d7;
    color: #9b2c2c;
}

.status-interview,
.status-shortlisted,
.status-shortlist {
    background: #feebc8;
    color: #7b341e;
}

.compact-job-list {
    display: grid;
    gap: 12px;
}

.compact-job-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.compact-job-list h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.compact-job-list p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    color: var(--gray);
    transition: all 0.2s;
}

.upload-area:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Role Selector */
.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.role-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.role-card:hover,
.role-card input:checked + .role-card,
.role-card:has(input:checked) {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.role-card input[type="radio"] {
    width: auto;
}

.role-card-title {
    font-weight: 600;
    color: var(--primary);
}

.role-card-subtitle {
    color: var(--gray);
    font-size: 0.85rem;
}

/* Form Grid */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-narrow {
    max-width: 560px;
}

.form-center {
    max-width: 460px;
}

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

.text-gray { color: var(--gray); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }

/* Breadcrumbs */
.breadcrumbs {
    background: var(--light);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--gray);
}

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

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs .sep {
    margin: 0 8px;
    color: var(--gray);
}

/* Featured Badge */
.featured-badge {
    background: var(--accent);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Expired Badge */
.expired-badge {
    background: #fed7d7;
    color: #c53030;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* How It Works */
.how-it-works {
    padding: 60px 0;
    background: var(--light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.step-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.step-desc {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Featured Jobs Section */
.featured-jobs {
    padding: 60px 0;
}

/* Search Filters Bar */
.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.advanced-search-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    align-items: center;
}

.search-filters select,
.search-filters input {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
}

.inline-check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-size: 0.9rem;
}

.inline-check input {
    width: auto;
}

.save-job-form {
    margin-bottom: 16px;
}

/* Widget Recent Jobs */
.widget-recent-jobs {
    list-style: none;
}

.widget-recent-jobs li {
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.widget-recent-jobs li:last-child {
    border-bottom: none;
}

.widget-recent-jobs a {
    font-weight: 500;
    color: var(--primary);
}

.widget-recent-jobs a:hover {
    color: var(--accent);
}

.widget-recent-jobs .wj-company {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 2px;
}

.widget-recent-jobs .wj-meta {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 2px;
}

@media (max-width: 992px) {
    .job-search-form,
    .advanced-search-filters {
        grid-template-columns: 1fr 1fr;
    }
}

/* Recruitment Engine visual system */
:root {
    --ink: #101828;
    --muted: #667085;
    --line: #e4e7ec;
    --paper: #ffffff;
    --paper-soft: #f8fafc;
    --brand: #173b4a;
    --brand-2: #23736f;
    --gold: #c86b2d;
    --gold-2: #e58a3f;
    --ring: rgba(35, 115, 111, 0.18);
}

body {
    background: #f8fafc !important;
    color: var(--ink) !important;
}

.site-header {
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid rgba(228, 231, 236, 0.9) !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04) !important;
}

.header-inner {
    height: 78px !important;
}

.site-branding {
    gap: 14px;
}

.site-logo img {
    height: 50px !important;
}

.main-navigation a {
    color: #344054 !important;
    font-size: 0.91rem !important;
    font-weight: 700 !important;
    padding: 10px 12px !important;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    background: #f1f7f6 !important;
    color: var(--brand-2) !important;
}

.nav-cta,
.btn-accent {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%) !important;
    border: 0 !important;
    box-shadow: 0 14px 30px rgba(200, 107, 45, 0.24) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%) !important;
    border: 0 !important;
    box-shadow: 0 14px 30px rgba(23, 59, 74, 0.2) !important;
}

.btn,
.nav-cta,
.job-search-form button {
    border-radius: 8px !important;
    font-weight: 800 !important;
    min-height: 46px;
}

.hero {
    background:
        linear-gradient(135deg, rgba(11, 31, 42, 0.98) 0%, rgba(23, 59, 74, 0.96) 50%, rgba(35, 115, 111, 0.94) 100%) !important;
    padding: 88px 0 78px !important;
    text-align: left !important;
}

.hero::after {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) !important;
    background-size: 56px 56px !important;
    opacity: 0.22 !important;
}

.hero-grid {
    align-items: center;
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 760px;
}

.hero-eyebrow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #d7fbf4;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
    padding: 8px 12px;
    text-transform: uppercase;
}

.hero h1 {
    color: #ffffff !important;
    font-size: clamp(2.6rem, 5.6vw, 5.1rem) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 0.98 !important;
    margin: 0 0 22px !important;
    max-width: 860px !important;
}

.hero p {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 1.13rem !important;
    line-height: 1.75 !important;
    margin: 0 0 28px !important;
    max-width: 660px !important;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.hero .btn-outline {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    color: #ffffff !important;
}

.hero .btn-outline:hover {
    background: #ffffff !important;
    color: var(--brand) !important;
}

.hero .job-search-bar {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    border-radius: 8px !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25) !important;
    margin: 0 !important;
    max-width: 100% !important;
    padding: 12px !important;
}

.hero .job-search-form {
    grid-template-columns: minmax(190px, 1.4fr) repeat(3, minmax(135px, 1fr)) auto !important;
}

.hero-product {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
    color: var(--ink);
    min-height: 520px;
    overflow: hidden;
    padding: 18px;
    position: relative;
}

.hero-product::before {
    background: linear-gradient(135deg, rgba(35, 115, 111, 0.12), rgba(200, 107, 45, 0.1));
    content: "";
    height: 170px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.product-topbar,
.product-kpis,
.pipeline-preview,
.candidate-preview {
    position: relative;
    z-index: 1;
}

.product-topbar {
    display: flex;
    gap: 7px;
    margin-bottom: 24px;
}

.product-topbar span {
    background: #d0d5dd;
    border-radius: 999px;
    height: 10px;
    width: 10px;
}

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

.product-kpis div,
.pipeline-preview div,
.candidate-preview {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

.product-kpis div {
    padding: 16px;
}

.product-kpis strong {
    color: var(--brand);
    display: block;
    font-size: 1.55rem;
    line-height: 1;
}

.product-kpis span {
    color: var(--muted);
    display: block;
    font-size: 0.78rem;
    font-weight: 750;
    margin-top: 8px;
}

.pipeline-preview {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pipeline-preview div {
    min-height: 240px;
    padding: 12px;
}

.pipeline-preview span {
    color: #475467;
    display: block;
    font-size: 0.78rem;
    font-weight: 850;
    margin-bottom: 14px;
}

.pipeline-preview b {
    background: linear-gradient(180deg, #f8fafc, #eef5f3);
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    display: block;
    height: 58px;
    margin-bottom: 10px;
}

.candidate-preview {
    align-items: center;
    bottom: 20px;
    display: flex;
    gap: 12px;
    left: 34px;
    padding: 14px;
    position: absolute;
    right: 34px;
    z-index: 2;
}

.candidate-preview > span {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border-radius: 8px;
    height: 42px;
    width: 42px;
}

.candidate-preview div {
    flex: 1;
}

.candidate-preview b,
.candidate-preview i {
    background: #e4e7ec;
    border-radius: 999px;
    display: block;
    height: 8px;
}

.candidate-preview b {
    margin-bottom: 8px;
    width: 58%;
}

.candidate-preview i {
    width: 38%;
}

.candidate-preview em {
    background: #e6f7ef;
    border-radius: 999px;
    color: #067647;
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 850;
    padding: 6px 9px;
}

.stats-bar {
    background: #ffffff !important;
    border-bottom: 1px solid var(--line) !important;
}

.stat-item,
.job-card,
.category-card,
.step-card,
.feature-card,
.profile-card,
.dashboard-content,
.dashboard-sidebar,
.sidebar-box {
    border-color: var(--line) !important;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06) !important;
}

.job-card,
.category-card,
.step-card,
.feature-card {
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.job-card:hover,
.category-card:hover,
.step-card:hover,
.feature-card:hover {
    border-color: rgba(35, 115, 111, 0.35) !important;
    box-shadow: 0 22px 50px rgba(16, 24, 40, 0.11) !important;
}

.jobs-section,
.featured-jobs,
.categories-section,
.how-it-works,
.engine-section {
    background: #f8fafc !important;
}

.jobs-section:nth-of-type(even),
.categories-section {
    background: #ffffff !important;
}

.section-title {
    color: var(--ink) !important;
}

.job-title a,
.category-name,
.feature-card h3,
.profile-card h3,
.dashboard-content h2 {
    color: var(--ink) !important;
}

.site-footer {
    background: #0b1f2a !important;
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-product {
        min-height: 430px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 58px 0 !important;
    }

    .hero .job-search-form,
    .product-kpis,
    .pipeline-preview {
        grid-template-columns: 1fr !important;
    }

    .hero-product {
        display: none;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Engine page templates */
.engine-hero {
    background: linear-gradient(135deg, #102633 0%, #12303f 52%, #1f5f62 100%);
    color: #ffffff;
    padding: 88px 0;
}

.engine-hero.compact {
    padding: 70px 0;
    text-align: center;
}

.engine-hero-grid {
    align-items: center;
    display: grid;
    gap: 44px;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.engine-hero h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 850;
    line-height: 1.05;
    margin-bottom: 18px;
    max-width: 850px;
}

.engine-hero p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 680px;
}

.engine-hero.compact p {
    margin: 0 auto;
}

.engine-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.engine-panel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
    padding: 24px;
}

.metric-row {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.metric-row:first-child {
    padding-top: 0;
}

.metric-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.metric-row span {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 650;
}

.metric-row strong {
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
}

.engine-section {
    padding: 72px 0;
}

.narrow-container {
    max-width: 720px;
}

.feature-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.profile-card,
.empty-state,
.engine-form {
    background: #ffffff;
    border: 1px solid rgba(221, 228, 223, 0.95);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(18, 48, 63, 0.08);
}

.feature-card {
    padding: 28px;
}

.feature-card h3,
.profile-card h3,
.empty-state h2 {
    color: var(--primary);
    font-size: 1.18rem;
    line-height: 1.25;
    margin-bottom: 10px;
}

.feature-card p,
.profile-card p,
.empty-state p {
    color: var(--gray);
    line-height: 1.7;
}

.profile-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-card,
.profile-summary {
    align-items: center;
    display: flex;
    gap: 18px;
}

.profile-card {
    justify-content: space-between;
    padding: 20px;
}

.profile-avatar {
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 8px;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 850;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.profile-avatar.large {
    font-size: 1.5rem;
    height: 72px;
    width: 72px;
}

.profile-summary {
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
    padding-bottom: 28px;
}

.empty-state {
    margin: 0 auto;
    max-width: 680px;
    padding: 40px;
    text-align: center;
}

.engine-form {
    padding: 30px;
}

.pipeline-board {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 22px;
}

.pipeline-board div {
    background: #ffffff;
    border: 1px solid rgba(221, 228, 223, 0.95);
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(18, 48, 63, 0.07);
    padding: 20px;
}

.pipeline-board span {
    align-items: center;
    background: #f4f8f5;
    border-radius: 999px;
    color: var(--primary-light);
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 850;
    height: 32px;
    justify-content: center;
    margin-bottom: 16px;
    width: 32px;
}

.pipeline-board strong {
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.pipeline-board p {
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .engine-hero-grid,
    .feature-grid,
    .feature-grid.two,
    .profile-grid,
    .pipeline-board {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .engine-hero,
    .engine-hero.compact {
        padding: 56px 0;
    }

    .engine-actions,
    .profile-card,
    .profile-summary {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .job-search-form,
    .advanced-search-filters,
    .dashboard-grid,
    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-content {
        overflow-x: auto;
    }

    .compact-job-list article {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Modern polish layer */
:root {
    --primary: #12303f;
    --primary-light: #1f5f62;
    --accent: #b65f2a;
    --accent-hover: #93491f;
    --success: #13795b;
    --light: #f5f7f4;
    --dark: #17212b;
    --gray: #667085;
    --border: #dde4df;
    --surface: #ffffff;
    --surface-soft: #f8faf7;
    --focus: rgba(31, 95, 98, 0.2);
    --radius: 8px;
    --shadow: 0 12px 30px rgba(18, 48, 63, 0.08);
    --shadow-lg: 0 22px 55px rgba(18, 48, 63, 0.14);
}

html {
    background: var(--surface-soft);
}

body {
    color: var(--dark);
    background: linear-gradient(180deg, #fbfcfa 0%, #f5f7f4 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    letter-spacing: 0;
}

a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

a {
    text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

.container {
    max-width: 1240px;
}

.site-header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(221, 228, 223, 0.82);
    box-shadow: 0 10px 35px rgba(18, 48, 63, 0.06);
    backdrop-filter: blur(14px);
}

.header-inner {
    height: 76px;
}

.site-branding {
    min-width: 190px;
}

.site-logo img {
    height: 46px;
    object-fit: contain;
}

.site-title {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 800;
}

.main-navigation {
    gap: 24px;
}

.main-navigation ul {
    gap: 8px;
}

.main-navigation a {
    border-radius: var(--radius);
    color: #263642;
    display: inline-flex;
    font-size: 0.92rem;
    font-weight: 650;
    padding: 10px 12px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    background: rgba(31, 95, 98, 0.08);
    color: var(--primary-light);
}

.auth-nav {
    gap: 8px;
    padding-left: 20px;
}

.nav-cta,
.btn-accent,
.job-search-form button {
    background: linear-gradient(135deg, var(--accent) 0%, #d07b3b 100%);
    box-shadow: 0 12px 24px rgba(182, 95, 42, 0.22);
}

.nav-cta:hover,
.btn-accent:hover,
.job-search-form button:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    height: 44px;
    justify-content: center;
    width: 44px;
}

.hero {
    background:
        linear-gradient(135deg, rgba(18, 48, 63, 0.96) 0%, rgba(31, 95, 98, 0.94) 58%, rgba(182, 95, 42, 0.86) 100%),
        url("logo.jpg") center/360px auto no-repeat;
    overflow: hidden;
    padding: 96px 0 86px;
    position: relative;
}

.hero::after {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 44px 44px;
    content: "";
    inset: 0;
    opacity: 0.16;
    pointer-events: none;
    position: absolute;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    font-weight: 850;
    line-height: 1.03;
    margin: 0 auto 18px;
    max-width: 860px;
}

.hero p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.12rem;
    line-height: 1.7;
    margin-bottom: 34px;
}

.job-search-bar {
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 28px 70px rgba(18, 48, 63, 0.22);
    max-width: 1040px;
    padding: 14px;
}

.job-search-form {
    gap: 10px;
}

.job-search-form input,
.job-search-form select,
.search-filters input,
.search-filters select,
.application-form input,
.application-form textarea,
.application-form select,
.form-row input,
.form-row textarea,
.form-row select {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(18, 48, 63, 0.03);
    color: var(--dark);
    min-height: 46px;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.job-search-form input,
.job-search-form select {
    min-height: 54px;
}

.job-search-form input:focus,
.job-search-form select:focus,
.search-filters input:focus,
.search-filters select:focus,
.application-form input:focus,
.application-form textarea:focus,
.application-form select:focus,
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px var(--focus);
    outline: none;
}

.job-search-form button,
.btn {
    align-items: center;
    border-radius: var(--radius);
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
    text-decoration: none;
}

.btn {
    box-shadow: 0 10px 24px rgba(18, 48, 63, 0.08);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 14px 28px rgba(18, 48, 63, 0.18);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, #257d77 100%);
    transform: translateY(-1px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(18, 48, 63, 0.2);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 16px 30px rgba(18, 48, 63, 0.18);
}

.stats-bar,
.categories-section,
.how-it-works,
.job-single-header,
.breadcrumbs {
    background: rgba(255, 255, 255, 0.64);
    border-color: rgba(221, 228, 223, 0.82);
}

.stats-grid,
.jobs-grid,
.categories-grid,
.steps-grid {
    gap: 22px;
}

.stat-item,
.job-card,
.category-card,
.step-card,
.sidebar-box,
.dashboard-sidebar,
.dashboard-content,
.dashboard-stats div,
.compact-job-list article,
.role-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(221, 228, 223, 0.88);
    box-shadow: 0 12px 36px rgba(18, 48, 63, 0.07);
}

.stat-item {
    border-radius: var(--radius);
    padding: 24px 18px;
}

.stat-number {
    color: var(--primary);
    font-size: 2.35rem;
    line-height: 1;
}

.stat-label,
.section-subtitle,
.job-company,
.job-meta,
.job-excerpt,
.category-count,
.step-desc,
.compact-job-list p {
    color: var(--gray);
}

.section-title {
    color: var(--primary);
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.15;
}

.jobs-section,
.featured-jobs,
.categories-section,
.how-it-works {
    padding: 72px 0;
}

.job-card,
.category-card,
.step-card {
    position: relative;
}

.job-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 26px;
}

.job-card::before {
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    border-radius: var(--radius) var(--radius) 0 0;
    content: "";
    height: 3px;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity 0.18s;
}

.job-card:hover {
    border-color: rgba(31, 95, 98, 0.28);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.job-card:hover::before {
    opacity: 1;
}

.job-title {
    color: var(--primary);
    font-size: 1.18rem;
    line-height: 1.35;
}

.job-type-badge,
.featured-badge,
.expired-badge,
.status-pill,
.skill-tags span {
    border-radius: 999px;
    letter-spacing: 0;
}

.job-type-badge {
    background: rgba(31, 95, 98, 0.1);
    color: var(--primary-light);
}

.featured-badge {
    background: rgba(182, 95, 42, 0.12);
    color: var(--accent-hover);
}

.skill-tags span {
    background: rgba(18, 48, 63, 0.05);
    border-color: rgba(18, 48, 63, 0.08);
}

.job-card-footer {
    margin-top: auto;
}

.category-card,
.step-card {
    padding: 30px 24px;
}

.category-card:hover,
.step-card:hover,
.role-card:hover {
    border-color: rgba(31, 95, 98, 0.32);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.step-number {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 12px 28px rgba(18, 48, 63, 0.18);
}

.job-single-header {
    margin-bottom: 0;
    padding: 54px 0;
}

.job-single {
    padding: 54px 0 76px;
}

.job-single-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.12;
}

.job-single-meta {
    gap: 10px;
}

.job-single-meta span {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px 12px;
}

.job-content {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(221, 228, 223, 0.88);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 34px;
}

.job-content h2,
.job-content h3,
.sidebar-box h3,
.dashboard-content h2,
.page-content h1,
.page-content h2 {
    color: var(--primary);
    line-height: 1.2;
}

.sidebar-box {
    padding: 26px;
}

.application-form label,
.form-row label {
    color: #344352;
    font-weight: 700;
}

.alert {
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(18, 48, 63, 0.06);
}

.alert-success {
    background: #e8f7ef;
    border-color: #b9e5cf;
    color: #17633f;
}

.alert-error {
    background: #fff0ee;
    border-color: #f1bab3;
    color: #9f3024;
}

.search-filters {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(221, 228, 223, 0.88);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
}

.advanced-search-filters {
    gap: 12px;
}

.pagination a,
.pagination span {
    background: var(--surface);
    border-color: var(--border);
    box-shadow: 0 8px 20px rgba(18, 48, 63, 0.05);
}

.pagination a:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.pagination .current {
    background: var(--primary);
}

.dashboard-grid {
    align-items: start;
    gap: 26px;
    padding: 54px 0;
}

.dashboard-sidebar {
    position: sticky;
    top: 98px;
}

.dashboard-menu a {
    font-weight: 650;
}

.dashboard-menu a:hover,
.dashboard-menu .active a {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 10px 24px rgba(18, 48, 63, 0.14);
}

.dashboard-content {
    padding: 34px;
}

.dashboard-stats div {
    padding: 22px;
}

.dashboard-stats strong {
    font-size: 2rem;
}

.data-table {
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.data-table th {
    background: #f0f5f2;
    color: var(--primary);
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.data-table td {
    background: rgba(255, 255, 255, 0.74);
}

.data-table tr:hover td {
    background: #f8faf7;
}

.role-card {
    background: var(--surface);
}

.role-card:has(input:checked) {
    background: #f4fbf8;
    border-color: var(--primary-light);
}

.site-footer {
    background:
        linear-gradient(135deg, #102633 0%, #12303f 58%, #1f4d4f 100%);
    padding-top: 64px;
}

.footer-grid {
    gap: 36px;
}

.footer-title {
    color: #ffffff;
    letter-spacing: 0;
}

.footer-links a,
.footer-brand p,
.footer-links li {
    color: rgba(255, 255, 255, 0.76);
}

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

.footer-alerts input {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.footer-alerts input::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 992px) {
    .hero {
        padding: 76px 0 68px;
    }

    .dashboard-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    .header-inner {
        height: 70px;
    }

    .main-navigation ul,
    .auth-nav {
        gap: 8px;
    }

    .main-navigation {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        display: none;
        flex-direction: column;
        gap: 8px;
        left: 18px;
        padding: 14px;
        position: absolute;
        right: 18px;
        top: 78px;
    }

    .main-navigation:has(ul.active),
    .main-navigation:has(.auth-nav.active) {
        display: flex;
    }

    .main-navigation ul,
    .auth-nav,
    .main-navigation ul.active,
    .auth-nav.active {
        background: transparent;
        border: 0;
        box-shadow: none;
        display: flex;
        padding: 0;
        position: static;
    }

    .main-navigation a {
        width: 100%;
    }

    .auth-nav {
        padding-left: 24px;
    }

    .hero {
        padding: 62px 0 56px;
    }

    .job-search-bar,
    .search-filters,
    .job-content,
    .dashboard-content,
    .sidebar-box {
        padding: 18px;
    }

    .jobs-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .job-card-footer {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .job-single-meta span {
        width: fit-content;
    }

    .data-table {
        min-width: 720px;
    }
}

/* Homepage professional finish */
.section-heading {
    margin: 0 auto 44px;
    max-width: 760px;
    text-align: center;
}

.section-eyebrow {
    color: var(--accent-hover);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 34px;
}

body .how-it-works {
    background:
        linear-gradient(180deg, #ffffff 0%, #f5f8f6 100%) !important;
    border-top: 1px solid rgba(221, 228, 223, 0.85);
    overflow: hidden;
    padding: 92px 0 !important;
    position: relative;
}

body .how-it-works .container {
    position: relative;
}

body .how-it-works .steps-grid {
    align-items: stretch !important;
    display: grid !important;
    gap: 22px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    margin: 0 !important;
    position: relative;
}

body .how-it-works .step-card {
    background: #ffffff !important;
    border: 1px solid rgba(209, 219, 213, 0.95) !important;
    border-radius: 8px !important;
    box-shadow: 0 20px 55px rgba(18, 48, 63, 0.09) !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 280px;
    overflow: hidden;
    padding: 30px !important;
    position: relative;
    text-align: left !important;
}

body .how-it-works .step-card::before {
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

body .how-it-works .step-card:hover {
    border-color: rgba(31, 95, 98, 0.34) !important;
    box-shadow: 0 28px 70px rgba(18, 48, 63, 0.14) !important;
    transform: translateY(-5px);
}

body .how-it-works .step-number {
    align-items: center !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: rgba(18, 48, 63, 0.22) !important;
    display: flex !important;
    font-size: 3.7rem !important;
    font-weight: 850 !important;
    height: auto !important;
    justify-content: flex-start !important;
    letter-spacing: 0 !important;
    line-height: 0.9 !important;
    margin: 0 0 28px !important;
    width: auto !important;
}

body .how-it-works .step-icon {
    align-items: center;
    background: #f4f8f5;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--primary-light);
    display: inline-flex;
    height: 56px;
    justify-content: center;
    margin-bottom: 24px;
    width: 56px;
}

body .how-it-works .step-title {
    color: var(--primary) !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 0 10px !important;
}

body .how-it-works .step-desc {
    color: var(--gray) !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    margin: 0 !important;
    max-width: 32ch;
}

body .stats-bar {
    padding: 34px 0;
}

body .stat-item {
    text-align: left;
}

body .jobs-section .section-title,
body .featured-jobs .section-title,
body .categories-section .section-title,
body .how-it-works .section-title {
    color: var(--primary) !important;
    font-size: clamp(2.1rem, 4vw, 3.25rem) !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    margin-bottom: 14px !important;
    text-align: center !important;
}

body .jobs-section .section-subtitle,
body .featured-jobs .section-subtitle,
body .categories-section .section-subtitle,
body .how-it-works .section-subtitle {
    color: #6d7b8d !important;
    font-size: 1.08rem !important;
    line-height: 1.65 !important;
    margin: 0 auto !important;
    max-width: 680px;
    text-align: center !important;
}

@media (max-width: 992px) {
    body .how-it-works .steps-grid {
        grid-template-columns: 1fr !important;
    }

    body .how-it-works .step-card {
        min-height: 0;
    }
}

@media (max-width: 768px) {
    body .how-it-works {
        padding: 68px 0 !important;
    }

    body .how-it-works .step-card {
        padding: 24px !important;
    }

    body .how-it-works .step-number {
        font-size: 3rem !important;
        margin-bottom: 22px !important;
    }
}

/* Jobs listing page */
.jobs-filter-form {
    grid-template-columns: minmax(200px, 1.5fr) repeat(3, minmax(140px, 1fr));
    margin-bottom: 28px;
}

.job-card--featured {
    background: linear-gradient(160deg, rgba(31, 95, 98, 0.05) 0%, rgba(255, 255, 255, 0.92) 60%);
    border-color: rgba(31, 95, 98, 0.3);
}

.job-card--featured::before {
    opacity: 1;
}

.job-card-badges {
    align-items: flex-start;
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 6px;
}

.expiring-badge {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    color: #9a3412;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 4px 10px;
    text-transform: uppercase;
}

.meta-salary {
    color: var(--success);
    font-weight: 600;
}

.job-card-stats {
    color: var(--gray);
    display: flex;
    flex-direction: column;
    font-size: 0.82rem;
    gap: 2px;
    line-height: 1.4;
}

.btn-sm {
    font-size: 0.88rem;
    min-height: 38px;
    padding: 8px 18px;
}

@media (max-width: 992px) {
    .jobs-filter-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .jobs-filter-form {
        grid-template-columns: 1fr;
    }
}
