.auth-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--color-sidebar-bg) 0%, var(--color-primary-dark) 55%, var(--color-primary) 130%);
    background-size: 200% 200%;
    animation: pitchGradient 16s ease infinite;
}

@keyframes pitchGradient {
    0%   { background-position: 0% 0%; }
    50%  { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

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

.pitch-bg svg {
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.pitch-ball {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffffff, #d8dee5 70%);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    opacity: 0.85;
}

.pitch-ball-1 {
    top: 14%;
    left: 10%;
    animation: floatBall 7s ease-in-out infinite;
}

.pitch-ball-2 {
    bottom: 12%;
    right: 12%;
    width: 18px;
    height: 18px;
    animation: floatBall 9s ease-in-out infinite reverse;
}

@keyframes floatBall {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-22px) rotate(140deg); }
}

.auth-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    animation: authRise 0.5s ease;
}

@keyframes authRise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: left;
    margin-bottom: 22px;
    color: #fff;
}

.auth-crest {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.auth-logo-text strong {
    display: block;
    font-family: "Poppins", "Inter", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.auth-logo-text span {
    display: block;
    font-size: 12.5px;
    opacity: 0.78;
    margin-top: 3px;
}

.auth-card {
    background: var(--color-card);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(6, 20, 15, 0.35);
    padding: 34px 32px;
    border-top: 4px solid var(--color-accent);
}

.auth-card h1 {
    font-family: "Poppins", "Inter", sans-serif;
    font-size: 21px;
    margin-bottom: 4px;
}

.auth-card .subtitle {
    color: var(--color-muted);
    font-size: 13.5px;
    margin-bottom: 22px;
}

.auth-footer-link {
    text-align: center;
    margin-top: 18px;
    font-size: 13.5px;
    color: var(--color-muted);
}

.auth-row {
    display: flex;
    gap: 12px;
}

.auth-row .form-group {
    flex: 1;
}
