       :root {
    --primary-color: #2563eb;    /* Azul cobalto moderno */
    --primary-hover: #1d4ed8;
    --bg-dark: #0f172a;          /* Azul marino profundo (Empresarial) */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    color: var(--text-main);
}

/* Fondo animado sutil */
.background-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    z-index: -1;
}

.background-overlay::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(120px);
    opacity: 0.15;
    top: 10%;
    right: 10%;
    animation: moveLight 15s infinite alternate;
}

@keyframes moveLight {
    from { transform: translate(0, 0); }
    to { transform: translate(-100px, 50px); }
}

/* Contenedor Principal */
.login-container {
    display: flex;
    width: 900px;
    max-width: 95%;
    min-height: 550px;
    background: var(--glass-bg);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Lado Izquierdo (Info) */
.login-info {
    flex: 1;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.branding {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.branding h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.branding h1 span {
    color: var(--primary-color);
}

.login-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 30px;
}

.info-footer {
    margin-top: auto;
    font-size: 0.85rem;
    color: #475569;
}

/* Lado Derecho (Formulario) */
.login-form-section {
    flex: 1.2;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header {
    margin-bottom: 35px;
}

.form-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bg-dark);
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Estilo de Inputs */
.input-group {
    margin-bottom: 20px;
}

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

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

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--text-muted);
    transition: var(--transition);
}

.input-wrapper input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.input-wrapper input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.input-wrapper input:focus + i, 
.input-wrapper input:not(:placeholder-shown) + i {
    color: var(--primary-color);
}

/* Opciones extra */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.85rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    cursor: pointer;
}

.forgot-pass {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.forgot-pass:hover {
    text-decoration: underline;
}

/* Botón Login */
.btn-login {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

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

.support-link {
    margin-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.support-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        width: 100%;
        margin: 20px;
    }
    .login-info {
        padding: 30px;
        min-height: auto;
    }
    .login-form-section {
        padding: 40px 30px;
    }
}

/* Hereda las variables del login anterior */

.support-container {
    background: var(--glass-bg);
    width: 600px;
    max-width: 95%;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.animate-in {
    animation: slideUp 0.6s ease-out;
}

.support-header {
    text-align: center;
    margin-bottom: 30px;
}

.back-link {
    text-align: left;
    margin-bottom: 20px;
}

.back-link a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.back-link a:hover {
    color: var(--primary-color);
}

.support-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.support-header h1 {
    font-size: 1.8rem;
    color: var(--bg-dark);
    margin-bottom: 10px;
}

.support-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Formulario mejorado */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

select {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    appearance: none;
    background-color: white;
}

textarea {
    width: 100%;
    padding: 15px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    resize: none;
    transition: var(--transition);
    outline: none;
}

textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

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

.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mensaje de Éxito */
.hidden { display: none; }

.success-card {
    text-align: center;
    padding: 20px 0;
    animation: fadeIn 0.5s ease;
}

.success-card i {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 15px;
}

.btn-outline {
    margin-top: 20px;
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}