.login-page {
    min-height: 100vh;
    background: linear-gradient(160deg, #0b3d91 0%, #1565c0 40%, #42a5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.login-page::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.login-card {
    background: rgba(255,255,255,0.97);
    border-radius: 20px;
    padding: 40px 36px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    animation: loginSlide 0.6s ease;
}

@keyframes loginSlide {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-logo {
    text-align: center;
    margin-bottom: 8px;
}

.login-logo img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid #e3f2fd;
    object-fit: contain;
    padding: 3px;
    background: white;
}

.login-card h4 {
    text-align: center;
    color: #0b3d91;
    font-weight: 700;
    margin-bottom: 4px;
}

.login-card .login-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 28px;
}

.form-floating {
    margin-bottom: 16px;
}

.form-floating .form-control {
    border: 2px solid #e3f2fd;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #f8fbff;
}

.form-floating .form-control:focus {
    border-color: #1565c0;
    box-shadow: 0 0 0 3px rgba(21,101,192,0.1);
    background: white;
}

.form-floating label {
    color: #6c757d;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1565c0, #42a5f5);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(21,101,192,0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(21,101,192,0.4);
}

.captcha-box {
    background: #f0f8ff;
    border: 2px dashed #90caf9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    text-align: center;
}

.captcha-box .math-question {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0b3d91;
    margin-bottom: 10px;
}

.captcha-box .captcha-hint {
    font-size: 0.8rem;
    color: #6c757d;
}

.alert-error {
    background: #ffeaea;
    color: #c62828;
    border: 1px solid #ffcdd2;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #1565c0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #0b3d91;
}