html {
  width: 100%;
}

body {
  overflow-x: hidden !important;
}

body.show-spinner>main {
  overflow: hidden !important;
}

/* Hide everything under body tag */
body.show-spinner>* {
  opacity: 0;
}

/* Spinner */
body.show-spinner::after {
  content: " ";
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  border-top-color: rgba(0, 0, 0, 0.3);
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
  position: fixed;
  z-index: 1;
}

.btn-circle {
  border-radius: 50px;
  outline: initial !important;
  box-shadow: none !important;
  box-shadow: initial !important;
  font-size: 1rem;
  padding: .5rem .8rem .5rem .8rem;
  transition: background-color box-shadow .1s linear;
}

.btn-circle2 {
  border-radius: 50px;
  outline: initial !important;
  box-shadow: none !important;
  box-shadow: initial !important;
  font-size: 1rem;
  padding: .5rem .5rem .2rem .5rem;
  transition: background-color box-shadow .1s linear;
}

.btn-circle3 {
  border-radius: 50px;
  outline: initial !important;
  box-shadow: none !important;
  box-shadow: initial !important;
  font-size: 1rem;
  padding: .6rem .7rem .2rem .7rem;
  transition: background-color box-shadow .1s linear;
}

.btn-cir {
    border-radius: 100px;
    outline: initial !important;
    box-shadow: none !important;
    box-shadow: initial !important;
    font-size: .8rem;
    padding: 16px 16px 13px 16px!important;
}

.mostrar{
  display: block;
}

.ocultar{
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

.azul-font{
  color: #13293d!important;
}

.iconos-size {
  font-size: 15px!important;
}

.iconos-size2 {
  font-size: 17px!important;
}

.icon-color {
  color: #2b455e;
}

.btn {
  border-radius: 100px;
  outline: initial !important;
  box-shadow: none !important;
  box-shadow: initial !important;
  font-size: .8rem;
  padding: 16px 18px 13px 18px;
  transition: background-color box-shadow .1s linear;
}

/* Contenedor responsive para tablas */
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Asegurar que la tabla no se rompa */
.table-responsive > table {
  max-width: 100%;
  margin-bottom: 0;
}

/* Para pantallas pequeñas (móviles) */
@media (max-width: 575.98px) {
  .table-responsive {
      display: block;
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
  }
  
  .table-responsive > table {
      border: 0;
  }
} 

/* Para tablets */
@media (max-width: 767.98px) {
  .table-responsive {
      overflow-x: auto;
  }
}

/* Para tablets landscape y desktop pequeño */
@media (max-width: 991.98px) {
  .table-responsive {
      overflow-x: auto;
  }
}

/* Para desktop mediano */
@media (max-width: 1199.98px) {
  .table-responsive {
      overflow-x: auto;
  }
}

/* Estilos adicionales para mejorar la visualización */
.table-responsive table {
  border-collapse: collapse;
  width: 100%;
}

/* Evitar que el contenido de las celdas se desborde */
.table-responsive td,
.table-responsive th {
  white-space: nowrap;
  vertical-align: middle;
}

/* Scrollbar personalizada (opcional) */
.table-responsive::-webkit-scrollbar {
  height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Para navegadores Firefox */
.table-responsive {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

/* Si usas DataTables, estos estilos ayudan */
.table-responsive .dataTables_wrapper {
  overflow-x: visible;
}

.table-responsive .dataTables_scrollBody {
  overflow: visible !important;
}

/* Forzar responsive en DataTables */
.dataTables_wrapper .table-responsive {
  overflow-x: auto !important;
}

/* Asegurar que las acciones se vean bien */
.table-responsive .d-flex {
  flex-wrap: nowrap;
  gap: 5px;
}

.table-responsive .btn-circle {
  flex-shrink: 0;
}

.icon-card-size{
  font-size: 40px;
}

.card-text{
  font-size: 17px;
  padding-top: 17px;
  padding-bottom: 25px;
}

.lead {
  font-size: 40px;
  font-weight: 300;
  line-height: .7rem;
}

.fz-22{
  font-size: 22px;
}
.fz-15{
  font-size: 15px;
  line-height: .1rem;
}

