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

.login-page h1 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.login-page form {
    background-color: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.login-page form:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    font-size: 1.2rem;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.toggle-password:hover {
    opacity: 1;
}

.field-error {
    display: block;
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius-md);
    background-color: var(--primary);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.btn-submit:hover:not(:disabled) {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(58, 167, 255, 0.4);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit .btn-loader {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.form-links {
    margin-top: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-links a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-links a:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}

.theme-toggle-wrapper {
    margin-top: 2rem;
}

.login-page input:focus {
    animation: inputPulse 0.3s ease;
}

@keyframes inputPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

/* Verification Success Banner */
.verification-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    animation: slideDown 0.5s ease-out;
}

.verification-banner .banner-icon {
    font-size: 1.5rem;
}

.verification-banner .banner-text {
    font-weight: 600;
    font-size: 0.95rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 480px) {
    .login-page {
        padding: 1rem;
    }
    
    .login-page form {
        padding: 1.5rem;
    }
    
    .login-page h1 {
        font-size: 1.5rem;
    }
    
    .verification-banner {
        flex-direction: column;
        text-align: center;
    }
}
