@charset "UTF-8";
/*================================================================================
	Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template
	Version: 2.0
	Author: PIXINVENT
	Author URL: http://www.themeforest.net/user/pixinvent
================================================================================

NOTE:
------
PLACE HERE YOUR OWN SCSS CODES AND IF NEEDED, OVERRIDE THE STYLES FROM THE OTHER STYLESHEETS.
WE WILL RELEASE FUTURE UPDATES SO IN ORDER TO NOT OVERWRITE YOUR STYLES IT'S BETTER LIKE THIS.  */
.btn {
  border-radius: 10px;
}

.login_class {
  margin: 0px;
  padding: 0px;
  height: 100% !important;
  width: 100% !important;
}

.d-flex {
  margin: 0px;
}

.flex-row {
  margin: 30px;
}

.sirex-title {
  color: #01274F;
}

.sirex-title-black {
  color: black;
  font-weight: bold;
}

body {
  --sirex-environment-color: #9c3434;
}

body[data-sirex-environment=testing] {
  --sirex-environment-color: #176f40;
}

body[data-sirex-environment=production] {
  --sirex-environment-color: #01274F;
}

.sirex-environment-bar {
  background-color: var(--sirex-environment-color) !important;
}

.sirex-environment-banner {
  padding: 0.75rem 1.5rem;
}

.sirex-environment-indicator {
  display: inline-block;
  margin-left: 0.75rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0.35rem;
  background-color: var(--sirex-environment-color);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
}

@media (max-width: 575.98px) {
  .header-navbar .bookmark-wrapper {
    min-width: 0;
  }

  .header-navbar .bookmark-wrapper img {
    max-width: 90px;
    max-height: 48px;
  }
}
.form-control {
  border-radius: 10px;
}

.btn-success {
  background-color: #49A319 !important;
}

a:link {
  color: #01274F;
}

.ficha-title {
  background-color: #E0E0E0;
  border-radius: 10px;
}

.btn-default2 {
  background-color: #9B9B9B;
  color: #FFFFFF !important;
}

.btn-default3 {
  background-color: #ededed;
  color: #000000 !important;
  font-size: 10px !important;
  padding: 2% !important;
}

.datatables-basic {
  font-size: 10px !important;
}

.datatables-basic th {
  font-size: 10px !important;
}

table.dataTable {
  margin: 0 auto;
}

.card-header {
  padding-bottom: 0px;
  padding-top: 0px;
}

.header-navbar.fixed-top,
.header-navbar.floating-nav {
  left: 0 !important;
  width: 100% !important;
}

/* Separar checkboxes */
.form-check {
  margin-bottom: 0.75rem;
  /* Espacio entre checkboxes */
}

/* O si quieres ser más específico para esta sección */
.form-check.form-check-primary {
  margin-bottom: 0.75rem;
}

/* Validaciones contraseña */
.password-strength-indicator {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 12px;
  margin-top: 8px;
}

.requirement-item {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.requirement-item small {
  transition: color 0.3s ease;
  color: #dc3545;
  /* Rojo por defecto */
}

.requirement-item.valid small {
  color: #28a745 !important;
  /* Verde cuando es válido */
}

.requirement-item.invalid small {
  color: #dc3545 !important;
  /* Rojo cuando es inválido */
}

/* Ocultar los íconos */
.requirement-item i {
  display: none;
}

.password-strength-bar .progress {
  background-color: #e9ecef;
}

.strength-weak {
  background-color: #dc3545;
}

.strength-medium {
  background-color: #ffc107;
}

.strength-strong {
  background-color: #28a745;
}

.requirements-header {
  margin-bottom: 8px;
  font-weight: 500;
}

/* Estilos para el indicador de coincidencia */
#password-match-indicator .requirement-item small {
  color: #dc3545;
  /* Rojo por defecto */
}

#password-match-indicator .requirement-item.valid small {
  color: #28a745 !important;
  /* Verde cuando coinciden */
}

/* SOBRESCRIBIR APP-CONTENT ESPECÍFICAMENTE PARA EL DASHBOARD */
body .app-content {
  padding-top: 1.5rem !important;
  /* Reducir drasticamente el padding superior */
}

/* O si quieres eliminarlo completamente en el dashboard */
.dashboard-page .app-content {
  padding-top: 0.5rem !important;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

/* Contenedor principal para alineación */
.dashboard-container {
  max-width: 100%;
  margin: 0 auto;
}

/* Header compacto con línea inferior */
.header-compact {
  padding: 2px 0 5px 0;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 20px !important;
  background: #ffffff;
  margin-top: 0 !important;
}

/* Breadcrumb estilo */
.breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: #6c757d;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: #6c757d;
}

.breadcrumb-item:before {
  display: none;
}

/* Filtros MÁS GRANDES como en el diseño original */
.filter-group-compact {
  display: flex;
  flex-direction: column;
  min-width: 140px;
  /* Aumentar ancho */
}

.filter-group-compact .form-label {
  font-size: 0.875rem;
  /* Aumentar tamaño de fuente */
  font-weight: 500;
  color: #6c757d;
  margin-bottom: 0.5rem;
  text-align: left;
}

.filter-group-compact .form-select {
  height: 38px;
  /* Aumentar altura */
  font-size: 0.875rem;
  /* Aumentar tamaño de fuente */
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  padding: 0.375rem 0.75rem;
  /* Aumentar padding */
  background-color: #fff;
  min-width: 140px;
  /* Asegurar ancho mínimo */
}

.filter-group-compact .form-select:focus {
  border-color: #7367f0;
  box-shadow: 0 0 0 0.2rem rgba(115, 103, 240, 0.25);
}

.filter-group-compact .btn {
  height: 38px;
  /* Mismo tamaño que los selects */
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  /* Aumentar tamaño de fuente */
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 160px;
  /* Botón un poco más ancho */
}

/* Asegurar que todas las filas tengan el mismo ancho */
.dashboard-container .row {
  margin-left: 0;
  margin-right: 0;
}

.dashboard-container .row > [class*=col-] {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

/* Nuevo estilo para las secciones con borde */
.dashboard-section {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  height: auto;
}

.dashboard-section h3 {
  margin-bottom: 15px;
  font-weight: 600;
  color: #2c3e50;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}

/* Asegurar que las tarjetas tengan la misma altura */
.card {
  height: 100%;
}

.loading-card {
  opacity: 0.7;
  position: relative;
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* Estilo para los radio buttons */
.chart-filters {
  margin-bottom: 15px;
}

.chart-filters input[type=radio] {
  margin-right: 5px;
}

.chart-filters label {
  margin-right: 15px;
  font-weight: 500;
}

/* Header mejorado */
.sirex-title {
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 0;
}

/* Responsive para filtros */
@media (max-width: 768px) {
  .filter-group-compact {
    min-width: 120px;
  }

  .d-flex.gap-3 {
    gap: 1rem !important;
  }

  .filter-group-compact .btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    min-width: 140px;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }

  .header-compact {
    padding: 3px 0 1px 0;
  }

  /* Reducir aún más el padding en móvil */
  body .app-content {
    padding-top: 1rem !important;
  }
}
/* BOTÓN DASHBOARD - ESTILO BLANCO CON BORDE AZUL */
.btn-action {
  background-color: #ffffff !important;
  color: #3b82f6 !important;
  border: 2px solid #3b82f6 !important;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn-action:hover {
  background-color: #f8faff !important;
  color: #2563eb !important;
  border-color: #2563eb !important;
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.15);
  transform: translateY(-1px);
}

.btn-action:focus,
.btn-action:active {
  background-color: #eff6ff !important;
  color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
  outline: none;
}

.btn-action:disabled {
  background-color: #f9fafb !important;
  color: #9ca3af !important;
  border-color: #d1d5db !important;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* BOTÓN DASHBOARD - ESTILO BLANCO CON BORDE ROJO */
.btn-action-delete {
  background-color: #ffffff !important;
  color: #f63b3b !important;
  border: 2px solid #f63b3b !important;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(246, 59, 59, 0.1);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn-action-delete:hover {
  background-color: #fef2f2 !important;
  color: #b91c1c !important;
  border-color: #b91c1c !important;
  box-shadow: 0 4px 8px rgba(246, 59, 59, 0.15);
  transform: translateY(-1px);
}

.btn-action-delete:focus,
.btn-action-delete:active {
  background-color: #fef2f2 !important;
  color: #b91c1c !important;
  border-color: #b91c1c !important;
  box-shadow: 0 0 0 0.2rem rgba(246, 59, 59, 0.25);
  outline: none;
}

/* Variante más pequeña para usar en tablas */
.btn-action-sm {
  background-color: #ffffff !important;
  color: #3b82f6 !important;
  border: 1px solid #3b82f6 !important;
  border-radius: 6px;
  padding: 0.375rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  white-space: nowrap;
  height: 32px;
}

.btn-action-sm:hover {
  background-color: #f8faff !important;
  color: #2563eb !important;
  border-color: #2563eb !important;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.15);
  transform: translateY(-1px);
}

.btn-action-sm:focus,
.btn-action-sm:active {
  background-color: #eff6ff !important;
  color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 0 0 0.15rem rgba(59, 130, 246, 0.25);
  outline: none;
}

/* Variante extra pequeña para tablas compactas */
.btn-action-xs {
  background-color: #ffffff !important;
  color: #3b82f6 !important;
  border: 1px solid #3b82f6 !important;
  border-radius: 4px;
  padding: 0.1rem 0.2rem;
  font-size: 0.55rem;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(59, 130, 246, 0.08);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  white-space: nowrap;
  height: 24px;
  margin: 0 0;
  line-height: 1;
}

.btn-action-xs:hover {
  background-color: #f8faff !important;
  color: #2563eb !important;
  border-color: #2563eb !important;
  box-shadow: 0 1px 4px rgba(59, 130, 246, 0.12);
  transform: translateY(-0.5px);
}

.btn-action-xs:focus,
.btn-action-xs:active {
  background-color: #eff6ff !important;
  color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 0 0 0.1rem rgba(59, 130, 246, 0.2);
  outline: none;
}

/* Estilo para iconos dentro del botón */
.btn-action i,
.btn-action-sm i,
.btn-action-xs i {
  width: 16px;
  height: 16px;
  color: inherit;
}

/* Asegurar que el texto no se rompa */
.btn-action span,
.btn-action-sm span,
.btn-action-xs span {
  white-space: nowrap;
  color: inherit;
}

/* Breadcrumb estilo */
.breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: #6c757d;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: #6c757d;
}

.breadcrumb-item:before {
  display: none;
}

/* Dashboard principal */
#dashboard-sirex {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Contenedor principal para alineación */
.dashboard-container {
  max-width: 100%;
  margin: 0 auto;
}

.dashboard-container .row {
  margin-left: 0;
  margin-right: 0;
}

.dashboard-container .row > [class*=col-] {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

/* Estilo para las secciones con borde */
.dashboard-section {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  height: auto;
}

.dashboard-section h3 {
  margin-bottom: 15px;
  font-weight: 600;
  color: #2c3e50;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}

/* ARREGLAR FILTROS DE LA TABLA DE PAGOS */
.dashboard-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.dashboard-filters .form-select {
  min-width: 100px;
  width: auto;
  font-size: 0.875rem;
  height: 32px;
}

.dashboard-filters .btn {
  height: 32px;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

.dashboard-filters .btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
}

/* Header de la sección dashboard mejorado */
.dashboard-section .d-flex.justify-content-between {
  align-items: center;
  margin-bottom: 0;
}

.dashboard-section h3 {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

/* Tarjetas */
.card {
  height: 100%;
}

.loading-card {
  opacity: 0.7;
  position: relative;
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* Radio buttons para gráficos */
.chart-filters {
  margin-bottom: 15px;
}

.chart-filters input[type=radio] {
  margin-right: 5px;
}

.chart-filters label {
  margin-right: 15px;
  font-weight: 500;
}

/* Título */
.sirex-title {
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 0;
}

/* Dashboard actions para gráficos */
.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dashboard-actions .btn {
  height: 32px;
  width: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
  .dashboard-filters {
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .dashboard-filters .btn {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
  }

  .filter-group-compact {
    min-width: 120px;
  }

  .filter-group-compact .btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    min-width: 140px;
  }

  .header-compact {
    padding: 5px 0 10px 0;
  }

  .btn-action {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .btn-action-sm {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }

  .btn-action-xs {
    padding: 0.15rem 0.4rem;
    font-size: 0.7rem;
    height: 22px;
    margin: 0.03rem 0;
  }
}
/* Datatables personalizadas */
/* NUEVO: Estilos para el header personalizado del DataTable */
#datatable-header {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

#datatable-header .form-control {
  border: 1px solid #d0d5dd;
  border-radius: 4px;
  font-size: 0.875rem;
}

#datatable-header .form-control:focus {
  border-color: #7367f0;
  box-shadow: 0 0 0 0.1rem rgba(115, 103, 240, 0.25);
}

#datatable-header .btn {
  height: 32px;
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  white-space: nowrap;
}

#datatable-header .form-label {
  font-size: 0.875rem;
  color: #6c757d;
}

/* Ocultar el buscador por defecto del DataTable */
.dataTables_filter {
  display: none !important;
}

/* Ajustar la info del DataTable */
.dataTables_info {
  font-size: 0.875rem;
  color: #6c757d;
}

.badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  display: inline-block;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

.bg-primary {
  background-color: #EBEEFF !important;
  color: #0023DD !important;
  border: 1px solid #AAB6F4;
}

.avatar {
  background-color: #fff !important;
}

/* Si necesitas ser más específico para esta página */
.card-body .form-label {
  text-align: left !important;
  margin-bottom: 0.5rem;
}

.card-body .form-label,
.card-body .row {
  text-align: left;
}

.custom-info {
  background-color: #ebeeff;
  border: 2px solid #bcb0f5;
  border-radius: 4px;
  padding: 12px;
  display: flex;
  align-items: start;
  gap: 8px;
  margin-bottom: 2rem;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #424242;
}

.custom-data-feather {
  color: #0023dd;
  font-size: 24px;
  margin-top: 2px;
}
