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;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}


.select2-container--default .select2-selection--single {
  background-color: #fff !important;
  border: 1px solid #aaa !important;
  border-radius: 4px !important;
  padding: 3px 15px !important;
  height: 35px !important;
}

.animated-icons{
  margin: 0 auto;
  width: 100px;
}

/* Asegura que el texto no se divida en varias líneas */
.dt-nowrap td, .dt-nowrap th {
  white-space: nowrap !important; /* No permite saltos de línea */
  overflow: hidden; /* Evita que el contenido sobresalga */
  text-overflow: ellipsis; /* Si el contenido es muy largo, agrega "..." */
  max-width: 250px; /* Ajusta según el diseño */
}

/* Ajusta el ancho de la tabla para que no se rompa el diseño */
table.dataTable {
  width: 100% !important;
}


.success-bot{
  width: 200px;
  background-color: forestgreen;
  border-color: forestgreen;
  font-size: 16px;
  font-weight: 400;
  border-radius: 3px;
  color: #fff;
  transition: all 0.3s ease;
}

.success-bot:hover{
  transform: scale(1.1);
  color: #fff;
}


.disabled-bot{
  width: 200px;
  background-color: dimgray;
  border-color: dimgray;
  font-size: 16px;
  font-weight: 400;
  border-radius: 3px;
  color: #fff;
}