/* Login Renovado - Diseño Moderno */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #EEE;
    background-image: url('../../img/fondo-iexe-alumnoActivo2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Fondo animado con partículas */
/* body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
    z-index: -1;
} */

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.container-fluid {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    z-index: 1;
}

/* Logo container */
.logo-container {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.logo-container img {
    max-width: 120px;
    max-height: 120px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

/* Login Box Moderno */
.login-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Header del login */
.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h3 {
    color: #2d3748;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
}

.login-header h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, #0F2A61, #D4E4F9);
    border-radius: 2px;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

/* Input moderno - Versión ampliada para campo único */
.form-control-modern {
    width: 100%;
    padding: 1.5rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1.2rem;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    text-align: center;
    font-weight: 500;
}

.form-control-modern:focus {
    border-color: #0F2A61;
    box-shadow: 0 0 0 4px rgba(15, 42, 97, 0.1);
    transform: translateY(-3px);
}

.form-control-modern:hover {
    border-color: #0F2A61;
    box-shadow: 0 5px 15px rgba(15, 42, 97, 0.1);
}

/* Input con icono - Ajustado para campo único */
.input-group {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #0F2A61;
    font-size: 1.3rem;
    z-index: 2;
}

.form-control-modern.with-icon {
    padding-left: 4rem;
    text-align: left;
}

/* Form Groups - Espaciado mejorado */
.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-label {
    display: block;
    color: #0F2A61;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    text-align: center;
}

/* Botón moderno - Ajustado para mejor proporción */
.btn-modern {
    width: 100%;
    padding: 1.5rem 2rem;
    background: #0F2A61;
    border: none;
    border-radius: 15px;
    color: #D4E4F9;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 1rem;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(15, 42, 97, 0.4);
    background: #1a3a7a;
}

/* Login Box - Ajustado para mejor proporción */
.login-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 4rem 3rem;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Responsive Design - Ajustado */
@media (max-width: 768px) {
    .login-box {
        padding: 3rem 2rem;
        margin: 1rem;
        border-radius: 20px;
        max-width: 90%;
    }
    
    .form-control-modern {
        padding: 1.2rem 1.2rem;
        font-size: 1.1rem;
    }
    
    .form-control-modern.with-icon {
        padding-left: 3.5rem;
    }
    
    .btn-modern {
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }
    
    .form-control-modern {
        padding: 1rem 1rem;
        font-size: 1rem;
    }
    
    .form-control-modern.with-icon {
        padding-left: 3rem;
    }
    
    .btn-modern {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .input-icon {
        font-size: 1.1rem;
        left: 1rem;
    }
}

/* Efectos adicionales */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Loading state */
.btn-modern.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-modern.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



/* Focus visible para accesibilidad */
.form-control-modern:focus-visible,
.btn-modern:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Login Renovado - Diseño Moderno */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #EEE;
    background-image: url('../../img/fondo-iexe-alumnoActivo2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}



/* SISTEMA DE NOTIFICACIONES MEJORADO */
.notify {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 350px;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    animation: slideInRight 0.5s ease-out;
    overflow: hidden;
}

.notify::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.notify p {
    padding: 20px 20px 20px 30px;
    margin: 0;
    line-height: 1.5;
    position: relative;
}

.notify p::before {
    content: '\2139';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #667eea;
    font-weight: bold;
}

/* Notificación de Error */
.notify.error {
    background: rgba(254, 242, 242, 0.95);
    color: #c53030;
    border-left-color: #e53e3e;
}

.notify.error::before {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
}

.notify.error p::before {
    content: '\26A0';
    color: #e53e3e;
    margin-left: 10px;
}

/* Notificación de Éxito */
.notify.success {
    background: rgba(240, 253, 244, 0.95);
    color: #2f855a;
    border-left-color: #38a169;
}

.notify.success::before {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.notify.success p::before {
    content: '\2713';
    color: #38a169;
}

/* Notificación de Advertencia */
.notify.warning {
    background: rgba(255, 251, 235, 0.95);
    color: #d69e2e;
    border-left-color: #ed8936;
}

.notify.warning::before {
    background: linear-gradient(135deg, #ed8936 0%, #d69e2e 100%);
}

.notify.warning p::before {
    content: '\26A0';
    color: #ed8936;
}

/* Animaciones para notificaciones */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Hover effect para notificaciones */
.notify:hover {
    transform: translateX(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

/* Responsive para notificaciones */
@media (max-width: 768px) {
    .notify {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

