body {
  background-image: url(../public/images/bgbuses.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: -1;
}

.table-fixed-header {
  overflow-y: auto;
}

.table-fixed-header thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: #fff;
}

td {
  font-size: small;
}

#placaList {
  height: auto;
  display: none;
  position: absolute;
  background-color: silver;
  color: black;
  z-index: 1000;
}

#placaList option {
  padding: 3px;
  width: 240px;
  cursor: pointer;
}

#placaList option:hover {
  background-color: black;
  color: white;
}

#listContainerNovRev {
  height: auto;
  display: none;
  position: absolute;
  background-color: silver;
  color: black;
  z-index: 1000;
}

#placaListDisplay option {
  width: 150px;
  cursor: pointer;
  padding: 3px;
}

#placaListDisplay option:hover {
  background-color: black;
  color: white;
}

.navbar {
  background-color: rgb(0, 0, 0, 0.8);
  border-bottom: solid 4px rgb(204, 78, 78);
  color: white;
}

.boxscrolltoday {
  min-height: 150px;
  max-height: 350px;
  overflow-y: auto;
}

/* BOXSCROLLTODAY*/

/* Estilos para el scrollbar cuando está seleccionado */
.boxscrolltoday::-webkit-scrollbar {
  width: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  /* Color de fondo del scrollbar */
}

.boxscrolltoday::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.4);
  /* Color del thumb del scrollbar */
  border-radius: 5px;
}

/* Estilos para el scrollbar cuando no está seleccionado */
.boxscrolltoday::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.6);
  /* Color del thumb del scrollbar cuando se le pasa el mouse por encima */
}

.boxscrolltoday::-webkit-scrollbar-thumb:active {
  background-color: rgba(0, 0, 0, 0.8);
  /* Color del thumb del scrollbar cuando está siendo clickeado */
}

.boxscrolltoday::-webkit-scrollbar-thumb:vertical {
  min-height: 50px;
  /* Altura mínima del thumb del scrollbar */
}

.boxscrolltoday::-webkit-scrollbar-track {
  background-color: transparent;
  /* Color de fondo del track del scrollbar */
}

.boxscroll {
  padding: 0px;
  height: 64%;
  width: auto;
  overflow-y: auto;
}

/* Estilos para el scrollbar cuando está seleccionado */
.boxscroll::-webkit-scrollbar {
  width: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  /* Color de fondo del scrollbar */
}

.boxscroll::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.4);
  /* Color del thumb del scrollbar */
  border-radius: 5px;
}

/* Estilos para el scrollbar cuando no está seleccionado */
.boxscroll::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.6);
  /* Color del thumb del scrollbar cuando se le pasa el mouse por encima */
}

.boxscroll::-webkit-scrollbar-thumb:active {
  background-color: rgba(0, 0, 0, 0.8);
  /* Color del thumb del scrollbar cuando está siendo clickeado */
}

.boxscroll::-webkit-scrollbar-thumb:vertical {
  min-height: 50px;
  /* Altura mínima del thumb del scrollbar */
}

.boxscroll::-webkit-scrollbar-track {
  background-color: transparent;
  /* Color de fondo del track del scrollbar */
}

.boxnoscroll {
  padding: 0px;
  height: 74%;
  width: auto;
}

.boxscrollhome {
  padding: 0px;
  height: 74%;
  width: auto;
  overflow-y: scroll;
}

/* Estilos para el scrollbar cuando está seleccionado */
.boxscrollhome::-webkit-scrollbar {
  width: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  /* Color de fondo del scrollbar */
}

.boxscrollhome::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.4);
  /* Color del thumb del scrollbar */
  border-radius: 5px;
}

/* Estilos para el scrollbar cuando no está seleccionado */
.boxscrollhome::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.6);
  /* Color del thumb del scrollbar cuando se le pasa el mouse por encima */
}

.boxscrollhome::-webkit-scrollbar-thumb:active {
  background-color: rgba(0, 0, 0, 0.8);
  /* Color del thumb del scrollbar cuando está siendo clickeado */
}

.boxscrollhome::-webkit-scrollbar-thumb:vertical {
  min-height: 50px;
  /* Altura mínima del thumb del scrollbar */
}

.boxscrollhome::-webkit-scrollbar-track {
  background-color: transparent;
  /* Color de fondo del track del scrollbar */
}

.boxscrollTable {
  padding: 0px;
  height: 82%;
  width: auto;
  overflow-y: scroll;
}

/* Estilos para el scrollbar cuando está seleccionado */
.boxscrollTable::-webkit-scrollbar {
  width: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  /* Color de fondo del scrollbar */
}

.boxscrollTable::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.4);
  /* Color del thumb del scrollbar */
  border-radius: 5px;
}

/* Estilos para el scrollbar cuando no está seleccionado */
.boxscrollTable::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.6);
  /* Color del thumb del scrollbar cuando se le pasa el mouse por encima */
}

.boxscrollTable::-webkit-scrollbar-thumb:active {
  background-color: rgba(0, 0, 0, 0.8);
  /* Color del thumb del scrollbar cuando está siendo clickeado */
}

.boxscrollTable::-webkit-scrollbar-thumb:vertical {
  min-height: 50px;
  /* Altura mínima del thumb del scrollbar */
}

.boxscrollTable::-webkit-scrollbar-track {
  background-color: transparent;
  /* Color de fondo del track del scrollbar */
}

.boxScrollDetails {
  padding: 0px;
  height: auto;
  width: auto;
  overflow-y: auto;
}

li a[title="Cerrar sesión"] {
  cursor: pointer;
  /* Cambia el cursor a la mano (pointer) */
}

.content-wrapper {
  flex: 1 0 auto;
  padding: 20px 0;
}

.footer {
  flex-shrink: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px 0;
  margin-top: auto;
  border-top: 3px solid #D9534F;
}

/* Estilos para la página de perfil */
.profile-section {
  padding: 25px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.signature-pad {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  background-color: #fff;
  padding: 10px;
  min-height: 200px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

hr.my-4 {
  border-top: 2px solid rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  width: 80%;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 12px;
  min-height: calc(100vh - 200px); /* Ajustar según necesidad */
}

.card-header {
  border-bottom: 3px solid #D9534F;
}

.card-body {
  padding: 2rem;
}

.input-group-addon {
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  padding: 0.375rem 0.75rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.btn {
  padding: 10px 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========== ESTILOS PARA SELECCIÓN MASIVA ========== */

/* Panel de acciones masivas */
#bulkActionsPanel {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

#bulkActionsPanel .btn-group .btn {
  margin-right: 0.5rem;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  text-transform: none;
  letter-spacing: normal;
}

#bulkActionsPanel .btn-group .btn:last-child {
  margin-right: 0;
}

#selectedCount {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6c757d;
}

/* Checkboxes en la tabla */
.user-checkbox,
#selectAll {
  width: 1.2rem;
  height: 1.2rem;
  cursor: pointer;
}

/* Hover effects para las filas */
#tablaRegistros tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.1) !important;
}

/* Filas seleccionadas */
#tablaRegistros tbody tr.selected {
  background-color: rgba(0, 123, 255, 0.15) !important;
}

/* Responsive adjustments para dispositivos móviles */
@media (max-width: 768px) {
  #bulkActionsPanel {
    padding: 0.75rem;
  }
  
  #bulkActionsPanel .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  #bulkActionsPanel .btn-group .btn {
    margin-right: 0;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  #selectedCount {
    margin-top: 0.5rem;
    display: block;
  }
}

/* Animación suave para mostrar/ocultar panel */
#bulkActionsPanel {
  transition: all 0.3s ease-in-out;
}

/* Estilos para alertas de confirmación */
.alertify-confirm .ajs-header {
  font-weight: 600;
}

.alertify-confirm .ajs-content {
  margin: 1rem 0;
}
