/**
 * Usuario OAuth Login Styles
 * Modern gradient login page with OAuth integration
 */

.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header .logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.login-header .logos img {
    max-height: 50px;
    height: auto;
}

.login-header .logos .app-logo {
    max-height: 60px;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.login-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.login-form .form-control {
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-form .form-control:focus {
    background: #fff !important;
    border-color: #4e73df;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.form-options .form-check {
    margin: 0;
}

.form-options .form-check-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.form-options a {
    color: #4e9cff;
    font-size: 14px;
    text-decoration: none;
}

.form-options a:hover {
    text-decoration: underline;
}

.btn-signin {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 24px;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.divider span {
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.social-login {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.social-btn .auth-icon {
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    background-repeat: no-repeat !important;
    background-size: 20px auto !important;
    vertical-align: middle;
    margin: 0 !important;
    flex-shrink: 0;
}

.social-btn .auth-icon.google {
    background-position: 0 -21px !important;
}

.social-btn .auth-icon.microsoft {
    background-position: 0 -170px !important;
}

.social-btn .auth-icon.facebook {
    background-position: 0 0 !important;
}

.signup-link {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.signup-link a {
    color: #4e9cff;
    text-decoration: none;
    font-weight: 500;
}

.signup-link a:hover {
    text-decoration: underline;
}

.field-loginform-login,
.field-loginform-password {
    margin-bottom: 0 !important;
}

.field-loginform-login label,
.field-loginform-password label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.field-loginform-rememberme {
    margin-bottom: 0 !important;
}

.help-block {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .login-card {
        padding: 30px 20px;
    }
    
    .social-login {
        flex-direction: column;
    }
    
    .login-header h1 {
        font-size: 24px;
    }
}

