@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

/* ==========================================================================
   1. ESTILOS BASE & FONDO GENERAL
   ========================================================================== */

html {
  height: 100% !important;
}

body.hfc-login-body {
  margin: 0 !important;
  padding: 1.5rem 1rem !important;
  min-height: 100vh !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  background: linear-gradient(180deg, #ffffff 0%, #83a3e5 30%, #006bef 100%) !important;
  background-attachment: fixed !important;
  box-sizing: border-box !important;
  color: #0f172a !important;
}

body.hfc-login-body * {
  box-sizing: border-box !important;
}

/* ==========================================================================
   2. CONTENEDOR SPLIT (DOS TABS / PANELES EQUILIBRADOS)
   ========================================================================== */
.hfc-login-split-container {
  width: 100% !important;
  max-width: 1040px !important;
  margin: auto !important;
  display: flex !important;
  align-items: stretch !important;
  background: #ffffff !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  box-shadow: 0 25px 50px -12px rgba(0, 30, 80, 0.3), 0 12px 24px -6px rgba(0, 30, 80, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  animation: hfcCardEntrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

@keyframes hfcCardEntrance {
  0% { opacity: 0; transform: translateY(16px) scale(0.985); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   3. PANEL IZQUIERDO: INFORMACIÓN, LOGOS Y ANIMACIONES VIVAS
   ========================================================================== */
/* Base del Panel Izquierdo con fondo azul profundo tech */
.hfc-login-info-tab {
  flex: 1 1 50% !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 3rem 2.5rem !important;
  color: #ffffff !important;
  overflow: hidden !important;
  background-color: #030d22 !important;
}

/* Velo de color con profundidad y gradiente azul corporativo enriquecido */
.hfc-info-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: 
    radial-gradient(circle at 85% 15%, rgba(14, 116, 222, 0.52) 0%, rgba(8, 47, 105, 0.25) 40%, transparent 70%),
    radial-gradient(circle at 10% 85%, rgba(2, 132, 199, 0.2) 0%, transparent 55%),
    linear-gradient(150deg, #030f26 0%, #051a3e 35%, #072757 70%, #031024 100%) !important;
  z-index: 1 !important;
}

/* Rejilla técnica sutil de fondo (Tech Data Grid) */
.hfc-tech-grid {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-image: 
    linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px) !important;
  background-size: 28px 28px !important;
  background-position: center center !important;
  mask-image: radial-gradient(ellipse at 65% 45%, black 45%, transparent 85%) !important;
  -webkit-mask-image: radial-gradient(ellipse at 65% 45%, black 45%, transparent 85%) !important;
  pointer-events: none !important;
  z-index: 2 !important;
  opacity: 0.8 !important;
}

/* Luces ambientales flotantes dinámicas (Ambient Glows) */
.hfc-ambient-glow {
  position: absolute !important;
  border-radius: 50% !important;
  filter: blur(55px) !important;
  pointer-events: none !important;
  z-index: 3 !important;
  opacity: 0.65 !important;
  mix-blend-mode: screen !important;
}

.hfc-glow-cyan {
  width: 260px !important;
  height: 260px !important;
  top: -40px !important;
  left: -30px !important;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.45) 0%, rgba(6, 182, 212, 0) 70%) !important;
  animation: hfcGlowFloatCyan 14s ease-in-out infinite alternate !important;
}

.hfc-glow-blue {
  width: 320px !important;
  height: 320px !important;
  bottom: -60px !important;
  right: -50px !important;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(2, 132, 199, 0) 75%) !important;
  animation: hfcGlowFloatBlue 18s ease-in-out infinite alternate !important;
}

@keyframes hfcGlowFloatCyan {
  0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(35px, 45px) scale(1.2); opacity: 0.75; }
  100% { transform: translate(-20px, 60px) scale(0.95); opacity: 0.55; }
}

@keyframes hfcGlowFloatBlue {
  0% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(-45px, -35px) scale(1.25); opacity: 0.8; }
  100% { transform: translate(25px, -50px) scale(1.05); opacity: 0.6; }
}

/* Partículas luminosas flotantes (Datos & Analítica) */
.hfc-data-particles {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 3 !important;
  overflow: hidden !important;
}

.hfc-particle {
  position: absolute !important;
  background-color: #22d3ee !important;
  border-radius: 50% !important;
  box-shadow: 0 0 10px #22d3ee, 0 0 20px rgba(34, 211, 238, 0.5) !important;
}

.hfc-particle.p1 {
  width: 4px !important;
  height: 4px !important;
  top: 25% !important;
  left: 15% !important;
  animation: hfcParticleFloat 10s ease-in-out infinite !important;
}

.hfc-particle.p2 {
  width: 5px !important;
  height: 5px !important;
  top: 65% !important;
  left: 78% !important;
  background-color: #38bdf8 !important;
  box-shadow: 0 0 12px #38bdf8 !important;
  animation: hfcParticleFloat 13s 1.5s ease-in-out infinite !important;
}

.hfc-particle.p3 {
  width: 3px !important;
  height: 3px !important;
  top: 45% !important;
  left: 85% !important;
  animation: hfcParticleFloat 9s 3s ease-in-out infinite !important;
}

.hfc-particle.p4 {
  width: 4px !important;
  height: 4px !important;
  top: 80% !important;
  left: 25% !important;
  animation: hfcParticleFloat 11s 2s ease-in-out infinite !important;
}

.hfc-particle.p5 {
  width: 3px !important;
  height: 3px !important;
  top: 15% !important;
  left: 65% !important;
  animation: hfcParticleFloat 12s 4s ease-in-out infinite !important;
}

@keyframes hfcParticleFloat {
  0% { transform: translateY(0) translateX(0); opacity: 0.2; }
  25% { transform: translateY(-18px) translateX(10px); opacity: 0.85; }
  50% { transform: translateY(-35px) translateX(-8px); opacity: 0.4; }
  75% { transform: translateY(-15px) translateX(12px); opacity: 0.9; }
  100% { transform: translateY(0) translateX(0); opacity: 0.2; }
}

/* Marca de agua gráfica: barras estadísticas tenues a la derecha */
.hfc-chart-watermark {
  position: absolute !important;
  right: -10px !important;
  top: 70px !important;
  pointer-events: none !important;
  z-index: 2 !important;
  opacity: 0.35 !important;
  animation: hfcSlideDownFade 1s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

/* Contenedor del contenido sobre capas */
.hfc-info-content {
  position: relative !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  min-height: 100% !important;
}

/* Logos superiores */
.hfc-info-logos {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  animation: hfcSlideDownFade 0.7s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

@keyframes hfcSlideDownFade {
  0% { opacity: 0; transform: translateY(-12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hfc-brand-item {
  display: flex !important;
  align-items: center !important;
}

.hfc-white-logo {
  height: auto !important;
  width: auto !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45)) !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease !important;
}

.hfc-white-logo:hover {
  transform: translateY(-2px) scale(1.03) !important;
  filter: brightness(0) invert(1) drop-shadow(0 4px 14px rgba(34, 211, 238, 0.5)) !important;
}

.hfc-platform-logo {
  max-height: 44px !important;
  max-width: 210px !important;
}

.hfc-company-logo {
  max-height: 38px !important;
  max-width: 150px !important;
  opacity: 0.95 !important;
}

/* Contenido Principal de Información */
.hfc-info-main {
  margin: auto 0 !important;
  padding: 0.5rem 0 !important;
}

.hfc-info-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.3rem 0.8rem !important;
  background: rgba(34, 211, 238, 0.12) !important;
  border: 1px solid rgba(34, 211, 238, 0.35) !important;
  border-radius: 999px !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #22d3ee !important;
  margin-bottom: 0.85rem !important;
  backdrop-filter: blur(6px) !important;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.15) !important;
  animation: hfcSlideUpFade 0.7s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

.hfc-pulse-dot {
  width: 6px !important;
  height: 6px !important;
  background-color: #22d3ee !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px #22d3ee !important;
  animation: hfcDotPulse 2s infinite !important;
}

@keyframes hfcDotPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 12px #22d3ee; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hfc-info-title {
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
  margin: 0 0 0.25rem 0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
  animation: hfcSlideUpFade 0.7s 0.18s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

/* Destacado con brillo de gradiente continuo */
.hfc-highlight-text {
  display: inline-block !important;
  background: linear-gradient(135deg, #38bdf8 0%, #22d3ee 35%, #a5f3fc 65%, #38bdf8 100%) !important;
  background-size: 250% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: hfcShimmerGradient 6s linear infinite !important;
  filter: drop-shadow(0 2px 8px rgba(6, 182, 212, 0.3)) !important;
}

@keyframes hfcShimmerGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hfc-info-subtitle {
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
  color: #93c5fd !important;
  margin: 0 0 1.15rem 0 !important;
  font-weight: 500 !important;
  animation: hfcSlideUpFade 0.7s 0.24s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

/* Cuadrícula de KPIs 2x2 Glassmorphism */
.hfc-kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.65rem !important;
  margin-bottom: 1rem !important;
  animation: hfcSlideUpFade 0.7s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

.hfc-kpi-card {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.75rem 0.85rem !important;
  background: linear-gradient(135deg, rgba(14, 38, 77, 0.7) 0%, rgba(8, 24, 52, 0.6) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hfc-kpi-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  background: linear-gradient(135deg, rgba(20, 52, 102, 0.85) 0%, rgba(10, 32, 70, 0.75) 100%) !important;
  box-shadow: 0 8px 20px -2px rgba(6, 182, 212, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.hfc-kpi-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 9px !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
}

.hfc-kpi-data {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

.hfc-kpi-number {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.hfc-kpi-label {
  font-size: 0.7rem !important;
  line-height: 1.2 !important;
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  margin-top: 0.15rem !important;
}

/* Nota de segmentos de empresas */
.hfc-info-segments {
  font-size: 0.75rem !important;
  line-height: 1.45 !important;
  color: #cbd5e1 !important;
  margin: 0 0 0.85rem 0 !important;
  font-weight: 400 !important;
  animation: hfcSlideUpFade 0.7s 0.36s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

/* Caja de regiones participantes */
.hfc-regions-box {
  background: rgba(10, 25, 52, 0.5) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  border-radius: 10px !important;
  padding: 0.6rem 0.85rem !important;
  backdrop-filter: blur(8px) !important;
  animation: hfcSlideUpFade 0.7s 0.42s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

.hfc-regions-header {
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  margin-bottom: 0.35rem !important;
}

.hfc-regions-line {
  width: 14px !important;
  height: 2px !important;
  background: #38bdf8 !important;
  border-radius: 2px !important;
}

.hfc-regions-title {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #38bdf8 !important;
  letter-spacing: 0.02em !important;
}

.hfc-regions-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.3rem 0.65rem !important;
}

.hfc-region-item {
  font-size: 0.7rem !important;
  color: #e2e8f0 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

/* Pie del Panel Izquierdo */
.hfc-info-footer {
  padding-top: 1.5rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  animation: hfcSlideUpFade 0.7s 0.55s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

.hfc-security-notice {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  font-size: 0.78rem !important;
  color: #93c5fd !important;
  font-weight: 500 !important;
  margin-bottom: 0.35rem !important;
}

.hfc-shield-icon {
  color: #22d3ee !important;
  animation: hfcShieldGlow 3.5s ease-in-out infinite !important;
}

@keyframes hfcShieldGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(34, 211, 238, 0)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.8)); transform: scale(1.1); }
}

.hfc-copyright {
  margin: 0 !important;
  font-size: 0.72rem !important;
  color: #64748b !important;
  line-height: 1.4 !important;
}

@keyframes hfcSlideUpFade {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   4. PANEL DERECHO: FORMULARIO DE ACCESO ORIGINAL (CUADRITO DE LOGIN)
   ========================================================================== */
.hfc-login-form-tab {
  flex: 1 1 50% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  background: #ffffff !important;
  padding: 2.75rem 2.5rem !important;
}

.hfc-login-box {
  width: 100% !important;
  max-width: 380px !important;
  margin: 0 auto !important;
  position: relative !important;
}

.hfc-form-header {
  text-align: left !important;
  margin-bottom: 1.5rem !important;
}

.hfc-form-title {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #0b2545 !important;
  margin: 0 0 0.35rem 0 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
}

.hfc-form-subtitle {
  font-size: 0.875rem !important;
  color: #64748b !important;
  margin: 0 !important;
}

/* ==========================================================================
   5. CAMPOS DEL FORMULARIO Y CONTROLES ORIGINALES
   ========================================================================== */
.hfc-form-group {
  margin-bottom: 1.25rem !important;
}

.hfc-label {
  display: block !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #0b2545 !important;
  margin-bottom: 0.4rem !important;
}

.hfc-input-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.hfc-input-icon {
  position: absolute !important;
  left: 0.875rem !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.hfc-input {
  width: 100% !important;
  padding: 0.75rem 1rem 0.75rem 2.65rem !important;
  font-size: 0.95rem !important;
  color: #1e293b !important;
  background-color: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}

.hfc-input:focus {
  background-color: #ffffff !important;
  border-color: #006bef !important;
  box-shadow: 0 0 0 3px rgba(0, 107, 239, 0.15) !important;
}

.hfc-input:focus + .hfc-input-icon,
.hfc-input-wrapper:focus-within .hfc-input-icon {
  color: #006bef !important;
}

/* Mostrar/ocultar contraseña */
.hfc-password-toggle {
  position: absolute !important;
  right: 0.75rem !important;
  background: none !important;
  border: none !important;
  padding: 0.25rem !important;
  cursor: pointer !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color 0.2s ease !important;
  z-index: 3 !important;
}

.hfc-password-toggle:hover {
  color: #0b2545 !important;
}

/* Opciones de formulario */
.hfc-form-options {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 1.35rem !important;
  font-size: 0.85rem !important;
}

.hfc-checkbox-label {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  color: #475569 !important;
  cursor: pointer !important;
  user-select: none !important;
}

.hfc-checkbox {
  width: 16px !important;
  height: 16px !important;
  border-radius: 4px !important;
  border: 1px solid #cbd5e1 !important;
  cursor: pointer !important;
  accent-color: #006bef !important;
}

.hfc-link {
  color: #006bef !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color 0.2s ease !important;
}

.hfc-link:hover {
  color: #004fb0 !important;
  text-decoration: underline !important;
}

/* Botón principal */
.hfc-submit-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.85rem 1.25rem !important;
  background: linear-gradient(135deg, #006bef 0%, #004fb0 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(0, 107, 239, 0.3) !important;
  text-decoration: none !important;
  font-family: inherit !important;
}

.hfc-submit-btn:hover {
  background: linear-gradient(135deg, #005cd0 0%, #004294 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(0, 107, 239, 0.4) !important;
}

.hfc-submit-btn:active {
  transform: translateY(0) !important;
}

.hfc-submit-btn:disabled {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
}

/* Enlace inferior */
.hfc-card-footer {
  text-align: center !important;
  margin-top: 1.5rem !important;
}

.hfc-back-link {
  color: #64748b !important;
  text-decoration: none !important;
  font-size: 0.825rem !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

.hfc-back-link:hover {
  color: #0b2545 !important;
}

/* ==========================================================================
   6. ALERTAS Y NOTIFICACIONES
   ========================================================================== */
.hfc-alert {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  padding: 0.875rem 1rem !important;
  border-radius: 10px !important;
  font-size: 0.825rem !important;
  line-height: 1.45 !important;
  margin-bottom: 1.25rem !important;
}

.hfc-alert svg {
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.hfc-alert-error {
  background-color: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  border-left: 4px solid #ef4444 !important;
  color: #991b1b !important;
}

.hfc-alert-success {
  background-color: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  border-left: 4px solid #10b981 !important;
  color: #166534 !important;
}

/* ==========================================================================
   7. VISTA: USUARIO YA AUTENTICADO
   ========================================================================== */
.hfc-logged-in-card {
  text-align: center !important;
  padding: 1rem 0 !important;
}

.hfc-user-greeting {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #0b2545 !important;
  margin-bottom: 0.5rem !important;
}

.hfc-user-role {
  font-size: 0.9rem !important;
  color: #64748b !important;
  margin: 0 0 1.5rem 0 !important;
}

.hfc-logged-in-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.hfc-btn-secondary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.75rem 1rem !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  border-radius: 10px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.hfc-btn-secondary:hover {
  background: #e2e8f0 !important;
  color: #0b2545 !important;
}

/* ==========================================================================
   8. RESPONSIVIDAD (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 860px) {
  .hfc-login-split-container {
    flex-direction: column !important;
    max-width: 480px !important;
  }

  .hfc-login-info-tab {
    padding: 2.25rem 1.75rem !important;
  }

  .hfc-info-title {
    font-size: 1.45rem !important;
  }

  .hfc-info-subtitle {
    font-size: 0.825rem !important;
    margin-bottom: 0.95rem !important;
  }

  .hfc-kpi-grid {
    gap: 0.5rem !important;
  }

  .hfc-kpi-card {
    padding: 0.65rem 0.75rem !important;
  }

  .hfc-kpi-number {
    font-size: 1.1rem !important;
  }

  .hfc-chart-watermark {
    display: none !important;
  }

  .hfc-info-footer {
    display: none !important;
  }

  .hfc-login-form-tab {
    padding: 2rem 1.75rem !important;
  }
}