/* CACYOF Youth Portal — login & auth screens */

.youth-auth-body {
    margin: 0;
    font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
}

.youth-auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #161d2b;
    color: #f8fafc;
}

@media (min-width: 1024px) {
    .youth-auth-page {
        flex-direction: row;
    }
}

/* —— Hero / gamified side —— */
.youth-auth-hero {
    flex: 1;
    position: relative;
    overflow: hidden;
    padding: 2rem 1.5rem 2.5rem;
    background-color: #161d2b;
}

.youth-auth-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.youth-auth-hero-bg__mosaic,
.youth-auth-hero-bg__faces {
    position: absolute;
    inset: 0;
    background-repeat: repeat;
}

/* Subtle tile underlayer (keeps depth from earlier design) */
.youth-auth-hero-bg__mosaic {
    opacity: 0.45;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Crect width='56' height='56' fill='%23161d2b'/%3E%3Cg fill='%2320293a'%3E%3Crect x='2' y='2' width='10' height='10' rx='1'/%3E%3Crect x='16' y='2' width='10' height='10' rx='1'/%3E%3Crect x='30' y='2' width='10' height='10' rx='1'/%3E%3Crect x='44' y='2' width='10' height='10' rx='1'/%3E%3Crect x='9' y='16' width='10' height='10' rx='1'/%3E%3Crect x='23' y='16' width='10' height='10' rx='1'/%3E%3Crect x='37' y='16' width='10' height='10' rx='1'/%3E%3Crect x='2' y='30' width='10' height='10' rx='1'/%3E%3Crect x='16' y='30' width='10' height='10' rx='1'/%3E%3Crect x='30' y='30' width='10' height='10' rx='1'/%3E%3Crect x='44' y='30' width='10' height='10' rx='1'/%3E%3Crect x='9' y='44' width='10' height='10' rx='1'/%3E%3Crect x='23' y='44' width='10' height='10' rx='1'/%3E%3Crect x='37' y='44' width='10' height='10' rx='1'/%3E%3C/g%3E%3Cg fill='%232a3448'%3E%3Crect x='9' y='2' width='10' height='10' rx='1'/%3E%3Crect x='23' y='2' width='10' height='10' rx='1'/%3E%3Crect x='37' y='2' width='10' height='10' rx='1'/%3E%3Crect x='2' y='16' width='10' height='10' rx='1'/%3E%3Crect x='16' y='16' width='10' height='10' rx='1'/%3E%3Crect x='30' y='16' width='10' height='10' rx='1'/%3E%3Crect x='44' y='16' width='10' height='10' rx='1'/%3E%3Crect x='9' y='30' width='10' height='10' rx='1'/%3E%3Crect x='23' y='30' width='10' height='10' rx='1'/%3E%3Crect x='37' y='30' width='10' height='10' rx='1'/%3E%3Crect x='2' y='44' width='10' height='10' rx='1'/%3E%3Crect x='16' y='44' width='10' height='10' rx='1'/%3E%3Crect x='30' y='44' width='10' height='10' rx='1'/%3E%3Crect x='44' y='44' width='10' height='10' rx='1'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 56px 56px;
}

/* Youth portrait collage — stylized silhouettes (replace SVG or use --youth-auth-faces-url for photos) */
.youth-auth-hero-bg__faces {
    opacity: 0.62;
    background-image: var(--youth-auth-faces-pattern);
    background-size: 360px 360px;
    background-position: 12% 8%;
    filter: saturate(0.9) contrast(1.08);
}

/* Real photos: drop JPG/PNG/WebP in public/img/auth-youth-faces/ */
.youth-auth-hero-bg__photos {
    position: absolute;
    inset: -8%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 0.65rem;
    transform: rotate(-4deg) scale(1.08);
    opacity: 0.48;
    filter: saturate(0.92);
}

.youth-auth-hero-photo {
    display: block;
    border-radius: 50%;
    background-size: cover;
    background-position: center top;
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.youth-auth-hero-photo--1 { grid-column: 1; grid-row: 1; transform: scale(0.92); }
.youth-auth-hero-photo--2 { grid-column: 2; grid-row: 1; transform: scale(1.05); }
.youth-auth-hero-photo--3 { grid-column: 4; grid-row: 1; transform: scale(0.88); }
.youth-auth-hero-photo--4 { grid-column: 1; grid-row: 2; transform: scale(1.1); }
.youth-auth-hero-photo--5 { grid-column: 3; grid-row: 2; transform: scale(0.95); }
.youth-auth-hero-photo--6 { grid-column: 4; grid-row: 2; transform: scale(1.02); }
.youth-auth-hero-photo--7 { grid-column: 2; grid-row: 3; transform: scale(1.08); }

.youth-auth-hero--photos .youth-auth-hero-bg__mosaic {
    opacity: 0.28;
}

.youth-auth-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(165deg, rgba(12, 16, 26, 0.78) 0%, rgba(12, 16, 26, 0.42) 42%, rgba(12, 16, 26, 0.72) 100%);
    pointer-events: none;
}

.youth-auth-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.28;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.youth-auth-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 32rem;
    margin: 0 auto;
}

.youth-auth-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.youth-auth-brand img {
    height: 4.5rem;
    width: auto;
    border-radius: 0.75rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    margin-bottom: 1rem;
}

.youth-auth-brand h1 {
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.youth-auth-brand p {
    margin: 0;
    font-size: 0.875rem;
    color: #c7d2fe;
    line-height: 1.5;
}

.youth-auth-brand .youth-auth-org {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a5b4fc;
}

/* Momentum / XP strip */
.youth-auth-momentum {
    margin-bottom: 1.75rem;
    padding: 1rem 1.15rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    backdrop-filter: blur(8px);
}

.youth-auth-momentum-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fde68a;
}

.youth-auth-momentum-bar {
    height: 0.5rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 9999px;
    overflow: hidden;
}

.youth-auth-momentum-fill {
    height: 100%;
    width: 8%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 9999px;
    animation: youth-pulse-glow 2.5s ease-in-out infinite;
}

@keyframes youth-pulse-glow {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(251, 191, 36, 0.5); }
    50% { opacity: 0.85; box-shadow: 0 0 14px rgba(251, 191, 36, 0.8); }
}

.youth-auth-momentum p {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    color: #e0e7ff;
}

/* Journey steps */
.youth-auth-journey {
    margin-bottom: 1.75rem;
}

.youth-auth-journey h2 {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c7d2fe;
}

.youth-auth-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
    position: relative;
}

/* Animated journey cycle (Sign in → Learn → Submit → Impact) */
.youth-auth-steps--cycle {
    --youth-journey-duration: 10s;
}

.youth-auth-journey-track {
    position: absolute;
    top: 1.05rem;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    z-index: 0;
    overflow: visible;
}

.youth-auth-journey-fill {
    display: block;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #818cf8);
    transform-origin: left center;
    transform: scaleX(0);
    animation: youth-journey-fill var(--youth-journey-duration) ease-in-out infinite;
}

.youth-auth-journey-beacon {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0.65rem;
    height: 0.65rem;
    margin-top: -0.325rem;
    margin-left: -0.325rem;
    border-radius: 50%;
    background: #fde68a;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.35), 0 0 12px rgba(251, 191, 36, 0.85);
    animation: youth-journey-beacon var(--youth-journey-duration) ease-in-out infinite;
}

@keyframes youth-journey-fill {
    0% { transform: scaleX(0); }
    22% { transform: scaleX(0.33); }
    47% { transform: scaleX(0.66); }
    72% { transform: scaleX(1); }
    88% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(0); opacity: 0.6; }
}

@keyframes youth-journey-beacon {
    0% { left: 0%; opacity: 1; }
    22% { left: 33.33%; }
    47% { left: 66.66%; }
    72% { left: 100%; }
    88% { left: 100%; opacity: 1; }
    100% { left: 0%; opacity: 0.85; }
}

.youth-auth-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 0.15rem;
}

.youth-auth-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    margin: 0 auto 0.4rem;
    font-size: 0.9rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #94a3b8;
}

.youth-auth-steps--cycle .youth-auth-step:nth-child(2) .youth-auth-step-icon {
    animation: youth-journey-step-1 var(--youth-journey-duration) ease-in-out infinite;
}
.youth-auth-steps--cycle .youth-auth-step:nth-child(3) .youth-auth-step-icon {
    animation: youth-journey-step-2 var(--youth-journey-duration) ease-in-out infinite;
}
.youth-auth-steps--cycle .youth-auth-step:nth-child(4) .youth-auth-step-icon {
    animation: youth-journey-step-3 var(--youth-journey-duration) ease-in-out infinite;
}
.youth-auth-steps--cycle .youth-auth-step:nth-child(5) .youth-auth-step-icon {
    animation: youth-journey-step-4 var(--youth-journey-duration) ease-in-out infinite;
}

.youth-auth-steps--cycle .youth-auth-step:nth-child(2) span {
    animation: youth-journey-label-1 var(--youth-journey-duration) ease-in-out infinite;
}
.youth-auth-steps--cycle .youth-auth-step:nth-child(3) span {
    animation: youth-journey-label-2 var(--youth-journey-duration) ease-in-out infinite;
}
.youth-auth-steps--cycle .youth-auth-step:nth-child(4) span {
    animation: youth-journey-label-3 var(--youth-journey-duration) ease-in-out infinite;
}
.youth-auth-steps--cycle .youth-auth-step:nth-child(5) span {
    animation: youth-journey-label-4 var(--youth-journey-duration) ease-in-out infinite;
}

@keyframes youth-journey-step-1 {
    0%, 18% {
        transform: translateY(-4px) scale(1.08);
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        border-color: #fde68a;
        color: #78350f;
        box-shadow: 0 4px 14px rgba(251, 191, 36, 0.55);
    }
    24%, 92% {
        transform: translateY(0) scale(1);
        background: rgba(129, 140, 248, 0.25);
        border-color: rgba(129, 140, 248, 0.55);
        color: #c7d2fe;
        box-shadow: none;
    }
    96%, 100% {
        transform: translateY(0) scale(1);
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        color: #94a3b8;
        box-shadow: none;
    }
}

@keyframes youth-journey-step-2 {
    0%, 22% {
        transform: translateY(0) scale(1);
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        color: #94a3b8;
        box-shadow: none;
    }
    28%, 43% {
        transform: translateY(-4px) scale(1.08);
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        border-color: #fde68a;
        color: #78350f;
        box-shadow: 0 4px 14px rgba(251, 191, 36, 0.55);
    }
    49%, 100% {
        transform: translateY(0) scale(1);
        background: rgba(129, 140, 248, 0.25);
        border-color: rgba(129, 140, 248, 0.55);
        color: #c7d2fe;
        box-shadow: none;
    }
}

@keyframes youth-journey-step-3 {
    0%, 47% {
        transform: translateY(0) scale(1);
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        color: #94a3b8;
        box-shadow: none;
    }
    53%, 68% {
        transform: translateY(-4px) scale(1.08);
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        border-color: #fde68a;
        color: #78350f;
        box-shadow: 0 4px 14px rgba(251, 191, 36, 0.55);
    }
    74%, 100% {
        transform: translateY(0) scale(1);
        background: rgba(129, 140, 248, 0.25);
        border-color: rgba(129, 140, 248, 0.55);
        color: #c7d2fe;
        box-shadow: none;
    }
}

@keyframes youth-journey-step-4 {
    0%, 72% {
        transform: translateY(0) scale(1);
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        color: #94a3b8;
        box-shadow: none;
    }
    78%, 90% {
        transform: translateY(-4px) scale(1.08);
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        border-color: #fde68a;
        color: #78350f;
        box-shadow: 0 4px 14px rgba(251, 191, 36, 0.55);
    }
    96%, 100% {
        transform: translateY(0) scale(1);
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        color: #94a3b8;
        box-shadow: none;
    }
}

@keyframes youth-journey-label-1 {
    0%, 18% { color: #fde68a; }
    24%, 100% { color: #a5b4fc; }
}

@keyframes youth-journey-label-2 {
    0%, 22% { color: #a5b4fc; }
    28%, 43% { color: #fde68a; }
    49%, 100% { color: #a5b4fc; }
}

@keyframes youth-journey-label-3 {
    0%, 47% { color: #a5b4fc; }
    53%, 68% { color: #fde68a; }
    74%, 100% { color: #a5b4fc; }
}

@keyframes youth-journey-label-4 {
    0%, 72% { color: #a5b4fc; }
    78%, 90% { color: #fde68a; }
    96%, 100% { color: #a5b4fc; }
}

.youth-auth-journey-hint {
    margin: 0.65rem 0 0;
    font-size: 0.6875rem;
    color: #a5b4fc;
    text-align: center;
    line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
    .youth-auth-steps--cycle .youth-auth-journey-fill,
    .youth-auth-steps--cycle .youth-auth-journey-beacon,
    .youth-auth-steps--cycle .youth-auth-step-icon,
    .youth-auth-steps--cycle .youth-auth-step span {
        animation: none !important;
    }

    .youth-auth-steps--cycle .youth-auth-step:nth-child(2) .youth-auth-step-icon {
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        border-color: #fde68a;
        color: #78350f;
        box-shadow: 0 4px 14px rgba(251, 191, 36, 0.45);
    }

    .youth-auth-steps--cycle .youth-auth-step:nth-child(2) span {
        color: #fde68a;
    }

    .youth-auth-journey-fill {
        transform: scaleX(0.25);
    }

    .youth-auth-journey-beacon {
        left: 0;
    }
}

.youth-auth-step span {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1.25;
    color: #a5b4fc;
}

/* Quest / unlock cards */
.youth-auth-quests h2 {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c7d2fe;
}

.youth-auth-quest-grid {
    display: grid;
    gap: 0.65rem;
}

@media (min-width: 480px) {
    .youth-auth-quest-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.youth-auth-quest {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.75rem 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.youth-auth-quest:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.youth-auth-quest-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    color: #fde68a;
}

.youth-auth-quest strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.15rem;
}

.youth-auth-quest p {
    margin: 0;
    font-size: 0.6875rem;
    line-height: 1.4;
    color: #c7d2fe;
}

.youth-auth-quest-lock {
    margin-left: auto;
    font-size: 0.65rem;
    color: #94a3b8;
    align-self: center;
}

/* —— Login panel —— */
.youth-auth-main {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    background: #f8fafc;
}

@media (min-width: 1024px) {
    .youth-auth-main {
        width: 28rem;
        max-width: 32rem;
        min-height: 100vh;
    }
}

.youth-auth-card {
    width: 100%;
    max-width: 24rem;
    padding: 2rem 1.75rem;
    background: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    border: 1px solid #e2e8f0;
}

.youth-auth-card h2 {
    margin: 0 0 0.25rem;
    font-size: 1.375rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.youth-auth-card .youth-auth-card-sub {
    margin: 0 0 1.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.youth-auth-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
}

.youth-auth-form input[type="email"],
.youth-auth-form input[type="password"],
.youth-auth-form input[type="text"] {
    display: block;
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-size: 0.9375rem;
    color: #0f172a;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.youth-auth-form input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.youth-auth-field {
    margin-bottom: 1.15rem;
}

.youth-auth-form .alt-password-wrap > label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
}

.youth-auth-form .alt-password-field input {
    display: block;
    width: 100%;
    padding: 0.65rem 2.25rem 0.65rem 0.85rem;
    font-size: 0.9375rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    box-sizing: border-box;
}

.youth-auth-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: #475569;
    cursor: pointer;
}

.youth-auth-remember input {
    width: 1rem;
    height: 1rem;
    accent-color: #4f46e5;
}

.youth-auth-form button.youth-auth-submit,
.youth-auth-card button.youth-auth-submit,
button.youth-auth-submit {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
    padding: 0.85rem 1.25rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    color: #ffffff !important;
    background-color: #4f46e5 !important;
    background-image: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    border: none !important;
    border-radius: 0.65rem !important;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35) !important;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.youth-auth-form button.youth-auth-submit:hover,
.youth-auth-card button.youth-auth-submit:hover,
button.youth-auth-submit:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.45) !important;
    background-color: #4338ca !important;
    background-image: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%) !important;
    filter: brightness(1.05);
}

.youth-auth-submit i {
    color: #ffffff !important;
}

.youth-auth-forgot {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #4f46e5 !important;
    text-decoration: none !important;
}

.youth-auth-forgot:hover {
    text-decoration: underline !important;
}

.youth-auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

.youth-auth-divider::before,
.youth-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.youth-auth-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.youth-auth-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #4338ca !important;
    text-decoration: none !important;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 0.5rem;
    transition: background 0.15s;
}

.youth-auth-link-btn:hover {
    background: #e0e7ff;
}

.youth-auth-errors {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
}

.youth-auth-errors ul {
    margin: 0;
    padding-left: 1.15rem;
}

.youth-auth-status {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    border-radius: 0.5rem;
}

.youth-auth-xp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #78350f;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 9999px;
    border: 1px solid #fcd34d;
}
