/* ======================================
   ESTILOS ESPECÍFICOS PARA PÁGINA DE LOGIN
   ====================================== */

.login-body {
    background: linear-gradient(135deg, #f6f6f6 0%, #e8e8e8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    gap: 35px;
}

.login-header {
    text-align: center;
    margin: 21px 0;
}

.login-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.login-logo {
    height: 48px;
    width: auto;
}

.login-title {
    font-size: 28px;
    font-weight: 600;
    color: #003366;
    margin: 0;
}

.login-form-container {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.login-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 51, 102, 0.1);
    border: 1px solid rgba(0, 51, 102, 0.08);
    width: 100%;
    max-width: 400px;
}

.login-icon {
    text-align: center;
    margin-bottom: 24px;
}

.login-icon i {
    font-size: 48px;
    color: #003366;
    opacity: 0.8;
}

.login-subtitle {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.login-description {
    text-align: center;
    color: #666;
    margin: 0 0 32px 0;
    font-size: 14px;
}

/* ======================================
   MENSAJES OAUTH
   ====================================== */

.oauth-info-message, .oauth-error-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 14px;
    font-weight: 500;
}

.oauth-info-message {
    background-color: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #2196f3;
}

.oauth-info-message i {
    color: #2196f3;
    font-size: 16px;
}

.oauth-error-message {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

.oauth-error-message i {
    color: #f44336;
    font-size: 16px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label i {
    color: #003366;
    width: 16px;
}

.form-input {
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fafafa;
    width: 332px;
}

.form-input:focus {
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
    background: white;
}

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

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #003366;
}

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

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: #003366;
}

.forgot-password {
    color: #003366;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #0066cc;
    text-decoration: underline;
}

.login-button {
    background: #003366;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-family: "Roboto", sans-serif;
}

.login-button:hover {
    background: #0066cc;
    transform: translateY(-1px);
}

.login-button:active {
    transform: translateY(0);
}

.login-error {
    background: #fee;
    color: #c33;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #fcc;
    margin-top: 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-error i {
    color: #c33;
}

.login-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    color: #666;
    font-size: 12px;
    border-top: 1px solid #e0e0e0;
}

/* ========== RESPONSIVE PARA LOGIN ========== */

@media (max-width: 768px) {
    .login-container {
        padding: 16px;
        min-height: 100vh;
    }
    
    .login-card {
        padding: 24px;
        border-radius: 12px;
    }
    
    .login-title {
        font-size: 24px;
    }
    
    .login-subtitle {
        font-size: 20px;
    }
    
    .form-input {
        padding: 14px;
        font-size: 16px;
    }
    
    .login-button {
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 12px;
    }
    
    .login-card {
        padding: 20px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}