:root {
    --ink: #172033;
    --muted: #657085;
    --line: #dfe5ee;
    --paper: #ffffff;
    --soft: #f4f7fb;
    --navy: #10233f;
    --navy-2: #18365f;
    --gold: #d69b2d;
    --gold-2: #f1c466;
    --green: #18a94f;
    --green-2: #087f37;
    --red: #e84f40;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

.topbar {
    background: rgba(16, 35, 63, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 12px 0;
    backdrop-filter: blur(18px);
}

.brand {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand:hover {
    color: #fff;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: var(--navy);
    flex: 0 0 auto;
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.1;
}

.brand small {
    color: rgba(255, 255, 255, .68);
    margin-top: 4px;
}

.hero {
    color: #fff;
    background:
        linear-gradient(110deg, rgba(16, 35, 63, .98) 0%, rgba(16, 35, 63, .88) 48%, rgba(214, 155, 45, .78) 100%),
        url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.hero-inner {
    min-height: 360px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: end;
    gap: 28px;
    padding-top: 56px;
    padding-bottom: 34px;
}

.hero-copy {
    max-width: 720px;
    padding-bottom: 18px;
}

.eyebrow {
    color: var(--gold-2);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: .78rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4.7rem);
    line-height: .98;
    margin: 12px 0 18px;
    font-weight: 900;
}

.hero p {
    color: rgba(255, 255, 255, .82);
    font-size: 1.14rem;
    max-width: 600px;
}

.hero-cta {
    margin-top: 8px;
    padding: 12px 18px;
}

.search-panel,
.side-panel,
.job-card,
.empty-state,
.admin-form,
.login-card,
.seeker-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 18px 50px rgba(23, 32, 51, .08);
}

.search-panel {
    color: var(--ink);
    padding: 18px;
}

.search-panel label {
    font-weight: 800;
    color: var(--navy);
    margin: 8px 0 6px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    border: 0;
    color: var(--navy);
    font-weight: 900;
}

.btn-gold:hover {
    color: var(--navy);
    filter: brightness(.98);
}

.feed-wrap {
    padding: 28px 0 58px;
}

.feed-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 720px);
    gap: 22px;
    align-items: start;
    justify-content: center;
}

.side-panel {
    padding: 20px;
    position: sticky;
    top: 88px;
}

.side-panel h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 900;
}

.side-panel p {
    color: var(--muted);
}

.metric {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
    margin: 16px 0;
}

.metric strong {
    display: block;
    font-size: 2.1rem;
    line-height: 1;
}

.metric span {
    color: var(--muted);
    font-weight: 700;
}

.whatsapp-community {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 800;
}

.feed {
    display: grid;
    gap: 16px;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.job-card {
    overflow: hidden;
    padding: 18px;
    touch-action: pan-y;
}

.job-head {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold-2);
    font-weight: 900;
}

.job-head h2 {
    font-size: 1.18rem;
    margin: 0;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.job-head p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: .94rem;
}

.featured {
    background: #fff4d9;
    color: #8a5b00;
    border: 1px solid #f5d98b;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    font-size: .75rem;
}

.job-text {
    color: #28344a;
    font-size: 1rem;
    margin: 16px 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.job-image {
    width: 100%;
    height: clamp(320px, 58vw, 520px);
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #eef2f7;
    display: block;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.job-details span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--soft);
    color: var(--navy);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 10px;
    font-weight: 800;
    font-size: .9rem;
}

.action-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
    gap: 10px;
}

.btn-whatsapp,
.btn-call {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-weight: 950;
}

.btn-whatsapp {
    color: #fff;
    background: linear-gradient(135deg, var(--green), var(--green-2));
    box-shadow: 0 12px 26px rgba(24, 169, 79, .28);
}

.btn-whatsapp:hover {
    color: #fff;
}

.btn-call {
    color: var(--navy);
    border: 1px solid var(--line);
    background: #fff;
}

.btn-disabled-contact {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    color: #7a8497;
    background: #eef2f7;
    border: 1px solid var(--line);
    font-weight: 900;
    pointer-events: none;
}

.empty-state {
    text-align: center;
    padding: 46px 24px;
}

.empty-state i {
    color: var(--gold);
    font-size: 2.5rem;
}

.empty-state h2 {
    font-size: 1.25rem;
    font-weight: 900;
    margin-top: 12px;
}

.admin-body {
    min-height: 100vh;
    background:
        linear-gradient(140deg, rgba(16, 35, 63, .08), rgba(214, 155, 45, .09)),
        var(--soft);
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.login-card {
    width: min(100%, 430px);
    padding: 28px;
}

.login-card h1,
.section-title h1 {
    color: var(--navy);
    font-weight: 950;
}

.login-card p {
    color: var(--muted);
}

.admin-shell {
    padding-top: 34px;
    padding-bottom: 58px;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .75fr);
    gap: 18px;
    align-items: start;
}

.admin-form {
    padding: 24px;
}

.section-title span {
    color: var(--gold);
    font-weight: 950;
    text-transform: uppercase;
    font-size: .78rem;
}

.feature-check {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 12px 12px 38px;
    background: var(--soft);
    font-weight: 800;
}

.mini-table {
    margin-top: 18px;
    display: grid;
    gap: 8px;
}

.mini-table div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: var(--soft);
}

.mini-table strong,
.mini-table span {
    display: block;
}

.mini-table span {
    color: var(--muted);
    font-size: .9rem;
}

.seeker-public {
    padding: 42px 0 64px;
    background: #fff;
    border-top: 1px solid var(--line);
}

.seeker-public-grid {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 720px);
    gap: 22px;
    justify-content: center;
    align-items: start;
}

.seeker-copy h2 {
    color: var(--navy);
    font-weight: 950;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1;
    margin: 8px 0 12px;
}

.seeker-copy p {
    color: var(--muted);
    font-size: 1.05rem;
}

.privacy-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--navy);
    background: #fff8e8;
    border: 1px solid #f2d89e;
    border-radius: 8px;
    padding: 12px;
    font-weight: 800;
}

.privacy-note i {
    color: var(--gold);
    font-size: 1.2rem;
}

.seeker-form {
    padding: 20px;
}

.seeker-filter {
    margin-bottom: 16px;
}

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

.seeker-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 16px;
}

.seeker-card h2 {
    color: var(--navy);
    font-size: 1.12rem;
    font-weight: 950;
    margin: 0;
}

.seeker-card p {
    color: var(--muted);
    margin: 2px 0 0;
}

.seeker-description {
    color: var(--ink) !important;
    margin: 12px 0 !important;
    overflow-wrap: anywhere;
}

.seeker-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.seeker-actions .btn {
    min-height: 44px;
    font-weight: 900;
}

.form-control,
.form-select,
.input-group-text {
    border-radius: 8px;
    border-color: var(--line);
}

.input-group .form-control,
.input-group .input-group-text {
    border-radius: 0;
}

.input-group .input-group-text {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.input-group .form-control {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

@media (max-width: 991px) {
    .hero-inner,
    .feed-layout,
    .admin-grid,
    .seeker-public-grid {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        min-height: auto;
    }

    .side-panel {
        position: static;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .topbar {
        padding: 9px 0;
    }

    .brand small {
        display: none;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .hero-inner {
        padding-top: 24px;
        padding-bottom: 18px;
        gap: 16px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.04;
    }

    .hero p {
        font-size: .98rem;
        margin-bottom: 0;
    }

    .search-panel {
        padding: 14px;
    }

    .feed-wrap {
        padding: 12px 0 34px;
    }

    .feed {
        gap: 12px;
    }

    .job-head {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
    }

    .avatar {
        width: 42px;
        height: 42px;
        font-size: .82rem;
    }

    .job-head h2 {
        font-size: 1.05rem;
        line-height: 1.18;
    }

    .job-head p {
        font-size: .86rem;
    }

    .featured {
        grid-column: 2;
        width: fit-content;
        padding: 5px 9px;
    }

    .job-text {
        font-size: .96rem;
        margin: 14px 0;
    }

    .job-image {
        height: clamp(260px, 92vw, 430px);
    }

    .job-details {
        margin: 14px 0;
        gap: 7px;
    }

    .job-details span {
        font-size: .82rem;
        padding: 7px 9px;
    }

    .action-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .btn-whatsapp,
    .btn-call,
    .btn-disabled-contact {
        min-height: 52px;
        width: 100%;
        font-size: .96rem;
    }

    .job-card,
    .admin-form,
    .login-card,
    .seeker-form {
        padding: 16px;
    }

    .seeker-public {
        padding: 28px 0 44px;
    }

    .seeker-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .seeker-actions .btn {
        width: 100%;
    }
}

