.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    padding: 36px 32px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.double-y-wordmark--login .double-y-glyph {
    filter: drop-shadow(0 0 4px rgba(102, 126, 234, 0.35));
    animation: doubleYGlyphPulseLogin 2.8s ease-in-out infinite;
}

.double-y-wordmark--login .double-y-glyph-bottom {
    animation-delay: 0.35s;
}

@keyframes doubleYGlyphPulseLogin {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 3px rgba(102, 126, 234, 0.25));
    }
    50% {
        transform: scale(1.15) rotate(3deg);
        filter: drop-shadow(0 0 8px rgba(118, 75, 162, 0.55));
    }
}

@media (prefers-reduced-motion: reduce) {
    .double-y-wordmark--login .double-y-glyph {
        animation: none !important;
    }
}

.double-y-wordmark--login.double-y-wordmark--settled .double-y-glyph {
    animation: none !important;
    transform: none;
}

.login-wordmark {
    margin-bottom: 16px;
}

.login-card h1 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.login-subtitle {
    color: #666;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.login-form .form-group {
    text-align: left;
    margin-bottom: 16px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-weight: 600;
}

.login-form input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.login-form input:focus {
    outline: none;
    border-color: #667eea;
}

.login-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fdecea;
    color: #c0392b;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.login-error[hidden] {
    display: none !important;
}

.login-captcha-panel {
    text-align: left;
    margin-bottom: 16px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #c7d2fe;
    background: #eef2ff;
}

.login-captcha-panel[hidden] {
    display: none !important;
}

.login-captcha-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #3730a3;
    margin-bottom: 6px;
}

.login-captcha-question {
    margin: 0 0 12px;
    color: #4338ca;
    font-size: 1.05rem;
    font-weight: 700;
}

.login-captcha-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.login-captcha-row input {
    flex: 1 1 auto;
}

.login-captcha-row .btn {
    flex: 0 0 auto;
    min-width: 44px;
    padding: 12px 14px;
}

.login-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
}

.login-footer {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}
