/* ============================================================
   Careers (resources/views/careers.blade.php) — mobile-only styles.
   Page content scoped under .lh-car-mb.
   The Apply Now bottom-sheet modal lives at the body level so it
   can overlay correctly; its own styles are scoped under
   .lh-car-apply-modal.
   ============================================================ */

.lh-car-mb {
    background-color: #12203B;
    color: #fff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.lh-car-mb h1,
.lh-car-mb h2,
.lh-car-mb h3 {
    font-family: 'Big Caslon', 'Times New Roman', serif;
    margin: 0;
}

.lh-car-mb [hidden] { display: none !important; }

/* Hero */
.lh-car-mb .c-hero {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.lh-car-mb .c-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.lh-car-mb .c-hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 50px;
    background: linear-gradient(180deg, rgba(18,32,59,0) 0%, #12203B 100%);
    pointer-events: none;
}

/* Compact header */
.lh-car-mb .c-header {
    text-align: center;
    padding: 22px 20px 14px;
}
.lh-car-mb .c-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}
.lh-car-mb .c-header p {
    font-size: 14px;
    line-height: 1.55;
    opacity: .9;
    margin: 0 auto;
    max-width: 360px;
}

/* Section base */
.lh-car-mb .c-section { padding: 22px 18px; }
.lh-car-mb .c-section.alt { background-color: #182A4C; }
.lh-car-mb .c-section h2 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 14px;
}

/* Primary Apply CTA */
.lh-car-mb .apply-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #284b65;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 16px;
    border: 1px solid #fff;
    border-radius: 10px;
    font-family: 'Big Caslon', 'Times New Roman', serif;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.lh-car-mb .apply-cta i { margin-right: 10px; }

/* Job Opportunities checklist */
.lh-car-mb .opp-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
}
.lh-car-mb .opp-list li {
    position: relative;
    padding: 6px 0 6px 22px;
    font-size: 14px;
    line-height: 1.4;
}
.lh-car-mb .opp-list li::before {
    content: "\2713";
    position: absolute;
    left: 2px;
    top: 6px;
    font-weight: 700;
    opacity: .85;
}

/* Benefits cards */
.lh-car-mb .benefits {
    display: grid;
    gap: 14px;
    margin-top: 8px;
}
.lh-car-mb .benefit {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
}
.lh-car-mb .benefit .icon-wrap {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.lh-car-mb .benefit .icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.lh-car-mb .benefit h3 {
    font-size: 17px;
    margin: 0 0 4px;
}
.lh-car-mb .benefit p {
    font-size: 13px;
    line-height: 1.45;
    opacity: .85;
    margin: 0;
}
.lh-car-mb .benefit .star {
    color: rgba(255,255,255,.65);
    font-size: 11px;
}
.lh-car-mb .benefits-note {
    font-size: 11px;
    opacity: .6;
    text-align: center;
    margin-top: 14px;
    font-style: italic;
}

/* Guiding Principles cards */
.lh-car-mb .principles {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}
.lh-car-mb .principle {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.lh-car-mb .principle .icon-wrap {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}
.lh-car-mb .principle .icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.lh-car-mb .principle h3 {
    font-size: 16px;
    margin: 0 0 4px;
}
.lh-car-mb .principle p {
    font-size: 13px;
    line-height: 1.5;
    opacity: .85;
    margin: 0;
}

/* ============================================================
   Apply Now bottom-sheet modal (.lh-car-apply-modal).
   Lives at body level so it can overlay everything.
   ============================================================ */
.lh-car-apply-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 1080;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.lh-car-apply-modal[hidden] { display: none !important; }
.lh-car-apply-modal .panel {
    background: #12203B;
    color: #fff;
    width: 100%;
    max-width: 540px;
    max-height: 92vh;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 -8px 30px rgba(0,0,0,.55);
    animation: lhCarModalSlideUp .25s ease-out;
    position: relative;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
.lh-car-apply-modal .panel::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,.3);
    border-radius: 2px;
    margin: 8px auto 0;
}
@keyframes lhCarModalSlideUp {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
@media (min-width: 600px) {
    .lh-car-apply-modal { align-items: center; padding: 24px; }
    .lh-car-apply-modal .panel { border-radius: 14px; }
}

.lh-car-apply-modal .head {
    position: sticky;
    top: 0;
    background: #12203B;
    display: flex;
    align-items: center;
    padding: 14px 18px 14px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    z-index: 1;
}
.lh-car-apply-modal .head h2 {
    font-size: 22px;
    font-family: 'Big Caslon', 'Times New Roman', serif;
    margin: 0;
    flex: 1;
}
.lh-car-apply-modal .close {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}

.lh-car-apply-modal .apply-form {
    padding: 18px 18px 24px;
}
.lh-car-apply-modal .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.lh-car-apply-modal .field {
    margin-bottom: 14px;
}
.lh-car-apply-modal .field label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    opacity: .85;
    font-weight: 500;
}
.lh-car-apply-modal .field .req {
    color: #ff8a8a;
    margin-left: 2px;
}
.lh-car-apply-modal input[type="text"],
.lh-car-apply-modal input[type="email"],
.lh-car-apply-modal input[type="tel"],
.lh-car-apply-modal textarea {
    width: 100%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 8px;
    padding: 12px 14px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
}
.lh-car-apply-modal input::placeholder,
.lh-car-apply-modal textarea::placeholder { color: rgba(255,255,255,.5); }
.lh-car-apply-modal textarea { resize: vertical; min-height: 90px; }

/* Interest pill checkboxes */
.lh-car-apply-modal .interest-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.lh-car-apply-modal .interest {
    position: relative;
    cursor: pointer;
}
.lh-car-apply-modal .interest input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.lh-car-apply-modal .interest span {
    display: inline-block;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    transition: background .15s, border-color .15s;
}
.lh-car-apply-modal .interest input:checked + span {
    background: #284b65;
    border-color: #fff;
}

/* File upload styled drop area */
.lh-car-apply-modal .file-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.04);
    border: 1px dashed rgba(255,255,255,.4);
    border-radius: 8px;
    padding: 14px;
    font-size: 14px;
    cursor: pointer;
    color: rgba(255,255,255,.85);
}
.lh-car-apply-modal .file-upload i {
    margin-right: 10px;
    opacity: .7;
    font-size: 18px;
}
.lh-car-apply-modal .file-upload.has-file {
    border-style: solid;
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.6);
    color: #fff;
}

.lh-car-apply-modal .apply-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #284b65;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 14px;
    font-family: 'Big Caslon', 'Times New Roman', serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
}
.lh-car-apply-modal .apply-submit i { margin-right: 10px; }
.lh-car-apply-modal .apply-fineprint {
    text-align: center;
    font-size: 11px;
    opacity: .55;
    margin: 10px 0 0;
    font-style: italic;
}

/* Error / success alerts inside the modal */
.lh-car-apply-modal .alert {
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 12px;
}
.lh-car-apply-modal .alert-danger {
    background: rgba(220, 53, 69, .15);
    border: 1px solid rgba(220, 53, 69, .55);
    color: #ffd6d9;
}
.lh-car-apply-modal .alert-success {
    background: rgba(40, 167, 69, .18);
    border: 1px solid rgba(40, 167, 69, .55);
    color: #d6f1d9;
}

/* When the modal is open, lock body scroll */
body.lh-car-modal-open { overflow: hidden; }
