/* ========================================= */
/* CAREERS PAGE */
/* ========================================= */

.careers-page {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

/* ========================================= */
/* HERO */
/* ========================================= */
.careers-hero-section {
    padding: 34px 0 26px;
    background:
        radial-gradient(circle at 10% 15%, rgba(255, 122, 0, 0.08), transparent 24%),
        radial-gradient(circle at 88% 16%, rgba(37, 99, 235, 0.10), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.careers-hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 26px;
    align-items: stretch;
}

.careers-hero-copy-panel,
.careers-hero-image-panel {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
}

.careers-hero-copy-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(30, 58, 138, 0.08);
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.careers-hero-kicker {
    display: inline-block;
    width: fit-content;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1E3A8A;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.careers-hero-copy-panel h1 {
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.06;
    color: #1F2937;
    margin-bottom: 18px;
    font-weight: 900;
}

.careers-hero-copy-panel p {
    font-size: 18px;
    line-height: 1.85;
    color: #4b5563;
    max-width: 760px;
}

.careers-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.careers-hero-image-panel {
    position: relative;
    min-height: 100%;
    background: #dfe7f7;
    border: 1px solid rgba(30, 58, 138, 0.08);
}

.careers-hero-image-panel img,
.careers-hero-placeholder {
    width: 100%;
    height: 100%;
    min-height: 540px;
    display: block;
}

.careers-hero-image-panel img {
    object-fit: cover;
    object-position: center center;
}

.careers-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 122, 0, 0.08)),
        #f8fbff;
    color: #1E3A8A;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    padding: 24px;
}

.careers-hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8, 19, 58, 0.02) 0%,
        rgba(8, 19, 58, 0.06) 100%
    );
    pointer-events: none;
}

/* ========================================= */
/* SECTION HEAD */
/* ========================================= */
.careers-section-head {
    max-width: 760px;
    margin: 0 auto 26px;
    text-align: center;
}

.section-kicker {
    display: inline-block;
    width: fit-content;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1E3A8A;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.careers-section-head h2,
.careers-panel-head h2 {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.12;
    color: #1F2937;
    margin-bottom: 14px;
    font-weight: 900;
}

.careers-section-head p,
.careers-panel-head p {
    font-size: 17px;
    line-height: 1.85;
    color: #4b5563;
}

/* ========================================= */
/* JOB SELECTOR SECTION */
/* ========================================= */
.careers-jobs-section {
    padding: 6px 0 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.careers-jobs-wrapper {
    max-width: 980px;
    margin: 0 auto;
}

.career-job-selector-box {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid rgba(30, 58, 138, 0.12);
    border-radius: 30px;
    padding: 32px;
    box-shadow:
        0 22px 46px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.career-job-selector-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 20px;
    align-items: end;
}

.career-job-selector-action {
    display: flex;
}

.btn-job-continue {
    width: 100%;
    min-height: 58px;
    box-shadow: 0 16px 30px rgba(255, 122, 0, 0.26);
}

.career-job-preview {
    margin-top: 24px;
    padding: 22px 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid rgba(30, 58, 138, 0.10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.career-job-preview h3 {
    font-size: 24px;
    line-height: 1.35;
    color: #1f2b3d;
    margin-bottom: 10px;
    font-weight: 800;
}

.career-job-preview p {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin: 0;
}

/* ========================================= */
/* STATUS */
/* ========================================= */
.careers-status-section {
    padding: 8px 0 0;
}

.careers-status-box {
    border-radius: 22px;
    padding: 22px 24px;
    border: 1px solid transparent;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.careers-status-box h2 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.careers-status-box p {
    font-size: 15px;
    line-height: 1.75;
}

.careers-status-success {
    background: linear-gradient(180deg, #ecfdf3 0%, #f8fffb 100%);
    border-color: rgba(34, 197, 94, 0.18);
    color: #166534;
}

.careers-status-error {
    background: linear-gradient(180deg, #fff4f4 0%, #fffafa 100%);
    border-color: rgba(239, 68, 68, 0.18);
    color: #991b1b;
}

/* ========================================= */
/* FORM SECTION */
/* ========================================= */
.careers-form-section {
    background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
}

.careers-form-wrapper {
    max-width: 980px;
    margin: 0 auto;
}

.careers-form-panel {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid rgba(30, 58, 138, 0.12);
    border-radius: 30px;
    padding: 38px;
    box-shadow:
        0 22px 46px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    position: relative;
}

.careers-form-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.16),
        rgba(255, 122, 0, 0.12)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.careers-panel-head {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
}

.selected-job-display-box {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(30, 58, 138, 0.10);
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.selected-job-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #1E3A8A;
}

.selected-job-display-box strong {
    display: block;
    font-size: 20px;
    line-height: 1.45;
    color: #1f2b3d;
    font-weight: 800;
}

.premium-careers-form {
    position: relative;
    z-index: 1;
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-size: 14px;
    font-weight: 800;
    color: #1f2b3d;
    margin-bottom: 10px;
}

.form-field input,
.form-field select {
    width: 100%;
    border: 1px solid rgba(30, 58, 138, 0.12);
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 16px;
    font-size: 15px;
    color: #1F2937;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

.form-field input::placeholder {
    color: #6b7280;
}

.form-field input:focus,
.form-field select:focus {
    border-color: rgba(37, 99, 235, 0.52);
    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.08),
        0 10px 24px rgba(37, 99, 235, 0.06),
        inset 0 1px 2px rgba(15, 23, 42, 0.02);
    transform: translateY(-1px);
}

.career-upload-note {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.6;
    color: #6b7280;
}

.form-submit-wrap {
    margin-top: 26px;
}

.btn-submit-careers {
    min-width: 250px;
    min-height: 58px;
    font-size: 15px;
    box-shadow: 0 16px 30px rgba(255, 122, 0, 0.26);
}

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */
@media (max-width: 1200px) {
    .careers-hero-grid {
        grid-template-columns: 1fr;
    }

    .careers-hero-image-panel img,
    .careers-hero-placeholder {
        min-height: 440px;
    }
}

@media (max-width: 767px) {
    .careers-hero-section {
        padding: 26px 0 18px;
    }

    .careers-hero-copy-panel,
    .careers-hero-image-panel,
    .careers-form-panel,
    .careers-status-box,
    .career-job-selector-box {
        border-radius: 24px;
    }

    .careers-hero-copy-panel,
    .careers-form-panel,
    .careers-status-box,
    .career-job-selector-box {
        padding: 24px 20px;
    }

    .careers-form-panel::before {
        border-radius: 24px;
    }

    .careers-hero-copy-panel h1,
    .careers-section-head h2,
    .careers-panel-head h2 {
        font-size: 28px;
    }

    .careers-hero-copy-panel p,
    .careers-section-head p,
    .careers-panel-head p,
    .careers-status-box p,
    .career-job-preview p {
        font-size: 15px;
        line-height: 1.75;
    }

    .careers-hero-actions {
        width: 100%;
    }

    .careers-hero-actions .btn,
    .btn-submit-careers,
    .btn-job-continue {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .form-grid,
    .career-job-selector-grid {
        grid-template-columns: 1fr;
    }

    .careers-hero-image-panel img,
    .careers-hero-placeholder {
        min-height: 360px;
    }

    .careers-status-box h2 {
        font-size: 22px;
    }

    .selected-job-display-box strong,
    .career-job-preview h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .careers-hero-copy-panel,
    .careers-form-panel,
    .careers-status-box,
    .career-job-selector-box {
        padding: 22px 18px;
    }

    .careers-hero-copy-panel h1,
    .careers-section-head h2,
    .careers-panel-head h2 {
        font-size: 25px;
    }

    .form-field input,
    .form-field select {
        padding: 14px 14px;
        border-radius: 16px;
    }

    .careers-hero-image-panel img,
    .careers-hero-placeholder {
        min-height: 320px;
    }
}