/* ============================================================
   Abhito LLC — Careers Site Stylesheet
   /careers/assets/careers-style.css
   ============================================================ */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    color: #1a1a2e;
    background: #f0f4f8;
    min-height: 100vh;
}

/* ============================================================
   NAV
   ============================================================ */
.car-nav {
    background: #1a3a6b;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #0ea5a0;
    box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.car-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}
.car-nav-logo  { height: 36px; }
.car-nav-name  { display: none; }  /* removed per requirement */
.car-nav-sub   { display: none; }  /* removed per requirement */
.car-nav-spacer { flex: 1; }
.car-nav-link {
    font-size: .88rem;
    color: #c8d8ee;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    transition: background .15s, color .15s;
    border: 1px solid rgba(200,216,238,.25);
}
.car-nav-link:hover {
    background: rgba(14,165,160,.15);
    color: #fff;
    border-color: #0ea5a0;
}

/* ============================================================
   HERO / SEARCH
   ============================================================ */
.car-hero {
    background: #fff;
    border-bottom: 1px solid #dde3ec;
    padding: 48px 32px 36px;
    text-align: center;
}
.car-hero h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a3a6b;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 6px;
}
.car-hero p {
    color: #5a7090;
    font-size: .9rem;
    margin-bottom: 20px;
}
.car-search-form {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}
.car-search-input {
    flex: 1.5;
    min-width: 180px;
    padding: 11px 14px;
    border-radius: 7px;
    border: 1.5px solid #c5d2e0;
    background: #f8fafc;
    font-size: .88rem;
    color: #1a3a6b;
    transition: border-color .15s, box-shadow .15s;
}
.car-search-input:focus {
    outline: none;
    border-color: #0ea5a0;
    box-shadow: 0 0 0 3px rgba(14,165,160,.13);
    background: #fff;
}
.car-select {
    padding: 11px 10px;
    border-radius: 7px;
    border: 1.5px solid #c5d2e0;
    background: #f8fafc;
    font-size: .88rem;
    color: #1a3a6b;
    min-width: 130px;
    cursor: pointer;
    transition: border-color .15s;
}
.car-select:focus {
    outline: none;
    border-color: #0ea5a0;
    box-shadow: 0 0 0 3px rgba(14,165,160,.13);
}

/* ============================================================
   JOB LIST BODY
   ============================================================ */
.car-body {
    max-width: 900px;
    margin: 28px auto;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.car-results-meta {
    font-size: .82rem;
    color: #6b84a0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.car-job-list { display: flex; flex-direction: column; gap: 12px; }

.car-job-card {
    background: #fff;
    border-radius: 10px;
    border: 1.5px solid #dde3ec;
    border-left: 5px solid #0ea5a0;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: box-shadow .15s, border-color .15s;
    box-shadow: 0 1px 4px rgba(26,58,107,.05);
}
.car-job-card:hover {
    box-shadow: 0 6px 20px rgba(14,165,160,.13);
    border-color: #0ea5a0;
}
.car-job-main { flex: 1; }

.car-job-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #1a3a6b;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}
.car-job-title:hover { color: #0ea5a0; }

.car-job-meta {
    font-size: .82rem;
    color: #7a92aa;
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
}
.car-job-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.car-chip {
    font-size: .75rem;
    padding: 3px 10px;
    border-radius: 5px;
    font-weight: 700;
}
.car-chip-type  { background: #e0f2fe; color: #0369a1; }
.car-chip-visa  { background: #f3e8ff; color: #6b21a8; }
.car-chip-clear { background: #fef9c3; color: #854d0e; }

.car-empty {
    background: #fff;
    border-radius: 10px;
    border: 1.5px solid #dde3ec;
    padding: 48px;
    text-align: center;
    color: #7a92aa;
    font-size: 1rem;
}

/* ============================================================
   APPLY PAGE
   ============================================================ */
.car-apply-wrap {
    max-width: 760px;
    margin: 28px auto;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.car-apply-job-head {
    background: #fff;
    border-radius: 10px;
    border: 1.5px solid #dde3ec;
    border-left: 5px solid #0ea5a0;
    padding: 18px 24px;
}
.car-apply-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a3a6b;
    margin-bottom: 5px;
}
.car-apply-meta { font-size: .88rem; color: #5a7090; }

.car-card {
    background: #fff;
    border-radius: 10px;
    border: 1.5px solid #dde3ec;
    padding: 28px 32px;
    box-shadow: 0 1px 4px rgba(26,58,107,.05);
}
.car-card-center { text-align: center; }
.car-card-title {
    font-size: .82rem;
    font-weight: 700;
    color: #0ea5a0;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}
.car-card-sub {
    font-size: .92rem;
    color: #5a7090;
    margin-bottom: 22px;
    line-height: 1.65;
}
.car-sent-icon { font-size: 2.8rem; margin-bottom: 14px; }

.car-form { display: flex; flex-direction: column; gap: 16px; }
.car-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.car-form-full { grid-column: 1 / -1; }
.car-section-divider {
    grid-column: 1 / -1;
    font-size: .78rem;
    font-weight: 700;
    color: #0ea5a0;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding-top: 14px;
    border-top: 1.5px solid #edf2f7;
    margin-top: 6px;
}
.car-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 14px;
    border-top: 1.5px solid #edf2f7;
    margin-top: 8px;
}
.car-req { color: #dc2626; }
.car-hint { font-size: .75rem; color: #7a92aa; font-weight: 400; text-transform: none; letter-spacing: 0; }
.car-file-label { font-size: .82rem; margin-top: 6px; color: #5a7090; }

/* ============================================================
   SHARED FORM ELEMENTS
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label {
    font-size: .78rem;
    font-weight: 700;
    color: #4a6080;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 13px;
    border-radius: 7px;
    border: 1.5px solid #c5d2e0;
    background: #f8fafc;
    font-size: .95rem;
    color: #1a3a6b;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0ea5a0;
    box-shadow: 0 0 0 3px rgba(14,165,160,.12);
    background: #fff;
}
.form-group textarea { resize: vertical; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    background: #0ea5a0;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 7px;
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background .15s, box-shadow .15s;
    box-shadow: 0 2px 6px rgba(14,165,160,.25);
}
.btn-primary:hover { background: #0c8a86; box-shadow: 0 4px 12px rgba(14,165,160,.35); }

.btn-apply {
    background: #fff;
    color: #0ea5a0;
    border: 1.5px solid #0ea5a0;
    padding: 9px 20px;
    border-radius: 7px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    transition: background .15s, box-shadow .15s;
}
.btn-apply:hover { background: #f0fdfb; box-shadow: 0 2px 8px rgba(14,165,160,.18); }

.btn-ghost {
    background: transparent;
    color: #5a7090;
    border: 1.5px solid #c5d2e0;
    padding: 9px 18px;
    border-radius: 7px;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background .15s;
}
.btn-ghost:hover { background: #f0f4f8; }

/* ============================================================
   UPLOAD ZONE
   ============================================================ */
.upload-zone {
    border: 2px dashed #c5d2e0;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    background: #f8fafc;
    color: #7a92aa;
    font-size: .9rem;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
}
.upload-zone:hover { border-color: #0ea5a0; background: #f0fdfb; color: #0ea5a0; }
.upload-zone-icon  { font-size: 1.6rem; display: block; margin-bottom: 8px; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert { padding: 12px 18px; border-radius: 7px; font-size: .9rem; font-weight: 500; line-height: 1.5; }
.alert-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid #dc2626; }
.alert-success { background: #dcfce7; color: #166534; border-left: 4px solid #16a34a; }

/* ============================================================
   JOB DETAIL PAGE
   ============================================================ */
.job-detail-wrap {
    max-width: 860px;
    margin: 28px auto;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.job-body  { display: flex; flex-direction: column; gap: 18px; }
.job-card {
    background: #fff;
    border-radius: 10px;
    border: 1.5px solid #dde3ec;
    padding: 24px 30px;
    box-shadow: 0 1px 4px rgba(26,58,107,.05);
}
.job-title-bar {
    border-left: 5px solid #0ea5a0;
    padding-left: 18px;
}
.job-h1 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a3a6b;
    margin-bottom: 8px;
}
.job-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: .88rem;
    color: #5a7090;
    margin-bottom: 16px;
}
.job-meta-row span { display: flex; align-items: center; gap: 5px; }
.job-description {
    font-size: .98rem;
    line-height: 1.9;
    color: #2d3f55;
    white-space: pre-wrap;
}
.sidebar-card-title {
    font-size: .75rem;
    font-weight: 700;
    color: #0ea5a0;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1.5px solid #edf2f7;
}
.sidebar-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}
.sidebar-label {
    font-size: .72rem;
    font-weight: 700;
    color: #7a92aa;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.sidebar-value { font-size: .92rem; color: #1a3a6b; }
.chip-group { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.car-pagination { display:flex; gap:6px; justify-content:center; margin-top:24px; flex-wrap:wrap; }
.car-page-btn {
    padding: 7px 14px;
    border: 1.5px solid #dde3ec;
    border-radius: 7px;
    font-size: .88rem;
    color: #1a3a6b;
    text-decoration: none;
    background: #fff;
    font-weight: 600;
    transition: border-color .15s, color .15s;
}
.car-page-btn:hover { border-color: #0ea5a0; color: #0ea5a0; }
.car-page-active { background: #0ea5a0; color: #fff !important; border-color: #0ea5a0; }

/* ============================================================
   DONE PAGE
   ============================================================ */
.done-wrap {
    max-width: 600px;
    margin: 52px auto;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.done-card {
    background: #fff;
    border-radius: 12px;
    border: 1.5px solid #dde3ec;
    padding: 44px 40px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(26,58,107,.07);
}
.done-icon  { font-size: 3.4rem; display: block; margin-bottom: 18px; }
.done-title { font-size: 1.4rem; font-weight: 700; color: #1a3a6b; margin-bottom: 10px; }
.done-sub   { font-size: .95rem; color: #5a7090; line-height: 1.75; max-width: 420px; margin: 0 auto 26px; }
.done-job-pill {
    display: inline-block;
    background: #f0fdfb;
    border: 1.5px solid #0ea5a0;
    border-radius: 7px;
    padding: 9px 20px;
    font-size: .88rem;
    font-weight: 600;
    color: #0e4f4d;
    margin-bottom: 26px;
}
.done-steps {
    text-align: left;
    background: #f8fafc;
    border-radius: 9px;
    padding: 18px 22px;
    margin-bottom: 26px;
}
.done-steps-title {
    font-size: .75rem;
    font-weight: 700;
    color: #7a92aa;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}
.done-step { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; font-size: .9rem; color: #2d3f55; }
.done-step:last-child { margin-bottom: 0; }
.done-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0ea5a0;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.done-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.other-jobs-title {
    font-size: .75rem;
    font-weight: 700;
    color: #5a7090;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}
.other-job-card {
    background: #fff;
    border: 1.5px solid #dde3ec;
    border-left: 4px solid #0ea5a0;
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: box-shadow .12s;
}
.other-job-card:hover { box-shadow: 0 4px 12px rgba(14,165,160,.13); }
.other-job-title { font-size: .95rem; font-weight: 700; color: #1a3a6b; }
.other-job-meta  { font-size: .78rem; color: #7a92aa; margin-top: 3px; }
.other-job-arrow { margin-left: auto; color: #0ea5a0; font-size: 1.1rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
    .car-nav { padding: 0 20px; }
    .car-hero { padding: 32px 20px 24px; }
    .car-hero h1 { font-size: 1.5rem; }
    .car-body { padding: 0 16px; }
    .car-form-grid { grid-template-columns: 1fr; }
    .job-detail-wrap { padding: 0 16px; }
    .car-apply-wrap { padding: 0 16px; }
}

/* ============================================================
   BOXED NAV (job.php / apply.php / apply-done.php)
   ============================================================ */
.car-nav-outer {
    background: #f0f4f8;
    padding: 20px 28px 0;
}
.car-nav-boxed {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #1a3a6b;
    border-radius: 10px;
    height: 64px;
    padding: 0 24px;
    position: relative;
    top: auto;
    box-shadow: 0 2px 12px rgba(26,58,107,.10);
}
/* Override sticky on boxed nav */
nav.car-nav-boxed {
    position: relative;
}
.car-nav-link-boxed {
    font-size: .88rem;
    color: #1a3a6b;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1.5px solid #1a3a6b;
    transition: background .15s, color .15s;
}
.car-nav-link-boxed:hover {
    background: #1a3a6b;
    color: #fff;
}

/* ============================================================
   SINGLE CARD LAYOUT (job.php / apply.php / apply-done.php)
   ============================================================ */
.car-page-wrap {
    background: var(--surface-0, #f0f4f8);
    min-height: 100vh;
    padding: 32px 24px;
}
.car-single-card {
    max-width: 1020px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #1a3a6b;
    border-radius: 14px;
    overflow: hidden;
}
.car-single-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    border-bottom: 2px solid #1a3a6b;
    background: #f0f4fa;
}
.car-single-nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.car-single-nav-logo img { height: 48px; }
.car-single-nav-back {
    font-size: .85rem;
    color: #1a3a6b;
    border: 1.5px solid #1a3a6b;
    border-radius: 6px;
    padding: 6px 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.car-single-nav-back:hover { background: #1a3a6b; color: #fff; }
.car-single-body { padding: 30px 36px; }
.car-single-divider {
    border: none;
    border-top: 1.5px solid #e2e8f0;
    margin: 24px 0;
}
