/* ==========================================================
   UNION ROLEPLAY - APPLICATIONS + APPLY
========================================================== */


/* ==========================================================
   SHARED
========================================================== */

.applications-page,
.apply-page {
    min-height: 100vh;
    padding-top: 76px;

    background:
        radial-gradient(
            circle at 16% 0%,
            rgba(255, 255, 255, 0.03),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 2%,
            rgba(139, 92, 246, 0.022),
            transparent 24%
        ),
        #08090c;

    color: #f5f5f7;
}

.applications-container,
.apply-shell {
    width: min(
        1180px,
        calc(100% - 40px)
    );

    margin: 0 auto;
}


/* ==========================================================
   APPLICATIONS HERO
========================================================== */

.applications-hero {
    padding:
        100px 0
        58px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.055);
}

.applications-hero-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    align-items: end;

    gap: 70px;
}

.applications-hero-main {
    max-width: 790px;
}


/* HERO KICKER */

.applications-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 17px;

    color: #747780;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.4px;
}

.applications-live-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 10px
        rgba(34, 197, 94, 0.32);
}


/* HERO TITLE */

.applications-hero h1 {
    margin: 0;

    color: #f5f5f6;

    font-size:
        clamp(
            54px,
            7vw,
            82px
        );

    line-height: 0.94;

    letter-spacing: -4px;
}

.applications-hero h1 span {
    display: block;

    color: #a9abb3;
}


/* HERO DESCRIPTION */

.applications-hero p {
    max-width: 690px;

    margin-top: 22px;

    color: #858790;

    font-size: 14px;

    line-height: 1.8;
}


/* HERO TAGS */

.applications-hero-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 27px;
}

.applications-hero-tags span {
    padding: 7px 9px;

    border:
        1px solid
        rgba(255, 255, 255, 0.065);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.018);

    color: #696c75;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 0.8px;
}


/* ==========================================================
   HERO SIDE PANEL
========================================================== */

.applications-hero-side {
    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.065);

    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.018),
            rgba(255, 255, 255, 0.005)
        ),
        #101115;

    box-shadow:
        0 18px 45px
        rgba(0, 0, 0, 0.12);
}

.applications-hero-side-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 16px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.055);
}

.applications-hero-side-top > span {
    color: #62656e;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.1px;
}

.applications-hero-side-top strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #86efac;

    font-size: 9px;
    font-weight: 900;
}

.applications-hero-side-top strong::before {
    content: "";

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 8px
        rgba(34, 197, 94, 0.3);
}

.applications-hero-side-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 14px 16px;
}

.applications-hero-side-row +
.applications-hero-side-row {
    border-top:
        1px solid
        rgba(255, 255, 255, 0.045);
}

.applications-hero-side-row span {
    color: #676a73;

    font-size: 9px;
}

.applications-hero-side-row strong {
    color: #d5d6da;

    font-size: 10px;
}


/* ==========================================================
   APPLICATIONS CONTENT
========================================================== */

.applications-content {
    padding:
        52px 0
        120px;
}


/* ==========================================================
   SECTION HEADINGS
========================================================== */

.applications-group {
    margin-top: 62px;
}

.applications-group-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 20px;

    padding-bottom: 17px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.05);
}

.applications-group-heading > div > span {
    display: block;

    color: #686b74;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.2px;
}

.applications-group-heading h2 {
    margin-top: 5px;

    color: #f1f1f3;

    font-size: 27px;

    letter-spacing: -0.8px;
}

.applications-group-heading > p {
    color: #696c75;

    font-size: 10px;
}


/* ==========================================================
   FEATURED WHITELIST
========================================================== */

.application-featured-card {
    position: relative;

    overflow: hidden;

    min-height: 390px;

    padding: 34px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        290px;

    grid-template-rows:
        auto
        1fr;

    gap:
        30px
        55px;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 8% 5%,
            rgba(255, 255, 255, 0.035),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 30%,
            rgba(139, 92, 246, 0.035),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #121318,
            #0d0e12
        );

    box-shadow:
        0 28px 70px
        rgba(0, 0, 0, 0.22);

    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.application-featured-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(255, 255, 255, 0.12);

    box-shadow:
        0 34px 85px
        rgba(0, 0, 0, 0.27);
}


/* WATERMARK */

.application-featured-background {
    position: absolute;

    right: -35px;
    bottom: -67px;

    z-index: 0;

    pointer-events: none;

    user-select: none;
}

.application-featured-background span {
    color:
        rgba(255, 255, 255, 0.018);

    font-size:
        clamp(
            150px,
            18vw,
            250px
        );

    font-weight: 900;

    line-height: 1;

    letter-spacing: -14px;
}


/* FEATURED TOP */

.application-featured-top {
    position: relative;
    z-index: 2;

    grid-column: 1 / -1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.application-featured-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.085);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.025);

    color: #d7d8dc;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 0.5px;
}

.application-featured-status {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 6px 9px;

    border:
        1px solid
        rgba(34, 197, 94, 0.12);

    border-radius: 999px;

    background:
        rgba(34, 197, 94, 0.035);

    color: #86efac;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 0.7px;
}

.application-featured-status > span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 8px
        rgba(34, 197, 94, 0.28);
}


/* FEATURED CONTENT */

.application-featured-content {
    position: relative;
    z-index: 2;
}

.application-featured-category {
    display: block;

    margin-bottom: 8px;

    color: #737680;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.2px;
}

.application-featured-content h2 {
    margin: 0;

    max-width: 650px;

    color: #f4f4f5;

    font-size:
        clamp(
            34px,
            4vw,
            48px
        );

    line-height: 1.02;

    letter-spacing: -1.8px;
}

.application-featured-content > p {
    max-width: 630px;

    margin-top: 17px;

    color: #858790;

    font-size: 13px;

    line-height: 1.8;
}


/* FEATURED DETAILS */

.application-featured-details {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 1px;

    margin-top: 28px;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.055);

    border-radius: 11px;

    background:
        rgba(255, 255, 255, 0.04);
}

.application-featured-details > div {
    padding: 12px 14px;

    background: #111216;
}

.application-featured-details span {
    display: block;

    color: #5e616a;

    font-size: 7px;
    font-weight: 900;

    letter-spacing: 0.9px;
}

.application-featured-details strong {
    display: block;

    margin-top: 4px;

    color: #c8c9ce;

    font-size: 9px;
}


/* FEATURED ACTION */

.application-featured-action {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding-left: 32px;

    border-left:
        1px solid
        rgba(255, 255, 255, 0.055);
}

.application-featured-action > div > span {
    display: block;

    color: #5f626b;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1px;
}

.application-featured-action > div > strong {
    display: block;

    margin-top: 5px;

    color: #d7d8dc;

    font-size: 12px;
}


/* FEATURED BUTTON */

.application-featured-button {
    width: 100%;

    margin-top: 22px;

    padding: 14px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 10px;

    background: #7c3aed;

    color: #ffffff;

    font-size: 11px;
    font-weight: 900;

    text-decoration: none;

    box-shadow:
        0 12px 28px
        rgba(124, 58, 237, 0.17);

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.application-featured-button:hover {
    transform: translateY(-2px);

    background: #8b5cf6;

    box-shadow:
        0 16px 34px
        rgba(124, 58, 237, 0.24);
}

.application-featured-button > span {
    font-size: 16px;

    transition:
        transform 0.18s ease;
}

.application-featured-button:hover > span {
    transform: translateX(3px);
}


/* ==========================================================
   ROLE GRIDS
========================================================== */

.applications-role-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 14px;
}

.applications-role-grid-three {
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
}


/* ==========================================================
   ROLE CARDS
========================================================== */

.application-role-card {
    position: relative;

    min-height: 310px;

    padding: 22px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    border-radius: 16px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.018),
            rgba(255, 255, 255, 0.005)
        ),
        #101115;

    box-shadow:
        0 14px 38px
        rgba(0, 0, 0, 0.10);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.application-role-card::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 22px;

    width: 0;
    height: 1px;

    opacity: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(167, 139, 250, 0.7),
            transparent
        );

    transition:
        width 0.22s ease,
        opacity 0.22s ease;
}

.application-role-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(255, 255, 255, 0.105);

    background: #131419;

    box-shadow:
        0 24px 55px
        rgba(0, 0, 0, 0.18);
}

.application-role-card:hover::before {
    width: 90px;

    opacity: 1;
}


/* ROLE TOP */

.application-role-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 38px;
}

.application-role-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.075);

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.025);

    color: #b7b9c0;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 0.5px;

    transition:
        transform 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.application-role-card:hover
.application-role-icon {
    transform: translateY(-2px);

    color: #b9a8ed;

    border-color:
        rgba(139, 92, 246, 0.16);

    background:
        rgba(139, 92, 246, 0.04);
}


/* ROLE STATUS */

.application-role-status {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: #7edc9c;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 0.6px;
}

.application-role-status > span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 8px
        rgba(34, 197, 94, 0.25);
}


/* ROLE CONTENT */

.application-role-content {
    flex: 1;
}

.application-role-category {
    display: block;

    margin-bottom: 7px;

    color: #646771;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.1px;
}

.application-role-content h3 {
    margin: 0;

    color: #f1f1f3;

    font-size: 23px;

    line-height: 1.15;

    letter-spacing: -0.6px;
}

.application-role-content p {
    max-width: 520px;

    margin-top: 11px;

    color: #81838c;

    font-size: 12px;

    line-height: 1.75;
}


/* ROLE ACTION */

.application-role-action {
    margin-top: 30px;

    padding-top: 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.05);

    color: #8e919a;

    text-decoration: none;

    transition:
        color 0.18s ease;
}

.application-role-action > span {
    font-size: 9px;
    font-weight: 800;
}

.application-role-action > strong {
    color: #a995e5;

    font-size: 15px;

    transition:
        transform 0.18s ease,
        color 0.18s ease;
}

.application-role-action:hover {
    color: #ffffff;
}

.application-role-action:hover > strong {
    color: #c4b5fd;

    transform: translateX(3px);
}


/* ==========================================================
   COMMAND CARDS
========================================================== */

.application-command-card {
    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(255, 255, 255, 0.025),
            transparent 34%
        ),
        #101115;
}


/* ==========================================================
   BOTTOM NOTE
========================================================== */

.applications-bottom-note {
    margin-top: 62px;

    padding: 20px;

    display: grid;

    grid-template-columns:
        38px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 16px;

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.012);
}

.applications-bottom-note-icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    border-radius: 9px;

    background:
        rgba(255, 255, 255, 0.02);

    color: #858892;

    font-size: 12px;
    font-weight: 900;
}

.applications-bottom-note > div:nth-child(2) > span {
    display: block;

    color: #656871;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1px;
}

.applications-bottom-note strong {
    display: block;

    margin-top: 3px;

    color: #d7d8dc;

    font-size: 11px;
}

.applications-bottom-note p {
    margin-top: 4px;

    color: #777a83;

    font-size: 10px;
}

.applications-bottom-note > a {
    color: #a995e5;

    font-size: 10px;
    font-weight: 900;

    text-decoration: none;

    transition:
        color 0.16s ease,
        transform 0.16s ease;
}

.applications-bottom-note > a:hover {
    color: #c4b5fd;

    transform: translateX(2px);
}


/* ==========================================================
   APPLICATION LIST LOAD ANIMATION
========================================================== */

.application-featured-card,
.application-role-card {
    animation:
        applicationCardEntrance
        0.48s ease both;
}

.application-role-card:nth-child(2) {
    animation-delay: 0.05s;
}

.application-role-card:nth-child(3) {
    animation-delay: 0.10s;
}

@keyframes applicationCardEntrance {

    from {
        opacity: 0;

        transform:
            translateY(10px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* ==========================================================
   APPLY PAGE
========================================================== */

.apply-shell {
    padding:
        70px 0
        100px;
}


/* ==========================================================
   APPLY HEADER
========================================================== */

.apply-header {
    margin-bottom: 30px;
}

.apply-back {
    display: inline-flex;
    align-items: center;

    margin-bottom: 26px;

    color: #71747d;

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;

    transition:
        color 0.16s ease,
        transform 0.16s ease;
}

.apply-back:hover {
    color: #ffffff;

    transform: translateX(-2px);
}

.apply-header-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        270px;

    align-items: end;

    gap: 60px;

    padding-bottom: 30px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.05);
}

.apply-header-main {
    max-width: 760px;
}

.applications-eyebrow {
    color: #747780;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.2px;
}

.apply-header h1 {
    margin-top: 8px;

    color: #f4f4f5;

    font-size:
        clamp(
            42px,
            6vw,
            64px
        );

    line-height: 1;

    letter-spacing: -2.4px;
}

.apply-header p {
    max-width: 680px;

    margin-top: 14px;

    color: #858790;

    font-size: 14px;

    line-height: 1.75;
}


/* ==========================================================
   APPLY HEADER META
========================================================== */

.apply-header-meta {
    overflow: hidden;

    display: flex;
    flex-direction: column;

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    border-radius: 13px;

    background: #101115;
}

.apply-meta-item {
    padding: 13px 15px;
}

.apply-meta-item +
.apply-meta-item {
    border-top:
        1px solid
        rgba(255, 255, 255, 0.05);
}

.apply-meta-item > span {
    display: block;

    color: #5e616a;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1px;
}

.apply-meta-item strong {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-top: 5px;

    color: #d8d9dd;

    font-size: 11px;
}

.apply-meta-open > span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 9px
        rgba(34, 197, 94, 0.3);
}


/* ==========================================================
   APPLY LAYOUT
========================================================== */

.apply-layout {
    display: grid;

    grid-template-columns:
        280px
        minmax(0, 1fr);

    gap: 18px;

    align-items: start;
}


/* ==========================================================
   APPLY PROGRESS PANEL
========================================================== */

.apply-progress-panel {
    position: sticky;
    top: 96px;

    padding: 18px;

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    border-radius: 15px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.016),
            rgba(255, 255, 255, 0.004)
        ),
        #101115;
}

.apply-progress-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;
}

.apply-progress-top > div > span {
    display: block;

    color: #5f626b;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.1px;
}

.apply-progress-top strong {
    display: block;

    margin-top: 4px;

    color: #e1e1e4;

    font-size: 13px;
}

.apply-progress-percentage {
    color: #858892;

    font-size: 9px;
    font-weight: 800;
}


/* PROGRESS BAR */

.apply-progress-bar {
    height: 5px;

    margin-top: 16px;

    overflow: hidden;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.04);
}

.apply-progress-fill {
    height: 100%;

    border-radius: inherit;

    background: #8b5cf6;

    box-shadow:
        0 0 12px
        rgba(124, 58, 237, 0.18);

    transition:
        width 0.35s ease;
}

.apply-progress-divider {
    width: 100%;
    height: 1px;

    margin: 18px 0;

    background:
        rgba(255, 255, 255, 0.05);
}

.apply-progress-label {
    color: #676a73;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* ==========================================================
   APPLY STEPS
========================================================== */

.apply-steps,
#applicationSteps {
    display: flex;
    flex-direction: column;

    gap: 5px;

    margin-top: 12px;
}

.apply-step {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 9px 10px;

    border: 0;

    border-radius: 8px;

    background: transparent;

    color: #6f727b;

    text-align: left;

    font-family: inherit;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;

    transition:
        color 0.16s ease,
        background 0.16s ease,
        transform 0.16s ease;
}

.apply-step:hover {
    color: #d8d9dd;

    background:
        rgba(255, 255, 255, 0.025);

    transform:
        translateX(2px);
}

.apply-step-number {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    border-radius: 7px;

    background:
        rgba(255, 255, 255, 0.02);

    color: #676a73;

    font-size: 8px;
    font-weight: 900;
}

.apply-step.active {
    color: #eeeeef;

    background:
        rgba(255, 255, 255, 0.025);
}

.apply-step.active
.apply-step-number {
    border-color:
        rgba(139, 92, 246, 0.16);

    background:
        rgba(139, 92, 246, 0.05);

    color: #aa97e7;
}

.apply-step.completed
.apply-step-number {
    border-color:
        rgba(34, 197, 94, 0.12);

    background:
        rgba(34, 197, 94, 0.035);

    color: #86efac;
}


/* ==========================================================
   APPLY PROGRESS FOOTER
========================================================== */

.apply-progress-footer {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin-top: 18px;
    padding-top: 16px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.05);
}

.apply-progress-footer-dot {
    width: 6px;
    height: 6px;

    margin-top: 4px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #22c55e;
}

.apply-progress-footer strong {
    display: block;

    color: #a9abb2;

    font-size: 9px;
}

.apply-progress-footer small {
    display: block;

    margin-top: 2px;

    color: #5f626b;

    font-size: 8px;
}


/* ==========================================================
   APPLY FORM PANEL
========================================================== */

.apply-form-panel {
    min-height: 520px;

    padding: 24px;

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    border-radius: 15px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.016),
            rgba(255, 255, 255, 0.004)
        ),
        #101115;
}

.apply-form-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;
}

.apply-form-heading span {
    display: block;

    color: #5f626b;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.1px;
}

.apply-form-heading strong {
    display: block;

    margin-top: 4px;

    color: #d9dade;

    font-size: 12px;
}

.apply-form-save-status {
    display: flex;
    align-items: center;

    gap: 6px;

    color: #686b74;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 0.8px;
}

.apply-form-save-status span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 8px
        rgba(34, 197, 94, 0.25);
}

.apply-form-divider {
    width: 100%;
    height: 1px;

    margin:
        18px 0
        24px;

    background:
        rgba(255, 255, 255, 0.05);
}


/* ==========================================================
   APPLICATION QUESTION
========================================================== */

.application-question {
    min-height: 250px;

    animation:
        applyQuestionIn
        0.28s ease both;
}

@keyframes applyQuestionIn {

    from {
        opacity: 0;

        transform:
            translateY(7px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}

.application-question-meta {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 14px;
}

.application-question-number,
.application-required {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 5px 8px;

    border-radius: 999px;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 0.5px;

    text-transform: uppercase;
}

.application-question-number {
    color: #8c8f98;

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    background:
        rgba(255, 255, 255, 0.02);
}

.application-required {
    color: #d4a0a0;

    border:
        1px solid
        rgba(239, 68, 68, 0.11);

    background:
        rgba(239, 68, 68, 0.03);
}

.application-question h2,
.application-question h3 {
    max-width: 760px;

    margin:
        0 0
        18px;

    color: #f0f0f2;

    font-size:
        clamp(
            22px,
            3vw,
            30px
        );

    line-height: 1.3;

    letter-spacing: -0.7px;
}


/* ==========================================================
   QUESTION INPUTS
========================================================== */

.application-question input,
.application-question textarea,
.application-question select {
    width: 100%;

    padding: 14px 15px;

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    border-radius: 10px;

    background: #0d0e12;

    color: #ffffff;

    font-family: inherit;
    font-size: 13px;

    line-height: 1.7;

    outline: none;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.application-question textarea {
    min-height: 190px;

    resize: vertical;
}

.application-question input::placeholder,
.application-question textarea::placeholder {
    color: #565961;
}

.application-question input:focus,
.application-question textarea:focus,
.application-question select:focus {
    border-color:
        rgba(139, 92, 246, 0.28);

    background: #0f1014;

    box-shadow:
        0 0 0 3px
        rgba(139, 92, 246, 0.035);
}


/* ==========================================================
   APPLY ACTIONS
========================================================== */

.apply-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin-top: 28px;
    padding-top: 20px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.05);
}

.apply-form-actions-right {
    display: flex;
    align-items: center;

    gap: 8px;
}

.apply-secondary-button,
.staff-review-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 15px;

    border-radius: 9px;

    font-family: inherit;

    font-size: 10px;
    font-weight: 900;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.16s ease,
        color 0.16s ease,
        background 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.16s ease;
}

.apply-secondary-button {
    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    background:
        rgba(255, 255, 255, 0.02);

    color: #9698a0;
}

.apply-secondary-button:hover {
    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.04);

    border-color:
        rgba(255, 255, 255, 0.11);
}

.staff-review-button {
    border:
        1px solid
        rgba(124, 92, 255, 0.20);

    background: #7c3aed;

    color: #ffffff;

    box-shadow:
        0 9px 24px
        rgba(124, 58, 237, 0.14);
}

.staff-review-button:hover {
    transform: translateY(-1px);

    background: #8b5cf6;

    box-shadow:
        0 12px 28px
        rgba(124, 58, 237, 0.20);
}


/* ==========================================================
   APPLY STATES
========================================================== */

.apply-state {
    min-height: 430px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.apply-state-icon,
.apply-success-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.025);

    color: #a9abb2;

    font-size: 15px;
    font-weight: 900;
}

.apply-success-icon {
    border-color:
        rgba(34, 197, 94, 0.12);

    background:
        rgba(34, 197, 94, 0.035);

    color: #86efac;
}

.apply-state-label {
    margin-bottom: 7px;

    color: #676a73;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.2px;
}

.apply-state h2 {
    color: #eeeeef;

    font-size: 25px;

    letter-spacing: -0.6px;
}

.apply-state p {
    max-width: 460px;

    margin:
        9px auto
        20px;

    color: #7d8089;

    font-size: 12px;

    line-height: 1.7;
}


/* ==========================================================
   HIDDEN
========================================================== */

#applicationForm[hidden],
#applicationLoginRequired[hidden],
#applicationSuccess[hidden],
#submitApplication[hidden] {
    display: none !important;
}


/* ==========================================================
   RESPONSIVE - APPLICATION LIST
========================================================== */

@media (max-width: 980px) {

    .applications-role-grid-three {
        grid-template-columns:
            1fr
            1fr;
    }
}

@media (max-width: 900px) {

    .applications-hero-layout {
        grid-template-columns: 1fr;
    }

    .applications-hero-side {
        max-width: 500px;
    }

    .application-featured-card {
        grid-template-columns: 1fr;
    }

    .application-featured-action {
        padding:
            26px 0 0;

        border-left: 0;

        border-top:
            1px solid
            rgba(255, 255, 255, 0.055);
    }

    .applications-role-grid,
    .applications-role-grid-three {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   RESPONSIVE - APPLY
========================================================== */

@media (max-width: 900px) {

    .apply-header-layout {
        grid-template-columns: 1fr;
    }

    .apply-header-meta {
        max-width: 500px;
    }

    .apply-layout {
        grid-template-columns: 1fr;
    }

    .apply-progress-panel {
        position: static;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 650px) {

    .applications-container,
    .apply-shell {
        width:
            min(
                100% - 28px,
                1180px
            );
    }

    .applications-hero {
        padding:
            65px 0
            42px;
    }

    .applications-hero h1 {
        letter-spacing: -2.5px;
    }

    .applications-group-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }

    .application-featured-card {
        padding: 23px;
    }

    .application-featured-details {
        grid-template-columns: 1fr;
    }

    .application-featured-details > div +
    div {
        border-top:
            1px solid
            rgba(255, 255, 255, 0.045);
    }

    .applications-bottom-note {
        grid-template-columns:
            38px
            minmax(0, 1fr);
    }

    .applications-bottom-note > a {
        grid-column: 2;

        justify-self: start;
    }

    .apply-shell {
        padding-top: 42px;
    }

    .apply-form-panel,
    .apply-progress-panel {
        padding: 17px;
    }

    #applicationSteps {
        display: grid;

        grid-template-columns: 1fr;
    }

    .apply-form-actions {
        align-items: stretch;

        flex-direction: column;
    }

    .apply-form-actions-right {
        width: 100%;

        flex-direction: column;
    }

    .apply-form-actions button {
        width: 100%;
    }
}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .application-featured-card,
    .application-role-card,
    .application-question {
        animation: none;
    }
}
/* ========================================
   HIDDEN ELEMENT FIX
======================================== */

[hidden] {
    display: none !important;
}
/* ========================================
   APPLICATION ANSWER REQUIREMENTS
   Add this to the bottom of application.css
======================================== */

.application-answer-requirement {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.012);
}

.application-answer-guidance {
    color: #686b74;
    font-size: 9px;
    line-height: 1.55;
}

.application-character-counter {
    flex-shrink: 0;
    color: #888b94;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
    transition: color 0.16s ease;
}

.application-character-counter.requirement-pending {
    color: #c7a96d;
}

.application-character-counter.requirement-met {
    color: #86c99c;
}

.application-character-check {
    margin-right: 3px;
    font-weight: 900;
}

@media (max-width: 620px) {
    .application-answer-requirement {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .application-character-counter {
        white-space: normal;
    }
}
