/* You can add global styles to this file, and also import other style files */
.swal2-container {
    z-index: 99999 !important;
  }
.swal2-popup {
    z-index: 100000 !important;
  }
html {
    font-size: 14px;
  }
body {
    font-size: 14px;
    line-height: 1.4;
  }
input,
select,
textarea,
button {
  font-size: 14px;
}
body.compacto-ui {
  font-size: 14px;
}
body.compacto-ui h1 {
  font-size: 28px !important;
}
body.compacto-ui h2 {
  font-size: 24px !important;
}
body.compacto-ui h3 {
  font-size: 18px !important;
}
body.compacto-ui p,
body.compacto-ui span,
body.compacto-ui label,
body.compacto-ui input,
body.compacto-ui select,
body.compacto-ui textarea,
body.compacto-ui button {
  font-size: 13px !important;
}
body.compacto-ui input,
body.compacto-ui select,
body.compacto-ui textarea {
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 12px !important;
}
body.compacto-ui button {
  min-height: 40px !important;
  height: 40px !important;
  padding: 0 14px !important;
}
body.compacto-ui .card,
body.compacto-ui .form-card,
body.compacto-ui .progress-card,
body.compacto-ui .actions-card,
body.compacto-ui .documento-card,
body.compacto-ui .kpi-card,
body.compacto-ui .card-onboarding {
  padding: 16px !important;
  border-radius: 14px !important;
}
body.compacto-ui .wizard-body,
body.compacto-ui .rrhh-main {
  padding: 18px !important;
}
body.compacto-ui .rrhh-header h1 {
  font-size: 28px !important;
}
body.compacto-ui .topbar-text h2 {
  font-size: 24px !important;
}
body.compacto-ui .kpi-card p {
  font-size: 28px !important;
}
body.compacto-ui .card-header h3,
body.compacto-ui .documento-header h3 {
  font-size: 18px !important;
}
body.compacto-ui .wizard-sidebar {
  width: 235px !important;
}
body.compacto-ui .wizard-body {
  margin-left: 255px !important;
}
/* =========================
   COMPACTO UI NIVEL 2
========================= */
body.compacto-ui {
  zoom: 0.92;
}
@media (max-width: 900px) {
  body.compacto-ui {
    zoom: 1 !important;
  }
}
/* Títulos */
body.compacto-ui h1 {
  font-size: 24px !important;
}
body.compacto-ui h2 {
  font-size: 20px !important;
}
body.compacto-ui h3 {
  font-size: 16px !important;
}
body.compacto-ui h4 {
  font-size: 14px !important;
}
/* Texto general */
body.compacto-ui p,
body.compacto-ui span,
body.compacto-ui label,
body.compacto-ui a,
body.compacto-ui li {
  font-size: 12px !important;
  line-height: 1.35 !important;
}
/* Inputs y botones */
body.compacto-ui input,
body.compacto-ui select,
body.compacto-ui textarea {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
}
body.compacto-ui button {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
}
/* Cards y bloques */
body.compacto-ui .card,
body.compacto-ui .form-card,
body.compacto-ui .progress-card,
body.compacto-ui .actions-card,
body.compacto-ui .documento-card,
body.compacto-ui .kpi-card,
body.compacto-ui .card-onboarding {
  padding: 14px !important;
  border-radius: 12px !important;
}
/* RRHH */
body.compacto-ui .rrhh-main {
  padding: 14px !important;
}
body.compacto-ui .rrhh-header {
  margin-bottom: 16px !important;
}
body.compacto-ui .rrhh-header h1 {
  font-size: 24px !important;
}
body.compacto-ui .rrhh-header p {
  font-size: 12px !important;
}
body.compacto-ui .rrhh-kpis {
  gap: 12px !important;
  margin-bottom: 16px !important;
}
body.compacto-ui .kpi-card {
  padding: 16px !important;
}
body.compacto-ui .kpi-card p {
  font-size: 24px !important;
}
body.compacto-ui .rrhh-filtros {
  padding: 12px !important;
  gap: 10px !important;
  margin-bottom: 16px !important;
}
body.compacto-ui .rrhh-cards {
  gap: 14px !important;
}
body.compacto-ui .card-header h3 {
  font-size: 17px !important;
}
body.compacto-ui .card-body p {
  font-size: 12px !important;
  margin-bottom: 8px !important;
}
/* Wizard empleado */
body.compacto-ui .wizard-sidebar {
  width: 220px !important;
  padding: 10px !important;
}
body.compacto-ui .wizard-body {
  margin-left: 238px !important;
  padding: 8px 14px 14px 14px !important;
  gap: 14px !important;
}
body.compacto-ui .wizard-body.expandido {
  margin-left: 82px !important;
}
body.compacto-ui .topbar-text h2 {
  font-size: 22px !important;
}
body.compacto-ui .topbar-text p {
  font-size: 12px !important;
}
body.compacto-ui .progress-card-header h3 {
  font-size: 16px !important;
}
body.compacto-ui .sidebar-seccion,
body.compacto-ui .sidebar-item {
  padding: 8px 10px !important;
}
body.compacto-ui .sub-nombre {
  font-size: 12px !important;
}
body.compacto-ui .sub-progreso {
  font-size: 11px !important;
}
/* Documentos */
body.compacto-ui .documentos-grid {
  gap: 12px !important;
}
body.compacto-ui .documento-header h3 {
  font-size: 15px !important;
}
body.compacto-ui .documento-estado {
  font-size: 11px !important;
  padding: 4px 8px !important;
}
/* Modal */
body.compacto-ui .modal.modal-premium {
  padding: 18px !important;
  border-radius: 18px !important;
}
body.compacto-ui .modal-header h3 {
  font-size: 22px !important;
}
body.compacto-ui .modal-header p {
  font-size: 12px !important;
}
body.compacto-ui .modal-grid {
  gap: 12px !important;
}
/* =========================
   RESTAURAR WIZARD EMPLEADO
========================= */
/* Cancelar la compactación global dentro del wizard */
body.compacto-ui .wizard-shell {
  zoom: 1.087 !important;
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(91, 124, 255, 0.06), transparent 22%),
    #f6f8fc;
}
/* Restaurar layout desktop del wizard */
body.compacto-ui .wizard-shell .wizard-sidebar {
  width: 254px !important;
  padding: 14px !important;
}
body.compacto-ui .wizard-shell .wizard-body {
  margin-left: 280px !important;
  padding: 10px 24px 24px 24px !important;
  gap: 24px !important;
}
body.compacto-ui .wizard-shell .wizard-body.expandido {
  margin-left: 90px !important;
}
/* Restaurar tamaños del wizard */
body.compacto-ui .wizard-shell .topbar-text h2 {
  font-size: 28px !important;
}
body.compacto-ui .wizard-shell .topbar-text p {
  font-size: 14px !important;
}
body.compacto-ui .wizard-shell .progress-card,
body.compacto-ui .wizard-shell .form-card,
body.compacto-ui .wizard-shell .actions-card,
body.compacto-ui .wizard-shell .documento-card {
  padding: 20px !important;
  border-radius: 16px !important;
}
body.compacto-ui .wizard-shell .field-label {
  font-size: 14px !important;
}
body.compacto-ui .wizard-shell input,
body.compacto-ui .wizard-shell select,
body.compacto-ui .wizard-shell textarea {
  height: 44px !important;
  min-height: 44px !important;
  font-size: 14px !important;
  padding: 0 14px !important;
}
body.compacto-ui .wizard-shell .btn-primary,
body.compacto-ui .wizard-shell .btn-secondary {
  height: 46px !important;
  min-height: 46px !important;
  font-size: 14px !important;
}
/* =========================
   MOBILE WIZARD CORREGIDO
========================= */
@media (max-width: 900px) {
  body.compacto-ui .wizard-shell {
    zoom: 1 !important;
  }

  body.compacto-ui .wizard-shell .wizard-sidebar {
    width: 280px !important;
    height: 100vh !important;
    padding: 14px !important;
    transform: translateX(0) !important;
  }

  body.compacto-ui .wizard-shell .wizard-sidebar.cerrado {
    transform: translateX(-100%) !important;
    width: 280px !important;
    padding: 14px !important;
  }

  body.compacto-ui .wizard-shell .wizard-body,
  body.compacto-ui .wizard-shell .wizard-body.expandido {
    margin-left: 0 !important;
    padding: 16px !important;
    gap: 16px !important;
  }

  /* Ocultar panel derecho en mobile para dar más espacio real al formulario */
  body.compacto-ui .wizard-shell .wizard-actions {
    display: none !important;
  }

  body.compacto-ui .wizard-shell .main-topbar {
    padding: 18px 16px !important;
    margin-bottom: 16px !important;
  }

  body.compacto-ui .wizard-shell .progress-card,
  body.compacto-ui .wizard-shell .form-card,
  body.compacto-ui .wizard-shell .documento-card {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  body.compacto-ui .wizard-shell .topbar-text h2 {
    font-size: 22px !important;
  }

  body.compacto-ui .wizard-shell .topbar-text p {
    font-size: 13px !important;
  }

  body.compacto-ui .wizard-shell .field-label {
    font-size: 13px !important;
  }

  body.compacto-ui .wizard-shell input,
  body.compacto-ui .wizard-shell select,
  body.compacto-ui .wizard-shell textarea {
    height: 42px !important;
    min-height: 42px !important;
    font-size: 14px !important;
  }


  /* Forzar que el wizard no herede offsets del compacto-ui en mobile */
body.compacto-ui .wizard-shell .wizard-body,
body.compacto-ui .wizard-shell .wizard-body.expandido {
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 16px !important;
  display: block !important;
  grid-template-columns: 1fr !important;
}

body.compacto-ui .wizard-shell .wizard-main {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  min-width: 0 !important;
}

body.compacto-ui .wizard-shell .main-topbar,
body.compacto-ui .wizard-shell .progress-card,
body.compacto-ui .wizard-shell .form-card {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

html,
body {
  width: 100% !important;
  overflow-x: hidden !important;
}

body.compacto-ui .wizard-shell {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow-x: hidden !important;
}

body.compacto-ui .wizard-shell .wizard-body,
body.compacto-ui .wizard-shell .wizard-body.expandido {
  margin-left: 0 !important;
  padding: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}

body.compacto-ui .wizard-shell .wizard-main {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body.compacto-ui .wizard-shell .main-topbar,
body.compacto-ui .wizard-shell .progress-card,
body.compacto-ui .wizard-shell .form-card {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}



}
body.compacto-ui .wizard-shell .wizard-sidebar {
  width: 254px !important;
  padding: 14px !important;
}
body.compacto-ui .wizard-shell .wizard-body {
  margin-left: 280px !important;
  padding: 10px 24px 24px 24px !important;
  gap: 24px !important;
}
body.compacto-ui .wizard-shell .wizard-body.expandido {
  margin-left: 90px !important;
}
/* Restaurar colapso correcto en desktop */
body.compacto-ui .wizard-shell .wizard-sidebar.cerrado {
  width: 70px !important;
  padding: 14px !important;
  overflow-y: hidden !important;
}
body.compacto-ui .wizard-shell .wizard-sidebar.cerrado .sidebar-top-row .sidebar-logo,
body.compacto-ui .wizard-shell .wizard-sidebar.cerrado .sidebar-titulo-btn,
body.compacto-ui .wizard-shell .wizard-sidebar.cerrado .sidebar-section-wrap {
  display: none !important;
}
/* =========================
   FIX FINAL WIZARD MOBILE
========================= */
@media (max-width: 900px) {
  body.compacto-ui .wizard-body,
  body.compacto-ui .wizard-body.expandido,
  body.compacto-ui .wizard-shell .wizard-body,
  body.compacto-ui .wizard-shell .wizard-body.expandido {
    margin-left: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  body.compacto-ui .wizard-main,
  body.compacto-ui .wizard-shell .wizard-main {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.compacto-ui .wizard-main > *,
  body.compacto-ui .wizard-shell .wizard-main > * {
    margin-left: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}
/* =========================
   FIX DASHBOARD MOBILE
========================= */
@media (max-width: 900px) {
  body.compacto-ui .dash-layout,
  body.compacto-ui .dash-main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.compacto-ui .dash-main {
    padding: 16px !important;
  }

  body.compacto-ui .dash-card,
  body.compacto-ui .kpi-card,
  body.compacto-ui .mini-stat-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.compacto-ui .chart-card,
  body.compacto-ui .donut-card,
  body.compacto-ui .line-card {
    overflow: hidden !important;
  }

  body.compacto-ui .bar-chart {
    overflow-x: auto !important;
    padding-bottom: 8px !important;
  }

  body.compacto-ui .bar-chart::-webkit-scrollbar {
    height: 6px;
  }

  body.compacto-ui .bar-chart::-webkit-scrollbar-thumb {
    background: rgba(124, 92, 255, 0.28);
    border-radius: 999px;
  }
}

/*# sourceMappingURL=styles.css.map*/