
/* =========================================================
   FCG CAREERS EXPERIENCE v1.0.0
   ========================================================= */

body.fcg-cx-ready .fcg-careers > .fcg-careers-hero,
body.fcg-cx-ready .fcg-careers > .fcg-career-section,
body.fcg-cx-ready .fcg-careers > .fcg-careers-cta {
    display: none !important;
}

.fcg-cx-shell {
    width: min(1220px, calc(100% - 32px));
    margin: 34px auto 18px;
    color: #f7f1e9;
}

.fcg-cx-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid #4a3a25;
    border-radius: 20px;
    padding: 38px;
    background:
        radial-gradient(circle at 90% 10%, rgba(216,167,85,.14), transparent 28%),
        linear-gradient(145deg, #17140f, #0d0d0c);
}

.fcg-cx-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 26px;
    align-items: end;
}

.fcg-cx-eyebrow {
    color: #d8a755;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.fcg-cx-hero h1 {
    margin: 8px 0 12px;
    color: #fff;
    font-size: clamp(42px, 5vw, 72px);
    line-height: .98;
}

.fcg-cx-hero p {
    max-width: 760px;
    margin: 0;
    color: #c8bfb2;
    font-size: 16px;
    line-height: 1.6;
}

.fcg-cx-hero-side {
    border: 1px solid #3f3427;
    border-radius: 14px;
    padding: 18px;
    background: rgba(10,10,10,.6);
}

.fcg-cx-hero-side strong {
    display: block;
    margin-bottom: 6px;
    color: #e0b463;
    font-size: 14px;
}

.fcg-cx-hero-side span {
    color: #bfb5a8;
    font-size: 12px;
    line-height: 1.45;
}

.fcg-cx-hero-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.fcg-cx-btn {
    appearance: none;
    border: 1px solid #4b3b27;
    border-radius: 9px;
    min-height: 42px;
    padding: 10px 16px;
    background: #11100f;
    color: #f7f1e9;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
}

.fcg-cx-btn.primary {
    border-color: #d8a755;
    background: #d8a755;
    color: #111;
}

.fcg-cx-panel {
    margin-top: 14px;
    border: 1px solid #433525;
    border-radius: 18px;
    padding: 26px;
    background: linear-gradient(145deg,#151310,#0f0f0e);
}

.fcg-cx-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.fcg-cx-panel h2 {
    margin: 4px 0 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.05;
}

.fcg-cx-panel-copy {
    max-width: 520px;
    color: #9f9588;
    font-size: 12px;
    line-height: 1.5;
    text-align: right;
}

.fcg-cx-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
}

.fcg-cx-category {
    appearance: none;
    width: 100%;
    min-height: 132px;
    border: 1px solid #3c3228;
    border-radius: 13px;
    padding: 16px;
    background: #121211;
    color: #eee8df;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, transform .15s ease, background .15s ease;
}

.fcg-cx-category:hover {
    transform: translateY(-2px);
    border-color: #8d6a34;
}

.fcg-cx-category.active {
    border-color: #d8a755;
    background: #19150f;
    box-shadow: 0 0 0 1px rgba(216,167,85,.18) inset;
}

.fcg-cx-category .kicker {
    color: #b58a47;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

.fcg-cx-category .title {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.1;
}

.fcg-cx-category .desc {
    display: block;
    margin-top: 7px;
    color: #9d9386;
    font-size: 11px;
    line-height: 1.4;
}

.fcg-cx-category .count {
    display: inline-block;
    margin-top: 10px;
    color: #d8a755;
    font-size: 10px;
    font-weight: 850;
}

.fcg-cx-openings {
    display: none;
}

.fcg-cx-openings.open {
    display: block;
}

.fcg-cx-openings-toolbar {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 11px;
}

.fcg-cx-search {
    width: 100%;
    box-sizing: border-box;
    min-height: 42px;
    border: 1px solid #41372d;
    border-radius: 9px;
    padding: 10px 12px;
    background: #0d0d0d;
    color: #fff;
}

.fcg-cx-selected-count {
    color: #d8a755;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.fcg-cx-role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 8px;
}

.fcg-cx-role {
    position: relative;
    appearance: none;
    min-height: 56px;
    border: 1px solid #3b3229;
    border-radius: 10px;
    padding: 11px 36px 11px 12px;
    background: #111;
    color: #eee7de;
    cursor: pointer;
    text-align: left;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
}

.fcg-cx-role::after {
    content: "+";
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 1px solid #4b3b27;
    border-radius: 999px;
    color: #d8a755;
    font-weight: 900;
}

.fcg-cx-role.selected {
    border-color: #5c7c53;
    background: #121812;
}

.fcg-cx-role.selected::after {
    content: "✓";
    border-color: #4f7b56;
    color: #8fd19a;
}

.fcg-cx-openings-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid #30281f;
}

.fcg-cx-selected-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fcg-cx-chip {
    border: 1px solid #4b3b27;
    border-radius: 999px;
    padding: 5px 8px;
    background: #0e0e0d;
    color: #d8cdbf;
    font-size: 9px;
    font-weight: 800;
}

/* =========================================================
   EXISTING APPLICATION -> WIZARD
   ========================================================= */

body.fcg-cx-ready .fcg-apply-shell {
    width: min(1220px, calc(100% - 32px));
    max-width: 1220px;
    margin: 14px auto 36px;
    padding: 0;
    border: 0;
    background: transparent;
}

body.fcg-cx-ready .fcg-apply-intro {
    display: none;
}

.fcg-cx-wizard {
    border: 1px solid #463724;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg,#151310,#10100f);
    color: #fff;
}

.fcg-cx-wizard-head {
    padding: 22px 24px 17px;
    border-bottom: 1px solid #362c22;
}

.fcg-cx-wizard-head h2 {
    margin: 5px 0 5px;
    color: #fff;
    font-size: 30px;
}

.fcg-cx-wizard-head p {
    margin: 0;
    color: #a89e91;
    font-size: 12px;
}

.fcg-cx-steps {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    border-bottom: 1px solid #362c22;
    background: #0f0f0e;
}

.fcg-cx-step-pill {
    position: relative;
    padding: 11px 12px;
    color: #766e64;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-align: center;
}

.fcg-cx-step-pill::after {
    content: "";
    position: absolute;
    left: 16%;
    right: 16%;
    bottom: -1px;
    height: 2px;
    background: transparent;
}

.fcg-cx-step-pill.active {
    color: #e7b760;
}

.fcg-cx-step-pill.active::after {
    background: #d8a755;
}

.fcg-cx-step-pill.done {
    color: #9ec5a5;
}

.fcg-cx-stage {
    display: none;
    padding: 22px 24px 24px;
}

.fcg-cx-stage.active {
    display: block;
}

.fcg-cx-stage-title {
    margin-bottom: 14px;
}

.fcg-cx-stage-title h3 {
    margin: 4px 0 4px;
    color: #fff;
    font-size: 24px;
}

.fcg-cx-stage-title p {
    margin: 0;
    color: #9e9487;
    font-size: 11px;
    line-height: 1.45;
}

.fcg-cx-stage-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px 14px;
}

.fcg-cx-stage-grid > .fcg-field {
    margin: 0 !important;
}

.fcg-cx-stage-grid .fcg-field.full {
    grid-column: 1 / -1;
}

body.fcg-cx-ready .fcg-field label {
    color: #d9ae63;
    font-size: 11px;
}

body.fcg-cx-ready .fcg-field input,
body.fcg-cx-ready .fcg-field select,
body.fcg-cx-ready .fcg-field textarea {
    min-height: 42px;
    border-color: #3e352b;
    background: #0c0c0c;
}

body.fcg-cx-ready .fcg-field textarea {
    min-height: 90px;
}

.fcg-cx-native-role-field {
    display: none !important;
}

.fcg-cx-position-summary {
    margin-bottom: 12px;
    border: 1px solid #3d3328;
    border-radius: 11px;
    padding: 12px;
    background: #10100f;
}

.fcg-cx-position-summary strong {
    color: #d8a755;
    font-size: 10px;
}

.fcg-cx-position-summary .fcg-cx-selected-roles {
    margin-top: 8px;
}

body.fcg-cx-ready .fcg-concept-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 8px;
}

body.fcg-cx-ready .fcg-check-card {
    min-height: 48px;
    align-items: center;
    padding: 10px;
    cursor: pointer;
}

body.fcg-cx-ready .fcg-check-card:has(input:checked) {
    border-color: #6d5734;
    background: #18140e;
}

.fcg-cx-nav {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid #332a21;
}

.fcg-cx-nav-right {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.fcg-cx-error {
    display: none;
    margin-bottom: 10px;
    border: 1px solid #6a3a3a;
    border-radius: 9px;
    padding: 9px 11px;
    background: #211010;
    color: #e8b3b3;
    font-size: 10px;
    font-weight: 700;
}

.fcg-cx-error.show {
    display: block;
}

.fcg-cx-review {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
}

.fcg-cx-review-card {
    border: 1px solid #3a3128;
    border-radius: 10px;
    padding: 12px;
    background: #10100f;
}

.fcg-cx-review-card .label {
    color: #aa8a55;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.fcg-cx-review-card .value {
    margin-top: 4px;
    color: #f0e9df;
    font-size: 11px;
    line-height: 1.4;
}

body.fcg-cx-ready .fcg-consent {
    margin: 16px 0 10px;
}

body.fcg-cx-ready .fcg-apply-button {
    margin-top: 6px;
}

.fcg-cx-success {
    display: none;
    padding: 32px;
    border: 1px solid #4b5f43;
    border-radius: 16px;
    background: #101710;
    text-align: center;
}

.fcg-cx-success.show {
    display: block;
}

.fcg-cx-success h3 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 26px;
}

.fcg-cx-success p {
    max-width: 620px;
    margin: 0 auto;
    color: #aeb9aa;
    font-size: 12px;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .fcg-cx-shell,
    body.fcg-cx-ready .fcg-apply-shell {
        width: calc(100% - 12px);
    }

    .fcg-cx-hero {
        padding: 24px 18px;
    }

    .fcg-cx-hero-grid {
        grid-template-columns: 1fr;
    }

    .fcg-cx-category-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .fcg-cx-role-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .fcg-cx-panel {
        padding: 18px 14px;
    }

    .fcg-cx-panel-head {
        display: block;
    }

    .fcg-cx-panel-copy {
        margin-top: 7px;
        text-align: left;
    }

    .fcg-cx-stage {
        padding: 17px 14px 19px;
    }

    .fcg-cx-stage-grid {
        grid-template-columns: 1fr;
    }

    .fcg-cx-stage-grid .fcg-field.full {
        grid-column: auto;
    }

    .fcg-cx-steps {
        grid-template-columns: repeat(5,minmax(58px,1fr));
        overflow-x: auto;
    }

    .fcg-cx-step-pill {
        padding: 10px 7px;
        font-size: 8px;
    }

    body.fcg-cx-ready .fcg-concept-grid {
        grid-template-columns: 1fr;
    }

    .fcg-cx-review {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .fcg-cx-category-grid,
    .fcg-cx-role-grid {
        grid-template-columns: 1fr;
    }

    .fcg-cx-openings-toolbar {
        grid-template-columns: 1fr;
    }

    .fcg-cx-openings-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .fcg-cx-openings-actions .fcg-cx-btn {
        width: 100%;
    }

    .fcg-cx-hero h1 {
        font-size: 42px;
    }
}
