/* =============================================================================
   STF Careers — Application Received Modal Styles
   File: admissions-modal-careers.css

   Visually identical to admissions-modal.css — same colours, spacing,
   typography and animations. Only the ID prefixes differ (stf-careers-)
   to avoid conflict with the admissions modal on other pages.

   STRUCTURE:
   #stf-careers-modal-overlay          ← full-screen dark backdrop
     └── #stf-careers-modal-box        ← the modal card
           ├── #stf-careers-modal-dismiss      ← × close button
           ├── #stf-careers-modal-icon         ← circular icon
           ├── #stf-careers-modal-school       ← eyebrow label
           ├── #stf-careers-modal-heading      ← "Application Received, [Name]!"
           │     └── #stf-careers-modal-name   ← name span
           ├── #stf-careers-modal-body         ← confirmation paragraph
           └── #stf-careers-modal-close        ← Done button
============================================================================= */


/* ── Overlay ─────────────────────────────────────────────────────────────────*/

#stf-careers-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 14, 26, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: "DM Sans", sans-serif;
}

#stf-careers-modal-overlay.stf-careers-visible {
    display: flex;
    animation: stfCareersOverlayIn 0.2s ease;
}

@keyframes stfCareersOverlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/* ── Modal card ──────────────────────────────────────────────────────────────*/

#stf-careers-modal-box {
    background: #f7f9f7;
    border-radius: 4px;
    border-left: 0px solid #018fff;
    padding: 48px 44px 44px;
    max-width: 500px;
    width: 100%;
    text-align: left;
    box-shadow:
        0 2px 8px rgba(0, 14, 26, 0.08),
        0 24px 64px rgba(0, 14, 26, 0.16);
    position: relative;
    animation: stfCareersSlideUp 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes stfCareersSlideUp {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}


/* ── × Dismiss button ────────────────────────────────────────────────────────*/

#stf-careers-modal-dismiss {
    position: absolute;
    top: 18px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #cccccc;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    font-family: 'DM Sans';
    font-weight: 200;
    opacity: 0.75;
    transition: opacity 0.15s;
}

#stf-careers-modal-dismiss:hover {
    opacity: 1;
}


/* ── Icon circle ─────────────────────────────────────────────────────────────
   Green — matches admissions modal icon colour                              */

#stf-careers-modal-icon {
    width: 56px;
    height: 56px;
    background: rgba(31, 193, 108, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 24px;
}

#stf-careers-modal-icon svg {
    width: 28px;
    height: 28px;
}

#stf-careers-modal-icon .stf-careers-icon-circle {
    fill: #1fc16c;
    opacity: 0.15;
}

#stf-careers-modal-icon .stf-careers-icon-check {
    stroke: #1fc16c;
}


/* ── Eyebrow label ───────────────────────────────────────────────────────────*/

#stf-careers-modal-school {
    font-family: "DM Sans";
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #018fff;
    margin: 0 0 10px;
}


/* ── Main heading ────────────────────────────────────────────────────────────*/

#stf-careers-modal-heading {
    font-family: "DM Sans";
    font-size: 28px;
    font-weight: 700;
    color: #000e1a;
    margin: 0 0 14px;
    line-height: 1.2;
    letter-spacing: -1px;
}

#stf-careers-modal-name {
    color: #018fff;
}


/* ── Body paragraph ──────────────────────────────────────────────────────────*/

#stf-careers-modal-body {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: rgba(0, 14, 26, 0.7);
    line-height: 1.5;
    margin: 0 0 26px;
}

#stf-careers-modal-body::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #e2e2e2;
    margin: 36px 0 0;
}


/* ── Done button ─────────────────────────────────────────────────────────────
   Orange — matches admissions Done button                                   */

#stf-careers-modal-close {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fe7101;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.2px;
    transition: background 0.2s, transform 0.15s;
}

#stf-careers-modal-close:hover {
    background: #1fc16c;
    transform: translateY(-1px);
}

#stf-careers-modal-close:active {
    transform: translateY(0);
}


/* ── Mobile ──────────────────────────────────────────────────────────────────*/

@media (max-width: 560px) {
    #stf-careers-modal-box {
        padding: 40px 28px 36px;
        border-radius: 4px;
    }

    #stf-careers-modal-heading {
        font-size: 24px;
    }

    #stf-careers-modal-body {
        font-size: 14px;
    }

    #stf-careers-modal-close {
        width: 100%;
        justify-content: center;
    }
}