/* ==========================================================================
   OVANIE PREMIUM LOGIN STYLESHEET
   ========================================================================== */

.login-container {
    max-width: 480px;
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(229, 231, 235, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(3, 10, 30, 0.08);
}

.login-container h1 {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

/* ==========================================================================
   FORM CONTROLS
   ========================================================================== */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-form label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: -12px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    font-size: 15px;
    background-color: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    color: #111827;
    outline: none;
    transition: all 0.2s ease-in-out;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    background-color: #ffffff;
    border-color: var(--ov-blue);
    box-shadow: 0 0 0 4px rgba(7, 151, 223, 0.12);
}

/* Password eye toggle wrapper */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    padding-right: 50px !important;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    display: block;
}

.password-toggle:hover {
    opacity: 1;
}

/* Errors & Alerts */
.form-alert {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.form-alert.error {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #b91c1c;
}

.form-alert p {
    margin: 0;
}

/* Submit Button */
.btn-login {
    height: 52px;
    width: 100%;
    background: linear-gradient(135deg, var(--ov-blue), var(--ov-blue-2));
    border: none;
    border-radius: 14px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(2, 79, 200, 0.2);
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(2, 79, 200, 0.3);
    filter: brightness(1.05);
}

.btn-login:active {
    transform: translateY(1px);
}

/* Auxiliary Links */
.form-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    margin-top: 5px;
}

.form-links a {
    color: var(--ov-blue-2);
    transition: color 0.2s;
}

.form-links a:hover {
    color: var(--ov-blue);
    text-decoration: underline;
}

/* ==========================================================================
   SOCIAL LOGIN
   ========================================================================== */

.social-login {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-login p {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    margin-bottom: 8px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 48px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1.5px solid #e5e7eb;
}

.btn-social.google {
    background-color: #ffffff;
    color: #374151;
}

.btn-social.google:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.btn-social.facebook {
    background-color: #1877f2;
    color: #ffffff;
    border-color: #1877f2;
}

.btn-social.facebook:hover {
    background-color: #166fe5;
    border-color: #166fe5;
}

.btn-social img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 520px) {
    .login-container {
        margin: 30px 16px;
        padding: 24px;
        border-radius: 20px;
    }
    
    .login-container h1 {
        font-size: 24px;
        margin-bottom: 24px;
    }
}
