/* ============= ESTILOS MODERNOS PARA LOGIN ============= */

/* Responsive */
@media (max-width: 767.98px) {
    .auth-title-box { 
        display: none !important; 
    }
}

.modern-login-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-label-modern {
    color: #a0aec0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    font-family: 'Orbitron', sans-serif !important;
}

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

.input-icon-modern {
    position: absolute;
    left: 18px;
    color: #718096;
    font-size: 1.1rem;
    z-index: 2;
    transition: color 0.3s ease;
}

.form-input-modern {
    width: 100%;
    background: rgba(45, 55, 72, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px 18px 18px 55px;
    color: #e2e8f0;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Orbitron', sans-serif !important;
    transition: all 0.3s ease;
    outline: none;
    letter-spacing: 0.5px;
}

.form-input-modern::placeholder {
    color: #718096;
    font-weight: 400;
    font-size: 16px;
    font-family: 'Orbitron', sans-serif !important;
}

.form-input-modern:focus {
    border-color: #667eea;
    background: rgba(45, 55, 72, 0.8);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-input-modern:focus + .input-icon-modern {
    color: #667eea;
}

.password-toggle-modern {
    position: absolute;
    right: 18px;
    background: none;
    border: none;
    color: #718096;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 2;
}

.password-toggle-modern:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.btn-signin-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 16px;
    padding: 18px 0;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
}

.btn-signin-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.btn-signin-modern:active {
    transform: translateY(-1px);
}

.btn-signin-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-signin-modern:hover::before {
    left: 100%;
}

/* Estilos 2FA */
.timer-display {
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
    margin: 15px 0;
}

.code-input {
    width: 280px;
    height: 70px;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 10px;
    border: 2px solid #28a745;
    border-radius: 12px;
    background: #f8fafc;
    font-family: monospace;
}

.btn-resend-modern {
    width: 280px;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-resend-modern.enabled {
    opacity: 1;
    cursor: pointer;
}

.btn-resend-modern.enabled:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.btn-resend-modern.enabled:active {
    transform: translateY(-1px);
}

.btn-resend-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-resend-modern.enabled:hover::before {
    left: 100%;
}

.btn-resend-modern:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Estilos panel izquierdo */
.features-card {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.features-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.features-title { 
    font-weight: 700; 
    color: #2563eb; 
}

.features-subtitle { 
    color: #64748b; 
    font-size: 1.1rem; 
}

.feature-item { 
    padding: 0.5rem 0; 
    transition: all 0.2s ease; 
}

.feature-item:hover { 
    transform: translateX(5px); 
}

.check-icon {
    color: #22c55e;
    font-size: 1.25rem;
    filter: drop-shadow(0 2px 2px rgba(34, 197, 94, 0.2));
}

.feature-text { 
    color: #475569; 
    font-weight: 600; 
}

/* Responsive */
@media (max-width: 768px) {
    .form-input-modern {
        padding: 16px 16px 16px 50px;
        font-size: 16px;
    }
    
    .code-input {
        width: 200px;
        height: 50px;
        font-size: 24px;
        letter-spacing: 5px;
    }
    
    .btn-resend-modern {
        width: 220px;
        padding: 12px 20px;
        font-size: 14px;
    }
}