/* =================================================================
   apply.css
   Shared styles for the unified /apply flow (MEC / MAEC / UCL).
   League theming is driven by CSS custom properties set on the
   .apply-shell element: --app-primary, --app-secondary, --app-accent.
   ================================================================= */

:root {
    --app-primary: #031326;
    --app-secondary: #0d3b66;
    --app-accent: #00c896;
    --app-neutral-bg: #f6f8fb;
    --app-surface: #ffffff;
    --app-text: #1a1f2b;
    --app-muted: #6b7380;
    --app-border: #e3e7ee;
    --app-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    --app-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.08);
    --app-radius: 12px;
    --app-radius-sm: 8px;
    --app-transition: 0.15s ease;
}

/* ------------------------------------------------------------------
   Shell + layout
   ------------------------------------------------------------------ */

.apply-shell {
    background: var(--app-neutral-bg);
    min-height: 100vh;
    padding: 0 0 4rem 0;
    color: var(--app-text);
}

.apply-container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 1rem;
}

.apply-container--wide {
    max-width: 1140px;
}

/* ------------------------------------------------------------------
   League banner (top of every step)
   ------------------------------------------------------------------ */

.apply-league-banner {
    background: linear-gradient(135deg, var(--app-primary) 0%, var(--app-secondary) 100%);
    color: #fff;
    padding: 1.5rem 1.25rem;
    border-radius: 0 0 var(--app-radius) var(--app-radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    box-shadow: var(--app-shadow);
}

.apply-league-banner__logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.apply-league-banner__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.apply-league-banner__text {
    flex-grow: 1;
    min-width: 0;
}

.apply-league-banner__eyebrow {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    opacity: 0.75;
    margin: 0;
    font-weight: 600;
}

.apply-league-banner__title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0.1rem 0 0 0;
    line-height: 1.2;
}

.apply-league-banner__switch {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.375rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background-color var(--app-transition), transform var(--app-transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.apply-league-banner__switch:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
    transform: translateY(-1px);
}

.apply-league-banner__switch i {
    margin-right: 0.35rem;
}

/* ------------------------------------------------------------------
   Progress stepper
   ------------------------------------------------------------------ */

.app-progress {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--app-shadow);
}

.app-progress__caption {
    margin: 0 0 0.75rem 0;
    color: var(--app-primary);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.app-progress__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
}

.app-progress__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 0;
    text-align: center;
}

.app-progress__node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--app-neutral-bg);
    border: 2px solid var(--app-border);
    color: var(--app-muted);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--app-transition), border-color var(--app-transition), color var(--app-transition), box-shadow var(--app-transition);
    flex-shrink: 0;
}

.app-progress__node--review {
    font-size: 1rem;
}

.app-progress__step.is-current .app-progress__node {
    background: var(--app-primary);
    border-color: var(--app-primary);
    color: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--app-primary) 20%, transparent);
}

.app-progress__step.is-complete .app-progress__node {
    background: var(--app-accent);
    border-color: var(--app-accent);
    color: #fff;
}

.app-progress__step.is-upcoming .app-progress__node {
    background: var(--app-surface);
}

.app-progress__label {
    font-size: 0.8rem;
    color: var(--app-muted);
    font-weight: 600;
    line-height: 1.2;
    max-width: 110px;
}

.app-progress__step.is-current .app-progress__label {
    color: var(--app-primary);
}

.app-progress__step.is-complete .app-progress__label {
    color: var(--app-text);
}

.app-progress__label-short {
    display: none;
}

.app-progress__line {
    flex-grow: 1;
    height: 2px;
    background: var(--app-border);
    margin-bottom: 1.4rem; /* pull up so line sits center of nodes */
    min-width: 12px;
    max-width: 80px;
    transition: background-color var(--app-transition);
}

.app-progress__line.is-complete {
    background: var(--app-accent);
}

/* ------------------------------------------------------------------
   Step card (white shell that wraps each step's body)
   ------------------------------------------------------------------ */

.apply-step {
    background: var(--app-surface);
    border-radius: var(--app-radius);
    padding: 2rem;
    box-shadow: var(--app-shadow);
    border: 1px solid var(--app-border);
}

.apply-step__header {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--app-border);
}

.apply-step__eyebrow {
    color: var(--app-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
    margin: 0 0 0.35rem 0;
}

.apply-step__title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    color: var(--app-text);
}

.apply-step__subtitle {
    margin: 0.5rem 0 0 0;
    color: var(--app-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 640px;
}

.apply-step__body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.apply-step__footer {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--app-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.apply-step__footer-caption {
    color: var(--app-muted);
    font-size: 0.82rem;
    margin: 0;
}

.apply-step__footer-caption i {
    color: var(--app-accent);
    margin-right: 0.35rem;
}

/* ------------------------------------------------------------------
   Form section (grouped fields with icon+title header)
   ------------------------------------------------------------------ */

.apply-form-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.apply-form-section__header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--app-primary);
}

.apply-form-section__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--app-primary) 12%, transparent);
    color: var(--app-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.apply-form-section__text {
    min-width: 0;
}

.apply-form-section__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: var(--app-text);
}

.apply-form-section__help {
    font-size: 0.85rem;
    color: var(--app-muted);
    margin: 0.25rem 0 0 0;
    line-height: 1.4;
}

.apply-form-section__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ------------------------------------------------------------------
   Buttons (next / previous)
   ------------------------------------------------------------------ */

.apply-btn-next {
    background: var(--app-primary);
    color: #fff;
    border: 1px solid var(--app-primary);
    padding: 0.7rem 1.5rem;
    border-radius: var(--app-radius-sm);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: background-color var(--app-transition), transform var(--app-transition), box-shadow var(--app-transition);
    cursor: pointer;
}

.apply-btn-next:hover,
.apply-btn-next:focus {
    background: var(--app-secondary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--app-primary) 30%, transparent);
}

.apply-btn-prev {
    background: transparent;
    color: var(--app-muted);
    border: 1px solid var(--app-border);
    padding: 0.7rem 1.25rem;
    border-radius: var(--app-radius-sm);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: border-color var(--app-transition), color var(--app-transition);
}

.apply-btn-prev:hover,
.apply-btn-prev:focus {
    border-color: var(--app-primary);
    color: var(--app-primary);
}

.apply-btn-ghost {
    background: transparent;
    color: var(--app-primary);
    border: 1px dashed color-mix(in srgb, var(--app-primary) 40%, transparent);
    padding: 0.7rem 1.25rem;
    border-radius: var(--app-radius-sm);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: background-color var(--app-transition), border-color var(--app-transition);
}

.apply-btn-ghost:hover {
    background: color-mix(in srgb, var(--app-primary) 6%, transparent);
    border-style: solid;
}

/* ------------------------------------------------------------------
   League chooser cards (used on /apply/leagues)
   ------------------------------------------------------------------ */

.apply-league-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.apply-league-card {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--app-transition), box-shadow var(--app-transition), border-color var(--app-transition);
    position: relative;
}

.apply-league-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--app-shadow-hover);
    border-color: color-mix(in srgb, var(--app-primary) 30%, var(--app-border));
}

.apply-league-card.is-selected {
    border-color: var(--app-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--app-primary) 18%, transparent);
}

.apply-league-card__banner {
    background: linear-gradient(135deg, var(--app-primary) 0%, var(--app-secondary) 100%);
    color: #fff;
    padding: 1.75rem 1.5rem 1.25rem;
    position: relative;
}

.apply-league-card__code {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.apply-league-card__name {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.apply-league-card__tagline {
    margin: 0.35rem 0 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
    line-height: 1.35;
}

.apply-league-card__body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex-grow: 1;
}

.apply-league-card__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1rem;
    font-size: 0.85rem;
}

.apply-league-card__meta dt {
    color: var(--app-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.7rem;
    margin: 0;
}

.apply-league-card__meta dd {
    color: var(--app-text);
    font-weight: 700;
    margin: 0.1rem 0 0 0;
}

.apply-league-card__who {
    color: var(--app-muted);
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0;
}

.apply-league-card__highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.apply-league-card__highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--app-text);
}

.apply-league-card__highlights i {
    color: var(--app-accent);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.apply-league-card__footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--app-border);
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.apply-league-card__footer .apply-btn-next {
    flex-grow: 1;
    justify-content: center;
}

/* ------------------------------------------------------------------
   Roster card (Step 6)
   ------------------------------------------------------------------ */

.apply-roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.apply-roster-card {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow var(--app-transition), transform var(--app-transition);
}

.apply-roster-card:hover {
    box-shadow: var(--app-shadow-hover);
    transform: translateY(-2px);
}

.apply-roster-card__eyebrow {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--app-muted);
    font-weight: 700;
    margin: 0;
}

.apply-roster-card__name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--app-text);
    margin: 0;
    line-height: 1.25;
}

.apply-roster-card__meta {
    color: var(--app-muted);
    font-size: 0.85rem;
    margin: 0;
}

.apply-roster-card__players {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.86rem;
}

.apply-roster-card__players li {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.3rem 0;
    border-bottom: 1px dashed var(--app-border);
}

.apply-roster-card__players li:last-child {
    border-bottom: none;
}

.apply-roster-card__actions {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.apply-roster-empty {
    background: var(--app-surface);
    border: 2px dashed var(--app-border);
    border-radius: var(--app-radius);
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--app-muted);
}

.apply-roster-empty__icon {
    font-size: 2.5rem;
    color: color-mix(in srgb, var(--app-primary) 35%, var(--app-muted));
    margin-bottom: 0.5rem;
}

/* ------------------------------------------------------------------
   Review cards (Submit page)
   ------------------------------------------------------------------ */

.apply-review-card {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--app-shadow);
}

.apply-review-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--app-border);
}

.apply-review-card__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--app-text);
}

.apply-review-card__title i {
    color: var(--app-primary);
    font-size: 1.1rem;
}

.apply-review-card__edit {
    color: var(--app-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.apply-review-card__edit:hover {
    text-decoration: underline;
}

.apply-review-card__fields {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0.6rem 1rem;
    margin: 0;
    font-size: 0.9rem;
}

.apply-review-card__fields dt {
    color: var(--app-muted);
    font-weight: 600;
    margin: 0;
}

.apply-review-card__fields dd {
    color: var(--app-text);
    font-weight: 700;
    margin: 0;
    word-break: break-word;
}

.apply-review-checklist {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--app-shadow);
}

.apply-review-checklist__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: var(--app-text);
}

.apply-review-checklist__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.apply-review-checklist__list li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
}

.apply-review-checklist__list li.is-ok {
    color: var(--app-text);
}

.apply-review-checklist__list li.is-ok i {
    color: var(--app-accent);
}

.apply-review-checklist__list li.is-missing {
    color: var(--app-muted);
}

.apply-review-checklist__list li.is-missing i {
    color: #d64545;
}

/* ------------------------------------------------------------------
   Confirmation page (animated checkmark)
   ------------------------------------------------------------------ */

.apply-confirmation {
    text-align: center;
    padding: 3rem 1.5rem;
}

.apply-confirmation__checkmark {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: block;
}

.apply-confirmation__checkmark circle {
    fill: none;
    stroke: var(--app-accent);
    stroke-width: 4;
    stroke-dasharray: 320;
    stroke-dashoffset: 320;
    animation: apply-draw-circle 0.7s ease-out forwards;
}

.apply-confirmation__checkmark path {
    fill: none;
    stroke: var(--app-accent);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: apply-draw-check 0.35s 0.7s ease-out forwards;
}

@keyframes apply-draw-circle {
    to { stroke-dashoffset: 0; }
}

@keyframes apply-draw-check {
    to { stroke-dashoffset: 0; }
}

.apply-confirmation__title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    color: var(--app-text);
}

.apply-confirmation__subtitle {
    color: var(--app-muted);
    font-size: 1rem;
    margin: 0 0 2rem 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.apply-confirmation__timeline {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    max-width: 720px;
    margin: 2rem auto;
    list-style: none;
    padding: 0;
}

.apply-confirmation__timeline li {
    flex: 1;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-sm);
    padding: 1rem 0.75rem;
    text-align: center;
}

.apply-confirmation__timeline .step-num {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--app-primary) 12%, transparent);
    color: var(--app-primary);
    font-weight: 700;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.apply-confirmation__timeline .step-label {
    display: block;
    font-size: 0.78rem;
    color: var(--app-text);
    font-weight: 700;
    line-height: 1.25;
}

.apply-confirmation__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ------------------------------------------------------------------
   Continue Or Start New
   ------------------------------------------------------------------ */

.apply-continue {
    background: var(--app-surface);
    border-radius: var(--app-radius);
    border: 1px solid var(--app-border);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--app-shadow);
    margin: 3rem auto;
    max-width: 560px;
}

.apply-continue__eyebrow {
    color: var(--app-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.apply-continue__title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0.4rem 0 0.5rem 0;
    color: var(--app-text);
}

.apply-continue__subtitle {
    color: var(--app-muted);
    margin: 0 0 1.75rem 0;
}

/* ------------------------------------------------------------------
   Admin reviewer reuse (shared tokens)
   ------------------------------------------------------------------ */

.admin-review-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 1.25rem;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow);
    margin-bottom: 1.5rem;
}

.admin-review-actions .btn {
    font-weight: 700;
}

.admin-review-checklist {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--app-shadow);
    margin-bottom: 1.5rem;
}

.admin-review-checklist ul,
ul.admin-review-checklist {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.admin-review-checklist li,
ul.admin-review-checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

ul.admin-review-checklist {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.admin-review-checklist li.is-ok i,
ul.admin-review-checklist li.is-ok i {
    color: #00c896;
}

.admin-review-checklist li.is-missing,
ul.admin-review-checklist li.is-missing {
    color: #a0a6b1;
}

.admin-review-checklist li.is-missing i,
ul.admin-review-checklist li.is-missing i {
    color: #d64545;
}

.needs-review {
    border-left: 4px solid #ffc107 !important;
    background: color-mix(in srgb, #ffc107 6%, transparent) !important;
}

.needs-review-badge {
    display: inline-block;
    background: #fff4d6;
    color: #8a5a00;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    margin-left: 0.4rem;
}

/* ------------------------------------------------------------------
   Responsive rules (<768px)
   ------------------------------------------------------------------ */

@media (max-width: 767.98px) {
    .apply-container {
        padding: 0 0.5rem;
    }

    .apply-league-banner {
        padding: 1rem;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .apply-league-banner__logo {
        width: 44px;
        height: 44px;
    }

    .apply-league-banner__title {
        font-size: 1.1rem;
    }

    .apply-league-banner__switch {
        order: 3;
        flex-basis: 100%;
        text-align: center;
        justify-content: center;
    }

    .app-progress {
        padding: 1rem;
    }

    .app-progress__list {
        gap: 0.1rem;
    }

    .app-progress__node {
        width: 32px;
        height: 32px;
        font-size: 0.82rem;
    }

    .app-progress__label {
        display: none;
    }

    .app-progress__label-short {
        display: none;
    }

    .app-progress__line {
        margin-bottom: 0;
    }

    .apply-step {
        padding: 1.25rem 1rem;
    }

    .apply-step__title {
        font-size: 1.4rem;
    }

    .apply-step__footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .apply-step__footer .apply-btn-next,
    .apply-step__footer .apply-btn-prev {
        justify-content: center;
        width: 100%;
    }

    .apply-review-card__fields {
        grid-template-columns: 1fr;
        gap: 0.1rem 0;
    }

    .apply-review-card__fields dd {
        margin-bottom: 0.6rem;
    }

    .apply-review-checklist__list {
        grid-template-columns: 1fr;
    }

    .apply-confirmation__timeline {
        flex-direction: column;
    }

    .admin-review-checklist ul,
    ul.admin-review-checklist {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 479.98px) {
    .apply-step {
        padding: 1rem 0.75rem;
    }

    .apply-step__title {
        font-size: 1.2rem;
    }
}
