/* ========================================================================
   ESTILOS ESPECÍFICOS: LOGIN / INTRANET
   ======================================================================== */
.intranet-body {
    background-color: var(--light);
}

/* Panel Izquierdo con imagen de fondo y superposición */
.left-panel {
    background: url('https://images.unsplash.com/photo-1523875194681-bedd468c58bf') center/cover no-repeat;
    min-height: 100vh;
}

.overlay-brand {
    background: linear-gradient(135deg, rgba(251, 133, 0, 0.85) 0%, rgba(33, 158, 188, 0.95) 100%);
}

.font-saira {
    font-family: 'Saira', sans-serif;
}

/* Tarjeta del Formulario (Dashboard Style) */
.login-card {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(33, 158, 188, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Inputs Personalizados */
.custom-input {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.custom-input:focus {
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(251, 133, 0, 0.15);
    outline: none;
}

.custom-input::placeholder {
    color: #94a3b8;
}

/* Manejo de Errores Visuales */
.custom-input.is-invalid {
    border-color: #ef4444;
    background-color: #fef2f2;
}
.custom-input.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}
.error-text {
    min-height: 20px;
}

/* Botón de Submit y Estados de Carga */
.transition-all {
    transition: all 0.3s ease;
}

.transition-colors {
    transition: color 0.2s ease;
}

.transition-colors:hover {
    color: var(--dark) !important;
}

.btn-primary.loading {
    background-color: #d37533;
    pointer-events: none;
    color: transparent !important;
}

.btn-primary.loading #btnSpinner {
    display: inline-block !important;
    color: #ffffff;
}

.btn-primary:hover {
  transform: scale(1.02);
  background: var(--secondary-color);
}