/* ============================================================
   JOBSLELO - GLOBAL FRONTEND STYLES
   File: public_html/assets/css/app.css
   ============================================================ */

/* ------------------------------------------------------------
   1. ROOT / RESET
------------------------------------------------------------ */

:root {
    --jl-primary: #087cf0;
    --jl-primary-dark: #0569cf;
    --jl-primary-light: #eaf5ff;

    --jl-navy: #031a33;
    --jl-heading: #071a2f;
    --jl-text: #526274;
    --jl-muted: #7a8999;

    --jl-white: #ffffff;
    --jl-bg: #f7faff;
    --jl-bg-soft: #eef6ff;

    --jl-border: #e2eaf2;

    --jl-success: #18a957;
    --jl-danger: #dc3545;
    --jl-warning: #f3a712;

    --jl-container: 1180px;

    --jl-radius-sm: 8px;
    --jl-radius: 12px;
    --jl-radius-lg: 18px;

    --jl-shadow-sm: 0 5px 18px rgba(3, 26, 51, 0.06);
    --jl-shadow: 0 12px 35px rgba(3, 26, 51, 0.09);

    --jl-transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--jl-white);
    color: var(--jl-text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--jl-heading);
    font-weight: 700;
    line-height: 1.25;
}

p {
    margin-top: 0;
}

.container {
    width: min(calc(100% - 40px), var(--jl-container));
    margin-inline: auto;
}


/* ------------------------------------------------------------
   2. BUTTONS
------------------------------------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 46px;
    padding: 10px 22px;

    border: 1px solid transparent;
    border-radius: var(--jl-radius-sm);

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    transition:
        background-color var(--jl-transition),
        border-color var(--jl-transition),
        color var(--jl-transition),
        transform var(--jl-transition),
        box-shadow var(--jl-transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--jl-primary);
    color: var(--jl-white);
    border-color: var(--jl-primary);
    box-shadow: 0 7px 18px rgba(8, 124, 240, 0.18);
}

.btn-primary:hover {
    background: var(--jl-primary-dark);
    border-color: var(--jl-primary-dark);
}

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

.btn-outline:hover {
    background: var(--jl-primary);
    color: var(--jl-white);
}

.btn-light {
    background: var(--jl-white);
    color: var(--jl-heading);
    border-color: var(--jl-border);
}

.btn-light:hover {
    border-color: var(--jl-primary);
    color: var(--jl-primary);
}


/* ------------------------------------------------------------
   3. GLOBAL HEADER
------------------------------------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--jl-border);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}


/* Logo */

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    width: 190px;
    max-width: 190px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}


/* Desktop navigation */

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;

    margin-left: auto;
}

.main-navigation a {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 76px;

    color: #34465a;

    font-size: 14px;
    font-weight: 600;

    transition: color var(--jl-transition);
}
.hero-section{
    padding-top: 50px;

}
.home-cta{
    padding-bottom: 50px;
}
.main-navigation a:hover,
.main-navigation a.active {
    color: var(--jl-primary);
}

.main-navigation a::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -1px;

    width: 0;
    height: 3px;

    background: var(--jl-primary);
    border-radius: 4px 4px 0 0;

    transform: translateX(-50%);
    transition: width var(--jl-transition);
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 24px;
}


/* Header actions */

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-login {
    color: var(--jl-heading);
    font-size: 14px;
    font-weight: 700;
    transition: color var(--jl-transition);
}

.header-login:hover {
    color: var(--jl-primary);
}

.header-signup {
    min-height: 44px;
    padding-inline: 20px;
}


/* ------------------------------------------------------------
   4. MOBILE MENU
------------------------------------------------------------ */

.mobile-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 10px;

    background: var(--jl-white);
    border: 1px solid var(--jl-border);
    border-radius: 9px;
}

.mobile-menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background: var(--jl-heading);
    border-radius: 10px;

    transition:
        transform var(--jl-transition),
        opacity var(--jl-transition);
}

.mobile-navigation {
    display: none;
}


/* ------------------------------------------------------------
   5. MAIN CONTENT
------------------------------------------------------------ */

.site-main {
    min-height: 60vh;
}

.section {
    padding: 80px 0;
}

.section-soft {
    background: var(--jl-bg);
}

.section-heading {
    max-width: 650px;
    margin-bottom: 38px;
}

.section-heading.center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-kicker {
    display: inline-block;

    margin-bottom: 9px;

    color: var(--jl-primary);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-bottom: 12px;
    font-size: clamp(28px, 4vw, 40px);
}

.section-heading p {
    margin-bottom: 0;
    color: var(--jl-text);
}


/* ------------------------------------------------------------
   6. HOMEPAGE HERO
------------------------------------------------------------ */

.hero,
.home-hero {
    position: relative;
    overflow: hidden;

    padding: 76px 0 80px;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(8, 124, 240, 0.10),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f5faff 52%,
            #eef7ff 100%
        );
}

.hero-grid,
.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    align-items: center;
    gap: 60px;
}

.hero-content h1,
.home-hero-content h1 {
    max-width: 650px;

    margin-bottom: 20px;

    color: var(--jl-heading);

    font-size: clamp(40px, 5vw, 62px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.hero-content h1 span,
.home-hero-content h1 span {
    color: var(--jl-primary);
}

.hero-content > p,
.home-hero-content > p {
    max-width: 610px;

    margin-bottom: 30px;

    color: var(--jl-text);
    font-size: 17px;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 520px;
    max-height: 500px;
    object-fit: contain;
}


/* ------------------------------------------------------------
   7. JOB SEARCH BOX
------------------------------------------------------------ */

.job-search,
.hero-search {
    display: flex;
    align-items: center;

    width: 100%;
    max-width: 760px;

    margin-bottom: 18px;
    padding: 8px;

    background: var(--jl-white);
    border: 1px solid var(--jl-border);
    border-radius: 12px;

    box-shadow: var(--jl-shadow);
}

.search-field {
    position: relative;
    flex: 1;
}

.search-field + .search-field {
    border-left: 1px solid var(--jl-border);
}

.search-field input,
.search-field select {
    width: 100%;
    height: 52px;

    padding: 0 18px;

    color: var(--jl-heading);

    background: transparent;
    border: 0;
    outline: 0;

    font-size: 14px;
}

.search-field input::placeholder {
    color: #93a0ad;
}

.job-search .btn,
.hero-search .btn {
    min-width: 130px;
    height: 52px;
}


/* Popular searches */

.popular-searches {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 12px;

    color: var(--jl-muted);
    font-size: 13px;
}

.popular-searches strong {
    color: var(--jl-heading);
}

.popular-searches a {
    color: var(--jl-primary);
    font-weight: 600;
}

.popular-searches a:hover {
    text-decoration: underline;
}


/* ------------------------------------------------------------
   8. HOMEPAGE STATS
------------------------------------------------------------ */

.hero-stats,
.home-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;

    margin-top: 32px;
}

.stat-item {
    padding-right: 30px;
    border-right: 1px solid var(--jl-border);
}

.stat-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.stat-number {
    display: block;

    color: var(--jl-heading);

    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.stat-label {
    display: block;
    margin-top: 5px;

    color: var(--jl-muted);

    font-size: 12px;
    font-weight: 600;
}


/* ------------------------------------------------------------
   9. CATEGORY SECTION
------------------------------------------------------------ */

.categories-section {
    padding: 82px 0;
    background: var(--jl-white);
}

.category-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.category-card {
    min-width: 0;
    min-height: 145px;
    padding: 22px;
    border: 1px solid #e3ebf5;
    border-radius: 14px;
    background: #fff;
    transition: .25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: #b8d8fa;
    box-shadow: 0 12px 35px rgba(5, 37, 68, .08);
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin-bottom: 17px;

    color: var(--jl-primary);

    background: var(--jl-primary-light);
    border-radius: 10px;

    font-size: 20px;
}

.category-card h3 {
    margin-bottom: 6px;
    font-size: 16px;
}

.category-card p,
.category-count {
    margin: 0;
    color: var(--jl-muted);
    font-size: 13px;
}


/* ------------------------------------------------------------
   10. LATEST JOBS
------------------------------------------------------------ */

.latest-jobs-section {
    padding: 82px 0;
    background: var(--jl-bg);
}

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

.job-card {
    position: relative;

    display: flex;
    gap: 18px;

    padding: 24px;

    background: var(--jl-white);
    border: 1px solid var(--jl-border);
    border-radius: var(--jl-radius);

    transition:
        transform var(--jl-transition),
        border-color var(--jl-transition),
        box-shadow var(--jl-transition);
}

.job-card:hover {
    transform: translateY(-3px);
    border-color: rgba(8, 124, 240, 0.3);
    box-shadow: var(--jl-shadow-sm);
}

.job-company-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    overflow: hidden;

    background: var(--jl-white);
    border: 1px solid var(--jl-border);
    border-radius: 10px;
}

.job-company-logo img {
    width: 100%;
    height: 100%;
    padding: 7px;
    object-fit: contain;
}

.job-card-content {
    min-width: 0;
    flex: 1;
}

.job-card h3 {
    margin-bottom: 5px;
    font-size: 17px;
}

.job-card h3 a:hover {
    color: var(--jl-primary);
}

.job-company {
    margin-bottom: 12px;
    color: var(--jl-text);
    font-size: 13px;
}

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

.job-meta span,
.job-badge {
    display: inline-flex;
    align-items: center;

    min-height: 28px;
    padding: 4px 10px;

    color: #526274;

    background: #f4f7fa;
    border-radius: 6px;

    font-size: 11px;
    font-weight: 600;
}


/* ------------------------------------------------------------
   11. EMPTY STATE
------------------------------------------------------------ */

.empty-state {
    padding: 45px 25px;

    text-align: center;

    background: var(--jl-white);
    border: 1px dashed #ccd8e4;
    border-radius: var(--jl-radius);
}

.empty-state h3 {
    margin-bottom: 8px;
}

.empty-state p {
    margin-bottom: 18px;
    color: var(--jl-muted);
}


/* ------------------------------------------------------------
   12. CAREER CTA
------------------------------------------------------------ */

.career-cta {
    padding: 80px 0;
    background: var(--jl-white);
}

.career-cta-box {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    padding: 52px 58px;

    color: var(--jl-white);

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(255, 255, 255, 0.15),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #06264a,
            #087cf0
        );

    border-radius: var(--jl-radius-lg);
}

.career-cta-content {
    max-width: 680px;
}

.career-cta h2 {
    margin-bottom: 12px;
    color: var(--jl-white);
    font-size: clamp(28px, 4vw, 38px);
}

.career-cta p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
}

.career-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.career-cta .btn-light {
    border-color: var(--jl-white);
}


/* ------------------------------------------------------------
   13. FORMS
------------------------------------------------------------ */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 7px;

    color: var(--jl-heading);

    font-size: 13px;
    font-weight: 700;
}

.form-control {
    display: block;

    width: 100%;
    min-height: 48px;

    padding: 10px 14px;

    color: var(--jl-heading);

    background: var(--jl-white);
    border: 1px solid var(--jl-border);
    border-radius: 8px;

    outline: 0;

    transition:
        border-color var(--jl-transition),
        box-shadow var(--jl-transition);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.form-control:focus {
    border-color: var(--jl-primary);
    box-shadow: 0 0 0 3px rgba(8, 124, 240, 0.1);
}


/* ------------------------------------------------------------
   14. GLOBAL FOOTER
------------------------------------------------------------ */

.site-footer {
    padding-top: 65px;

    color: #9eb0c2;

    background: var(--jl-navy);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 55px;

    padding-bottom: 50px;
}

.footer-brand {
    max-width: 330px;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 190px;
    height: 64px;

    padding: 6px 10px;

    object-fit: contain;

    background: var(--jl-white);
    border-radius: 8px;
}

.footer-brand p {
    margin: 0;
    color: #9eb0c2;
    font-size: 14px;
    line-height: 1.8;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 9px;

    color: var(--jl-white);

    font-size: 15px;
    font-weight: 700;
}

.footer-column a {
    color: #9eb0c2;
    font-size: 13px;

    transition:
        color var(--jl-transition),
        transform var(--jl-transition);
}

.footer-column a:hover {
    color: var(--jl-white);
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 68px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: #8498ab;
    font-size: 12px;
}


/* ------------------------------------------------------------
   15. UTILITY CLASSES
------------------------------------------------------------ */

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

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

.text-muted {
    color: var(--jl-muted);
}

.d-flex {
    display: flex;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-10 {
    gap: 10px;
}

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

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

.mb-0 {
    margin-bottom: 0;
}


/* ------------------------------------------------------------
   16. RESPONSIVE CONTENT
------------------------------------------------------------ */
@media (max-width: 1024px) {
    .hero-grid,
    .home-hero-grid { grid-template-columns: 1fr 0.8fr; gap: 35px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 850px) {
    .container { width: min(calc(100% - 30px), var(--jl-container)); }
    .hero, .home-hero { padding: 55px 0; }
    .hero-grid, .home-hero-grid { grid-template-columns: 1fr; gap: 45px; }
    .hero-content, .home-hero-content { text-align: center; }
    .hero-content h1, .home-hero-content h1,
    .hero-content > p, .home-hero-content > p,
    .job-search, .hero-search { margin-right: auto; margin-left: auto; }
    .popular-searches, .hero-stats, .home-stats { justify-content: center; }
    .hero-image img { max-width: 440px; }
    .jobs-grid { grid-template-columns: 1fr; }
    .career-cta-box { flex-direction: column; align-items: flex-start; padding: 42px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    body { font-size: 15px; }
    .container { width: min(calc(100% - 24px), var(--jl-container)); }
    .hero, .home-hero { padding: 42px 0 50px; }
    .hero-content h1, .home-hero-content h1 { font-size: 36px; }
    .hero-content > p, .home-hero-content > p { font-size: 15px; }
    .job-search, .hero-search { flex-direction: column; align-items: stretch; padding: 10px; }
    .search-field { width: 100%; }
    .search-field + .search-field { border-top: 1px solid var(--jl-border); border-left: 0; }
    .job-search .btn, .hero-search .btn { width: 100%; margin-top: 8px; }
    .hero-stats, .home-stats { gap: 16px; }
    .stat-item { min-width: 85px; padding-right: 16px; }
    .stat-number { font-size: 20px; }
    .section, .categories-section, .latest-jobs-section, .career-cta { padding: 58px 0; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .category-card { min-height: 120px; padding: 14px; }
    .job-card { padding: 18px; }
    .career-cta-box { padding: 32px 24px; }
    .career-cta-actions { width: 100%; flex-direction: column; align-items: stretch; }
    .site-footer { padding-top: 50px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { max-width: 100%; }
    .footer-bottom { min-height: 65px; }
}

/* ------------------------------------------------------------
   17. CANONICAL RESPONSIVE HEADER
------------------------------------------------------------ */
.header-create-account { color: var(--jl-primary); font-size: 14px; font-weight: 700; white-space: nowrap; }
.header-create-account:hover { color: var(--jl-primary-dark); }
.post-job-btn { min-width: 126px; min-height: 44px; padding: 0 20px; border-radius: 9px; white-space: nowrap; font-size: 14px; font-weight: 800; }
.mobile-menu-toggle, .mobile-navigation { display: none; }

@media (min-width: 992px) {
    .site-logo img { width: auto; max-width: 115px; max-height: 48px; height: auto; }
    .main-navigation { gap: 27px; }
    .main-navigation a { min-height: 72px; }
    .main-navigation a::after { bottom: 9px; height: 2px; }
    .main-navigation a:hover::after, .main-navigation a.active::after { width: 20px; }
}

@media (min-width: 992px) and (max-width: 1120px) {
    .header-inner { gap: 16px; }
    .main-navigation { gap: 16px; }
    .main-navigation a { font-size: 13px; }
    .header-actions { gap: 10px; }
    .post-job-btn { min-width: 108px; padding-inline: 14px; }
}

@media (max-width: 991px) {
    .site-header { position: sticky; top: 0; z-index: 9999; background: #fff; }
    .header-inner { min-height: 62px; gap: 16px; }
    .site-logo img { width: auto; height: 38px; max-width: 110px; object-fit: contain; }
    .main-navigation, .header-actions { display: none; }
    .mobile-menu-toggle { display: inline-flex; width: 40px; height: 40px; padding: 0; margin-left: auto; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--jl-border); border-radius: 8px; background: #fff; color: var(--jl-heading); font-size: 21px; line-height: 1; cursor: pointer; }
    .menu-icon-open { display: inline-block; }
    .menu-icon-close { display: none; }
    .mobile-menu-toggle.is-active .menu-icon-open { display: none; }
    .mobile-menu-toggle.is-active .menu-icon-close { display: inline-block; }
    .mobile-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; width: 100%; max-height: calc(100vh - 62px); overflow-y: auto; background: #fff; border-top: 1px solid var(--jl-border); box-shadow: 0 18px 35px rgba(5,37,68,.12); }
    .mobile-navigation.is-open { display: block; }
    .mobile-navigation-inner { padding: 8px 16px 20px; }
    .mobile-nav-links { display: flex; flex-direction: column; }
    .mobile-nav-links a { display: flex; align-items: center; min-height: 48px; padding: 0 5px; border-bottom: 1px solid #edf2f7; color: #173653; font-size: 14px; font-weight: 650; text-decoration: none; }
    .mobile-nav-links a:hover, .mobile-nav-links a.active { color: var(--jl-primary); }
    .mobile-nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 16px; }
    .mobile-nav-actions a { min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 13px; font-weight: 700; text-align: center; }
    .mobile-login-btn { border: 1px solid var(--jl-border); color: var(--jl-heading); background: #fff; }
    .mobile-create-btn { border: 1px solid var(--jl-primary); color: var(--jl-primary); background: #fff; }
    .mobile-post-job-btn { grid-column: 1 / -1; color: #fff; background: var(--jl-primary); }
}

@media (max-width: 420px) {
    .mobile-nav-actions { grid-template-columns: 1fr; }
    .mobile-post-job-btn { grid-column: auto; }
}


/* ============================================================
   18. FINAL CANONICAL MOBILE HEADER / MENU
   This is the only override needed for the current live header.
   ============================================================ */
@media (max-width: 991px) {

    .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        overflow: visible !important;
        background: #fff !important;
    }

    .header-inner {
        position: relative;
        min-height: 62px;
    }

    /* Clean hamburger: no visible square box */
    button.mobile-menu-toggle {
        display: inline-flex !important;
        position: relative !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        margin-left: auto !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    button.mobile-menu-toggle .menu-icon-open,
    button.mobile-menu-toggle .menu-icon-close {
        display: none !important;
    }

    button.mobile-menu-toggle .menu-bars {
        display: block !important;
        position: relative !important;
        width: 24px !important;
        height: 18px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
    }

    button.mobile-menu-toggle .menu-bars > span {
        display: block !important;
        position: absolute !important;
        left: 0 !important;
        width: 24px !important;
        height: 2px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #071a2f !important;
        border: 0 !important;
        border-radius: 999px !important;
        opacity: 1 !important;
        transition: top .2s ease, transform .2s ease, opacity .15s ease !important;
    }

    button.mobile-menu-toggle .menu-bars > span:nth-child(1) {
        top: 1px !important;
        transform: none !important;
    }

    button.mobile-menu-toggle .menu-bars > span:nth-child(2) {
        top: 8px !important;
        transform: none !important;
    }

    button.mobile-menu-toggle .menu-bars > span:nth-child(3) {
        top: 15px !important;
        transform: none !important;
    }

    button.mobile-menu-toggle.is-active .menu-bars > span:nth-child(1) {
        top: 8px !important;
        transform: rotate(45deg) !important;
    }

    button.mobile-menu-toggle.is-active .menu-bars > span:nth-child(2) {
        top: 8px !important;
        opacity: 0 !important;
    }

    button.mobile-menu-toggle.is-active .menu-bars > span:nth-child(3) {
        top: 8px !important;
        transform: rotate(-45deg) !important;
    }

    /* The header stays sticky; ONLY the dropdown is absolute. */
    #mobileNavigation.mobile-navigation {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: calc(100vh - 62px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        background: #fff !important;
        border-top: 1px solid #e2eaf2 !important;
        box-shadow: 0 18px 35px rgba(5, 37, 68, .14) !important;
        z-index: 10000 !important;
    }

    #mobileNavigation.mobile-navigation.is-open {
        display: block !important;
    }

    .mobile-navigation-inner {
        padding: 8px 18px 20px !important;
    }

    .mobile-nav-links {
        display: flex !important;
        flex-direction: column !important;
    }

    .mobile-nav-links a {
        display: flex !important;
        align-items: center !important;
        min-height: 47px !important;
        padding: 0 6px !important;
        border-bottom: 1px solid #edf2f7 !important;
        color: #173653 !important;
        font-size: 14px !important;
        font-weight: 650 !important;
    }

    .mobile-nav-links a.active,
    .mobile-nav-links a:hover {
        color: var(--jl-primary) !important;
    }

    .mobile-nav-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        padding-top: 16px !important;
    }

    .mobile-nav-actions a {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-align: center !important;
    }

    .mobile-post-job-btn {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 600px) {
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .category-card {
        min-width: 0;
        padding: 14px 12px;
    }

    .category-card h3,
    .category-info h3 {
        overflow-wrap: break-word;
        word-break: normal;
        font-size: 14px;
        line-height: 1.3;
    }
}


/* ============================================================
   HOMEPAGE RESPONSIVE ADVERTISEMENT POSITIONS
   ============================================================ */
.ad-section {
    padding: 22px 0;
    background: #ffffff;
}

.ad-section-home-lower {
    background: var(--jl-bg, #f7faff);
}

.ad-slot {
    position: relative;
    width: 100%;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 24px 18px 16px;
    background: #f8fafc;
    border: 1px dashed #cbd8e6;
    border-radius: 12px;
    text-align: center;
}

.ad-label {
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    color: #94a3b1;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ad-placeholder {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #8b9aaa;
    font-size: 12px;
}

.ad-placeholder strong {
    color: #607286;
    font-size: 13px;
}

.ad-slot.is-empty {
    display: none;
}


/* ============================================================
   19. FIND JOBS PAGE
   ============================================================ */

.jobs-page-hero {
    padding: 62px 0 48px;
    background:
        radial-gradient(circle at 85% 10%, rgba(8,124,240,.10), transparent 32%),
        linear-gradient(135deg, #fff 0%, #f7fbff 55%, #eef7ff 100%);
    border-bottom: 1px solid var(--jl-border);
}

.jobs-page-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.jobs-page-hero h1 {
    margin: 5px 0 12px;
    font-size: clamp(34px, 5vw, 52px);
    letter-spacing: -.03em;
}

.jobs-page-hero p {
    max-width: 650px;
    margin: 0 auto 28px;
}

.jobs-main-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) auto;
    gap: 0;
    max-width: 880px;
    margin: 0 auto;
    padding: 7px;
    background: #fff;
    border: 1px solid var(--jl-border);
    border-radius: 13px;
    box-shadow: var(--jl-shadow-sm);
}

.jobs-search-field {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 0 14px;
}

.jobs-search-field + .jobs-search-field {
    border-left: 1px solid var(--jl-border);
}

.jobs-search-field input {
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--jl-heading);
    background: transparent;
    font-size: 14px;
}

.jobs-search-button {
    min-width: 130px;
}

.jobs-results-section {
    padding: 54px 0 80px;
    background: #f8fbff;
}

.jobs-page-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}

.jobs-filter-panel {
    position: sticky;
    top: 96px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--jl-border);
    border-radius: 14px;
    box-shadow: var(--jl-shadow-sm);
}

.jobs-filter-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--jl-border);
}

.jobs-filter-heading span {
    display: block;
    color: var(--jl-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.jobs-filter-heading h2 {
    margin: 2px 0 0;
    font-size: 22px;
}

.jobs-filter-heading a {
    color: var(--jl-primary);
    font-size: 12px;
    font-weight: 700;
}

.job-filter-group {
    margin-bottom: 18px;
}

.job-filter-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--jl-heading);
    font-size: 13px;
    font-weight: 700;
}

.job-filter-group select,
.job-filter-group input {
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid var(--jl-border);
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: var(--jl-heading);
    font-size: 13px;
}

.job-filter-group select:focus,
.job-filter-group input:focus {
    border-color: var(--jl-primary);
    box-shadow: 0 0 0 3px rgba(8,124,240,.08);
}

.job-filter-group small {
    display: block;
    margin-top: 6px;
    color: var(--jl-muted);
    font-size: 10px;
    line-height: 1.45;
}

.jobs-apply-filters {
    width: 100%;
}

.jobs-results-column {
    min-width: 0;
}

.jobs-results-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.jobs-results-topbar strong {
    color: var(--jl-heading);
    font-size: 18px;
}

.jobs-results-topbar > div > span {
    margin-left: 4px;
    color: var(--jl-muted);
    font-size: 13px;
}

.jobs-sort-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jobs-sort-form label {
    color: var(--jl-muted);
    font-size: 12px;
    font-weight: 700;
}

.jobs-sort-form select {
    min-height: 40px;
    padding: 7px 31px 7px 10px;
    border: 1px solid var(--jl-border);
    border-radius: 8px;
    background: #fff;
    color: var(--jl-heading);
    font-size: 12px;
}

.jobs-inline-ad {
    min-height: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-bottom: 18px;
    padding: 16px;
    background: #fff;
    border: 1px dashed #cfdae5;
    border-radius: 12px;
    color: #91a0ae;
    font-size: 11px;
    text-align: center;
}

.jobs-inline-ad > span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.jobs-list-card {
    display: flex;
    gap: 18px;
    min-width: 0;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--jl-border);
    border-radius: 14px;
    transition: transform var(--jl-transition), border-color var(--jl-transition), box-shadow var(--jl-transition);
}

.jobs-list-card:hover {
    transform: translateY(-2px);
    border-color: #bfdcff;
    box-shadow: var(--jl-shadow-sm);
}

.jobs-list-logo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--jl-border);
    border-radius: 11px;
    color: var(--jl-primary);
    font-weight: 800;
    font-size: 20px;
}

.jobs-list-logo img {
    width: 100%;
    height: 100%;
    padding: 7px;
    object-fit: contain;
}

.jobs-list-content {
    min-width: 0;
    flex: 1;
}

.jobs-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.jobs-card-heading h2 {
    margin: 5px 0 4px;
    font-size: 19px;
}

.jobs-card-heading h2 a:hover {
    color: var(--jl-primary);
}

.jobs-list-company {
    margin: 0;
    color: var(--jl-text);
    font-size: 13px;
}

.jobs-list-company span {
    margin: 0 4px;
    color: #b3bfca;
}

.jobs-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 20px;
}

.jobs-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 7px;
    background: #eef5fc;
    border-radius: 999px;
    color: #446079;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.jobs-badge-new {
    color: #08723d;
    background: #e8f8ef;
}

.jobs-view-button {
    flex-shrink: 0;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid var(--jl-primary);
    border-radius: 8px;
    color: var(--jl-primary);
    font-size: 12px;
    font-weight: 800;
}

.jobs-view-button:hover {
    background: var(--jl-primary);
    color: #fff;
}

.jobs-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
}

.jobs-list-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 9px;
    background: #f4f7fa;
    border-radius: 6px;
    color: #526274;
    font-size: 11px;
    font-weight: 600;
}

.jobs-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #edf2f7;
}

.jobs-salary {
    color: var(--jl-heading);
    font-size: 13px;
}

.jobs-salary small {
    color: var(--jl-muted);
    font-size: 10px;
    font-weight: 600;
}

.jobs-salary-muted,
.jobs-card-footer time {
    color: var(--jl-muted);
    font-size: 11px;
}

.jobs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.jobs-pagination > a,
.jobs-pagination-pages a {
    min-height: 38px;
    min-width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    background: #fff;
    border: 1px solid var(--jl-border);
    border-radius: 8px;
    color: var(--jl-heading);
    font-size: 12px;
    font-weight: 700;
}

.jobs-pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
}

.jobs-pagination-pages a.active {
    background: var(--jl-primary);
    border-color: var(--jl-primary);
    color: #fff;
}

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

.jobs-pagination-pages a.active:hover {
    color: #fff;
}

.jobs-empty-state {
    padding: 70px 25px;
    background: #fff;
    border: 1px solid var(--jl-border);
    border-radius: 14px;
    text-align: center;
}

.jobs-empty-icon {
    margin-bottom: 13px;
    font-size: 34px;
}

.jobs-empty-state h2 {
    margin-bottom: 8px;
    font-size: 24px;
}

.jobs-empty-state p {
    max-width: 470px;
    margin: 0 auto 20px;
}

.jobs-mobile-toolbar {
    display: none;
}

@media (max-width: 900px) {
    .jobs-page-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 20px;
    }

    .jobs-filter-panel {
        padding: 18px;
    }
}

@media (max-width: 767px) {
    .ad-section {
        padding: 15px 0;
    }

    .ad-slot {
        min-height: 90px;
        padding: 22px 12px 12px;
        border-radius: 10px;
    }

    .jobs-page-hero {
        padding: 38px 0 32px;
    }

    .jobs-page-hero h1 {
        font-size: 34px;
    }

    .jobs-main-search {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 9px;
    }

    .jobs-search-field {
        min-height: 52px;
    }

    .jobs-search-field + .jobs-search-field {
        border-left: 0;
        border-top: 1px solid var(--jl-border);
    }

    .jobs-search-button {
        width: 100%;
        margin-top: 8px;
    }

    .jobs-results-section {
        padding: 28px 0 58px;
    }

    .jobs-mobile-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 15px;
    }

    .jobs-filter-toggle {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 8px 14px;
        background: #fff;
        border: 1px solid var(--jl-border);
        border-radius: 8px;
        color: var(--jl-heading);
        font-size: 13px;
        font-weight: 800;
    }

    .jobs-filter-toggle span {
        min-width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--jl-primary);
        border-radius: 999px;
        color: #fff;
        font-size: 10px;
    }

    .jobs-clear-mobile {
        color: var(--jl-primary);
        font-size: 12px;
        font-weight: 700;
    }

    .jobs-page-layout {
        display: block;
    }

    .jobs-filter-panel {
        display: none;
        position: static;
        margin-bottom: 18px;
    }

    .jobs-filter-panel.is-open {
        display: block;
    }

    .jobs-results-topbar {
        align-items: flex-start;
    }

    .jobs-sort-form {
        flex-direction: column;
        align-items: flex-end;
        gap: 3px;
    }

    .jobs-list-card {
        padding: 17px;
        gap: 12px;
    }

    .jobs-list-logo {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .jobs-card-heading {
        display: block;
    }

    .jobs-card-heading h2 {
        font-size: 17px;
    }

    .jobs-view-button {
        margin-top: 13px;
    }

    .jobs-card-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .jobs-pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 430px) {
    .jobs-results-topbar {
        flex-direction: column;
        gap: 10px;
    }

    .jobs-sort-form {
        width: 100%;
        align-items: stretch;
    }

    .jobs-sort-form select {
        width: 100%;
    }

    .jobs-list-card {
        position: relative;
        display: block;
    }

    .jobs-list-logo {
        margin-bottom: 12px;
    }

    .jobs-view-button {
        width: 100%;
    }

    .jobs-pagination-pages {
        order: -1;
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   JOBSLELO AUTHENTICATION
   Login / Candidate Register / Employer Register / Google
========================================================= */

.auth-page {
    position: relative;
    padding: 64px 20px 80px;
    min-height: 720px;
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(14, 126, 242, 0.10),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #ffffff 55%,
            #f5f9ff 100%
        );
}

.auth-container {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 620px;
    padding: 42px;
    background: #ffffff;
    border: 1px solid #e2eaf4;
    border-radius: 18px;
    box-shadow:
        0 18px 50px rgba(8, 36, 70, 0.08);
}

.auth-card-login {
    max-width: 520px;
}

.auth-heading {
    margin-bottom: 26px;
}

.auth-heading .section-label {
    display: block;
    margin-bottom: 7px;
    color: #5f7188;
    font-size: 14px;
    font-weight: 500;
}

.auth-heading h1 {
    margin: 0 0 12px;
    color: #061c35;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.auth-heading p {
    margin: 0;
    color: #62748b;
    font-size: 15px;
    line-height: 1.7;
}


/* GOOGLE */

.google-auth-button {
    width: 100%;
    min-height: 52px;
    padding: 10px 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: #ffffff;
    color: #172b43;

    border: 1px solid #d8e1ec;
    border-radius: 9px;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        transform .2s ease;
}

.google-auth-button:hover {
    background: #fafcff;
    border-color: #b9c9da;
    box-shadow: 0 7px 20px rgba(17, 50, 85, 0.08);
    transform: translateY(-1px);
}

.google-icon {
    width: 21px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 21px;
}

.google-icon svg {
    display: block;
    width: 21px;
    height: 21px;
}

/*
 Backward compatibility for login/employer pages
 currently using google-auth-mark
*/

.google-auth-mark {
    width: 23px;
    height: 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    color: #4285f4;

    border: 1px solid #dce4ed;
    border-radius: 50%;

    font-weight: 800;
    font-size: 14px;
}


/* DIVIDER */

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;

    margin: 27px 0;

    color: #8a9aaf;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .35px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    background: #dfe7f0;
    flex: 1;
}

.auth-divider span {
    white-space: nowrap;
}


/* ALERTS */

.auth-alert {
    margin-bottom: 20px;
    padding: 13px 15px;

    border: 1px solid #d9e4ef;
    border-radius: 8px;

    font-size: 14px;
    line-height: 1.5;
}

.auth-alert-success {
    color: #146c43;
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.auth-alert-error,
.auth-alert-danger {
    color: #b42318;
    background: #fff4f3;
    border-color: #fecaca;
}

.auth-alert-info {
    color: #175cd3;
    background: #eff8ff;
    border-color: #b2ddff;
}


/* FORM */

.auth-form {
    width: 100%;
}

.auth-form-grid,
.auth-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

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

.auth-form-grid .auth-field,
.auth-form-row .auth-field {
    min-width: 0;
}

.auth-field label {
    display: block;
    margin-bottom: 8px;

    color: #0b213a;

    font-size: 13px;
    font-weight: 700;
}

.auth-required {
    color: #e53935;
}

.auth-field input,
.auth-field select,
.auth-field textarea {
    width: 100%;
    min-width: 0;

    height: 50px;

    padding: 0 14px;

    color: #102840;
    background: #ffffff;

    border: 1px solid #d8e3ee;
    border-radius: 8px;

    outline: none;

    font-family: inherit;
    font-size: 14px;

    box-sizing: border-box;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.auth-field textarea {
    min-height: 120px;
    height: auto;
    padding-top: 13px;
    resize: vertical;
}

.auth-field input:hover,
.auth-field select:hover,
.auth-field textarea:hover {
    border-color: #bdcddd;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
    border-color: #0e7ef2;
    box-shadow: 0 0 0 3px rgba(14, 126, 242, 0.10);
}


/* PASSWORD */

.password-field,
.auth-input-wrap {
    position: relative;
    width: 100%;
}

.password-field input,
.auth-input-wrap input {
    padding-right: 72px;
}

.password-toggle,
.auth-password-toggle {
    position: absolute;

    right: 7px;
    top: 50%;
    transform: translateY(-50%);

    min-width: 52px;
    height: 36px;

    padding: 0 8px;

    border: 0;
    border-radius: 6px;

    background: transparent;
    color: #0e7ef2;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.password-toggle:hover,
.auth-password-toggle:hover {
    background: #edf6ff;
}

.password-toggle:focus-visible,
.auth-password-toggle:focus-visible {
    outline: 2px solid #0e7ef2;
    outline-offset: 1px;
}


/* HELP + ERRORS */

.auth-field small,
.auth-field-hint {
    display: block;

    margin-top: 7px;

    color: #78899e;

    font-size: 11px;
    line-height: 1.5;
}

.auth-field .auth-error {
    color: #d92d20;
    font-weight: 500;
}


/* SUBMIT */

.auth-submit {
    width: 100%;
    min-height: 51px;

    margin-top: 2px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 8px;

    background: #0e7ef2;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 8px 20px rgba(14, 126, 242, .18);

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.auth-submit:hover {
    background: #096ed8;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(14, 126, 242, .24);
}


/* BOTTOM LINKS */

.auth-bottom-links {
    margin-top: 23px;
    padding-top: 21px;

    border-top: 1px solid #edf1f6;

    text-align: center;
}

.auth-bottom-links p {
    margin: 7px 0;

    color: #66788f;

    font-size: 14px;
    line-height: 1.5;
}

.auth-bottom-links a {
    color: #0879ec;
    font-weight: 600;
    text-decoration: none;
}

.auth-bottom-links a:hover {
    text-decoration: underline;
}


/* GOOGLE EMPLOYER PAGE */

.auth-heading strong {
    color: #102840;
    font-weight: 700;
}


/* TABLET */

@media (max-width: 768px) {

    .auth-page {
        padding: 40px 16px 55px;
    }

    .auth-card {
        max-width: 600px;
        padding: 32px 26px;
        border-radius: 15px;
    }

    .auth-card-login {
        max-width: 500px;
    }

    .auth-heading h1 {
        font-size: 28px;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .auth-page {
        padding: 28px 12px 45px;
    }

    .auth-container {
        width: 100%;
    }

    .auth-card,
    .auth-card-login {
        width: 100%;
        max-width: 100%;
        padding: 25px 18px;
        border-radius: 13px;
    }

    .auth-heading {
        margin-bottom: 22px;
    }

    .auth-heading h1 {
        font-size: 25px;
        line-height: 1.25;
    }

    .auth-heading p {
        font-size: 14px;
    }

    .auth-form-grid,
    .auth-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-field {
        margin-bottom: 17px;
    }

    .auth-field input,
    .auth-field select {
        height: 48px;
        font-size: 16px;
    }

    .google-auth-button {
        min-height: 50px;
        font-size: 14px;
    }

    .auth-divider {
        margin: 23px 0;
        gap: 10px;
        font-size: 10px;
    }

    .auth-submit {
        min-height: 49px;
    }
}

/* =========================================================
   EMPLOYER DASHBOARD
========================================================= */

.employer-dashboard {
    padding: 70px 0 90px;
    background:
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #eef6ff 100%
        );
    min-height: 70vh;
}

.employer-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 35px;
}

.employer-dashboard-header h1 {
    margin: 8px 0 8px;
    font-size: clamp(30px, 4vw, 44px);
    color: #061b36;
}

.employer-dashboard-header p {
    margin: 0;
    color: #64748b;
}

.employer-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.employer-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.employer-stat-card span {
    display: block;
    margin-bottom: 12px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.employer-stat-card strong {
    display: block;
    color: #061b36;
    font-size: 32px;
    line-height: 1;
}

.employer-dashboard-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 32px;

    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.05);
}

.employer-dashboard-panel h2 {
    margin: 7px 0 8px;
    color: #061b36;
}

.employer-dashboard-panel p {
    margin: 0;
    color: #64748b;
}


/* TABLET */

@media (max-width: 991px) {

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

}


/* MOBILE */

@media (max-width: 767px) {

    .employer-dashboard {
        padding: 40px 0 60px;
    }

    .employer-dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .employer-dashboard-header .btn {
        width: 100%;
        text-align: center;
    }

    .employer-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .employer-stat-card {
        padding: 18px;
    }

    .employer-stat-card strong {
        font-size: 27px;
    }

    .employer-dashboard-panel {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .employer-dashboard-panel .btn {
        width: 100%;
        text-align: center;
    }

}


/* SMALL MOBILE */

@media (max-width: 420px) {

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

}

/* =========================================================
   ACCOUNT DROPDOWN / LOGOUT
========================================================= */

.account-menu {
    position: relative;
}

.account-menu-toggle {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;

    border: 1px solid #dce5ef;
    border-radius: 8px;

    background: #ffffff;
    color: #0b213a;

    font: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.account-menu-toggle:hover {
    border-color: #b9c9da;
    background: #f8fbff;
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;

    width: 190px;

    padding: 8px;

    background: #ffffff;

    border: 1px solid #dfe7f0;
    border-radius: 10px;

    box-shadow: 0 15px 35px rgba(8, 35, 68, .12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);

    transition: all .18s ease;

    z-index: 10010;
}

.account-menu.is-open .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-dropdown a,
.logout-button {
    width: 100%;

    display: flex;
    align-items: center;

    min-height: 40px;

    padding: 8px 10px;

    border: 0;
    border-radius: 7px;

    background: transparent;

    color: #17324f;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    text-align: left;
    text-decoration: none;

    cursor: pointer;
}

.account-dropdown a:hover,
.logout-button:hover {
    background: #f1f7fd;
    color: #0e7ef2;
}

.logout-form {
    margin: 0;
}

.mobile-logout-form {
    width: 100%;
}

.mobile-logout-btn {
    width: 100%;
    min-height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dbe5ee;
    border-radius: 8px;

    background: #ffffff;
    color: #17324f;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.mobile-logout-btn:hover {
    border-color: #0e7ef2;
    color: #0e7ef2;
}

/* =========================================================
   USER ACCOUNT DROPDOWN
========================================================= */

.account-menu {
    position: relative !important;
    display: inline-flex;
    z-index: 10000;
}

.account-menu-toggle {
    min-height: 52px;
    padding: 0 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    background: #fff;
    border: 1px solid #d8e2ee;
    border-radius: 10px;

    color: #071b35;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
}

.account-menu-toggle:hover {
    border-color: #0e7ef2;
}

.account-arrow {
    font-size: 10px;
    transition: transform .2s ease;
}


/* CLOSED */

#accountDropdown {
    display: none;

    position: absolute;
    top: calc(100% + 10px);
    right: 0;

    width: 220px;

    padding: 8px;

    background: #fff;

    border: 1px solid #dce5ef;
    border-radius: 12px;

    box-shadow:
        0 15px 40px rgba(8, 27, 52, .16);

    z-index: 999999;
}


/* OPEN */

#accountMenu.open #accountDropdown {
    display: block !important;
}

#accountMenu.open .account-arrow {
    transform: rotate(180deg);
}


/* LINKS */

#accountDropdown a {
    display: block;

    padding: 11px 13px;

    color: #17324f;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    border-radius: 7px;
}

#accountDropdown a:hover {
    background: #f2f7fd;
    color: #0e7ef2;
}


/* LOGOUT */

.logout-form {
    margin: 5px 0 0;
    padding-top: 5px;

    border-top: 1px solid #e8edf3;
}

.logout-button {
    display: block;

    width: 100%;

    padding: 11px 13px;

    border: 0;
    border-radius: 7px;

    background: transparent;

    color: #dc3545;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    text-align: left;

    cursor: pointer;
}

.logout-button:hover {
    background: #fff2f3;
}

/* =========================================================
   JOBSLELO HEADER MOBILE FINAL
========================================================= */

@media (max-width: 991px) {

    .site-header {
        position: relative;
        z-index: 9999;
        background: #ffffff;
    }

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

    .main-navigation,
    .header-actions {
        display: none !important;
    }

    .site-logo img {
        display: block;
        max-width: 125px;
        width: auto;
        height: auto;
    }


    /* Hamburger */

    .mobile-menu-toggle {
        display: flex !important;
        width: 46px;
        height: 46px;
        padding: 0;

        align-items: center;
        justify-content: center;

        background: transparent;
        border: 0;

        cursor: pointer;

        position: relative;
        z-index: 10002;
    }

    .menu-bars {
        display: flex;
        width: 28px;
        flex-direction: column;
        gap: 6px;
    }

    .menu-bars span {
        display: block;
        width: 100%;
        height: 2px;

        background: #17324f;
        border-radius: 5px;

        transition:
            transform .25s ease,
            opacity .25s ease;
    }


    /* Hamburger -> X */

    .mobile-menu-toggle.open
    .menu-bars span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.open
    .menu-bars span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.open
    .menu-bars span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


    /* Mobile navigation */

    .mobile-navigation {
        display: none !important;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        max-height: calc(100vh - 72px);
        overflow-y: auto;

        background: #ffffff;

        border-top: 1px solid #e3ebf4;

        box-shadow:
            0 18px 35px rgba(8, 27, 52, .14);

        z-index: 10001;
    }

    .mobile-navigation.open {
        display: block !important;
    }

    .mobile-navigation-inner {
        width: 100%;
        padding: 15px 24px 24px;
    }


    /* Mobile links */

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
    }

    .mobile-nav-links a {
        display: block;

        padding: 14px 4px;

        color: #17324f;

        font-size: 15px;
        font-weight: 600;

        text-decoration: none;

        border-bottom: 1px solid #edf2f7;
    }

    .mobile-nav-links a.active,
    .mobile-nav-links a:hover {
        color: #0e7ef2;
    }


    /* Mobile action area */

    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;

        padding-top: 18px;
    }

    .mobile-login-btn,
    .mobile-create-btn,
    .mobile-post-job-btn {
        width: 100%;
        min-height: 48px;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 10px 16px;

        border-radius: 8px;

        font-size: 15px;
        font-weight: 700;

        text-decoration: none;
    }

    .mobile-login-btn {
        background: #ffffff;
        border: 1px solid #d7e1ec;
        color: #17324f;
    }

    .mobile-create-btn {
        background: #ffffff;
        border: 1px solid #0e7ef2;
        color: #0e7ef2;
    }

    .mobile-post-job-btn {
        background: #0e7ef2;
        border: 1px solid #0e7ef2;
        color: #ffffff;
    }


    /* Logout */

    .mobile-logout-form {
        width: 100%;
        margin: 0;
    }

    .mobile-logout-btn {
        width: 100%;
        min-height: 48px;

        padding: 10px 16px;

        background: #ffffff;

        border: 1px solid #f0c5c9;
        border-radius: 8px;

        color: #dc3545;

        font-family: inherit;
        font-size: 15px;
        font-weight: 700;

        cursor: pointer;
    }

    .mobile-logout-btn:hover {
        background: #fff5f5;
    }
}


@media (min-width: 992px) {

    .mobile-menu-toggle,
    .mobile-navigation {
        display: none !important;
    }
}

/* =========================================================
   JOBSLELO HEADER FINAL FIX
========================================================= */


/* =========================================================
   ACCOUNT DROPDOWN
========================================================= */

.account-menu {
    position: relative !important;
}

#accountDropdown {
    display: none;
}

#accountMenu.open #accountDropdown {
    display: block !important;
}

#accountMenu.open .account-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 992px) {

    #mobileMenuToggle {
        display: none !important;
    }

    #mobileNavigation {
        display: none !important;
    }

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 991px) {

    .main-navigation,
    .header-actions {
        display: none !important;
    }


    /* Hamburger */

    #mobileMenuToggle {
        display: flex !important;
        align-items: center;
        justify-content: center;

        width: 46px;
        height: 46px;

        padding: 0;

        border: 0;
        background: transparent;

        cursor: pointer;
    }


    #mobileMenuToggle .menu-bars {
        display: flex;
        flex-direction: column;
        gap: 5px;

        width: 25px;
    }


    #mobileMenuToggle .menu-bars span {
        display: block;

        width: 100%;
        height: 2px;

        background: #0b213a;

        border-radius: 5px;

        transition:
            transform .2s ease,
            opacity .2s ease;
    }


    /* Hamburger animation */

    #mobileMenuToggle.open .menu-bars span:nth-child(1),
    #mobileMenuToggle.is-active .menu-bars span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    #mobileMenuToggle.open .menu-bars span:nth-child(2),
    #mobileMenuToggle.is-active .menu-bars span:nth-child(2) {
        opacity: 0;
    }

    #mobileMenuToggle.open .menu-bars span:nth-child(3),
    #mobileMenuToggle.is-active .menu-bars span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* Mobile menu CLOSED */

    #mobileNavigation {
        display: none !important;

        width: 100%;

        background: #ffffff;

        border-top: 1px solid #e5edf5;

        box-shadow:
            0 14px 30px rgba(8, 27, 52, .08);

        position: relative;
        z-index: 9998;
    }


    /* Mobile menu OPEN */

    #mobileNavigation.open,
    #mobileNavigation.is-open {
        display: block !important;
    }


    #mobileNavigation .mobile-navigation-inner {
        width: 100%;
        max-width: 100%;

        padding: 15px 20px 22px;
    }


    #mobileNavigation .mobile-nav-links {
        display: flex;
        flex-direction: column;

        width: 100%;
    }


    #mobileNavigation .mobile-nav-links a {
        display: block;

        width: 100%;

        padding: 13px 4px;

        color: #17324f;

        font-size: 15px;
        font-weight: 600;

        text-decoration: none;

        border-bottom: 1px solid #edf2f7;
    }


    #mobileNavigation .mobile-nav-links a.active {
        color: #0e7ef2;
    }


    #mobileNavigation .mobile-nav-actions {
        display: flex;
        flex-direction: column;

        gap: 10px;

        margin-top: 15px;
    }


    #mobileNavigation .mobile-nav-actions a,
    #mobileNavigation .mobile-nav-actions button {
        width: 100%;

        min-height: 46px;

        display: flex;
        align-items: center;
        justify-content: center;

        text-align: center;
    }


    .mobile-logout-form {
        width: 100%;
        margin: 0;
    }

}