body {
  min-height: 100vh;
}

#app {
  max-width: 1920px;
  margin: 0 auto;
}

.brand-title {
  font-weight: 800;
  letter-spacing: 0.05em;
}

.nav-pill-tab {
  cursor: pointer;
}

.nav-pill-tab.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.modules-bar {
  background-color: #ffffff;
  border-radius: 999px;
  padding: 4px 8px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.modules-bar .nav-link {
  border-radius: 999px;
  padding-inline: 16px;
}

.modules-bar .nav-link.active {
  background-color: #0d6efd;
}

.submodules-bar {
  background-color: #f8f9fa;
  border-radius: 999px;
  padding: 4px 8px;
  margin-left: 0;
}

.submodules-bar .nav-link {
  border-radius: 999px;
  padding-inline: 14px;
  font-size: 0.9rem;
}

.submodules-bar .nav-link.active {
  background-color: #0d6efd;
  color: #fff;
}

.submodules-bar-inner {
  margin-bottom: 0.75rem !important;
}

/* Línea divisoria arriba de los módulos principales */
.modules-divider {
  margin: 1rem 0 1rem 0;
  border: 0;
  border-top: 2px solid #dee2e6;
  opacity: 1;
}

/* Contenedor del contenido: conecta visualmente la pestaña con el contenido */
.module-content-wrapper {
  border-left: 4px solid #0d6efd;
  background-color: #fff;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.08);
  margin-top: 0.25rem;
}

.module-content-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0d6efd;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
}

.recharge-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

.recharge-modal {
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem 1.25rem 1.25rem;
}

.recharge-modal-image {
  max-height: 60vh;
  object-fit: contain;
}

/* Usuarios / conductores: misma azul que pestañas activas (#0d6efd), no outline celeste */
.usuarios-btn-bank {
  background-color: #0d6efd;
  border: 1px solid #0d6efd;
  color: #fff;
}
.usuarios-btn-bank:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
  color: #fff;
}

/* Soporte: pestañas de conversación */
.support-tab-role {
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
}
.support-tab-label {
  max-width: 11rem;
  vertical-align: middle;
}
.support-tab-attention-badge {
  font-size: 0.65rem;
  flex-shrink: 0;
  line-height: 1.1;
}
.support-tab-attention-dot {
  width: 8px;
  height: 8px;
  background-color: var(--bs-danger);
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

/* Soporte: barra de filtros en una fila (con scroll horizontal en pantallas angostas) */
.support-filter-toolbar {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}
.support-filter-field {
  flex: 0 0 auto;
  min-width: 6.5rem;
}
.support-filter-field--grow {
  flex: 1 1 10rem;
  min-width: 9rem;
}
.support-filter-actions {
  padding-left: 0.25rem;
}
@media (min-width: 1200px) {
  .support-filter-toolbar {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.support-ticket-list-shell {
  display: flex;
  flex-direction: column;
  max-height: min(70vh, 640px);
}
.support-ticket-list-scroll {
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 200px;
}
