/* ===== Kho Kho Uganda — Auth pages (Login / Register) ===== */
:root {
    --kku-blue: #1957A6;
    --kku-blue-dark: #0F3D7A;
    --kku-gold: #F5C518;
    --kku-red: #D62828;
    --kku-black: #14181F;
    --kku-ink: #1C2430;
    --kku-muted: #6B7280;
    --kku-bg-alt: #F5F7FB;
}

* { box-sizing: border-box; }

body.auth-body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--kku-ink);
    background: var(--kku-bg-alt);
    min-height: 100vh;
}

.auth-split {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
}
@media (min-width: 992px) {
    .auth-split { grid-template-columns: 46% 54%; }
}

/* ===== Left brand panel ===== */
.auth-brand-panel {
    position: relative;
    background: linear-gradient(135deg, var(--kku-blue-dark) 0%, var(--kku-blue) 60%, #2568BE 100%);
    color: #fff;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    min-height: 280px;
}
.auth-brand-panel::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 15%, rgba(245,197,24,.22), transparent 45%);
}
.auth-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.auth-glow-1 { width: 260px; height: 260px; background: rgba(255,255,255,.07); top: -100px; right: -70px; }
.auth-glow-2 { width: 200px; height: 200px; background: rgba(245,197,24,.10); bottom: -90px; left: -60px; }

.auth-brand-top { position: relative; z-index: 2; }
.auth-brand-logo { display: flex; align-items: center; gap: .7rem; margin-bottom: 3rem; }
.auth-brand-logo img { height: 44px; width: 44px; object-fit: contain; }
.auth-brand-logo span { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; }

.auth-brand-title {
    font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2.1rem; line-height: 1.15;
    margin-bottom: .9rem;
}
.auth-brand-title span { color: var(--kku-gold); }
.auth-brand-text { color: rgba(255,255,255,.85); font-size: .98rem; line-height: 1.6; max-width: 420px; }

.auth-brand-stats { position: relative; z-index: 2; display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.auth-brand-stat strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--kku-gold); }
.auth-brand-stat span { font-size: .78rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .04em; }

/* ===== Right form panel ===== */
.auth-form-panel {
    display: flex; align-items: center; justify-content: center;
    padding: 3rem 1.5rem;
}
.auth-form-wrap { width: 100%; max-width: 420px; }
.auth-form-eyebrow { color: var(--kku-red); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; }
.auth-form-title { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.7rem; color: var(--kku-blue-dark); margin: .3rem 0 .5rem; }
.auth-form-sub { color: var(--kku-muted); font-size: .92rem; margin-bottom: 1.8rem; }

.auth-field { margin-bottom: 1.15rem; }
.auth-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--kku-ink); margin-bottom: .4rem; }
.auth-field input {
    width: 100%; padding: .8rem 1rem; border-radius: 10px; border: 1.5px solid #E4E8F0;
    background: #fff; font-size: .95rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.auth-field input:focus {
    outline: none; border-color: var(--kku-blue); box-shadow: 0 0 0 3px rgba(25,87,166,.12);
}
.auth-field .text-danger { display: block; font-size: .8rem; margin-top: .35rem; color: var(--kku-red); }
.text-danger { color: var(--kku-red); }
.auth-checkbox { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.4rem; font-size: .88rem; color: var(--kku-muted); }

.auth-submit {
    width: 100%; padding: .85rem; border: none; border-radius: 10px;
    background: var(--kku-blue); color: #fff; font-weight: 700; font-size: .96rem;
    cursor: pointer; transition: background .15s ease, transform .1s ease;
}
.auth-submit:hover { background: var(--kku-blue-dark); }
.auth-submit:active { transform: scale(.99); }
.auth-submit-link { display: block; text-align: center; text-decoration: none; }

.auth-alt { text-align: center; margin-top: 1.6rem; font-size: .9rem; color: var(--kku-muted); }
.auth-alt a { color: var(--kku-blue); font-weight: 700; text-decoration: none; }
.auth-alt a:hover { color: var(--kku-blue-dark); text-decoration: underline; }

.auth-back-home { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--kku-muted); text-decoration: none; margin-top: 2rem; }
.auth-back-home:hover { color: var(--kku-blue); }

.auth-summary {
    background: #FDEBEC; border: 1px solid #F6C6C9; color: var(--kku-red);
    border-radius: 10px; padding: .8rem 1rem; font-size: .87rem; margin-bottom: 1.3rem;
}
.auth-summary ul { margin: 0; padding-left: 1.1rem; }
