@import url("https://fonts.cdnfonts.com/css/helvetica-neue-9");
@import url("https://fonts.cdnfonts.com/css/ogonek");
@import url("https://fonts.cdnfonts.com/css/code-next-trial");
@import url("https://fonts.cdnfonts.com/css/oxford-street");
@import url("https://fonts.cdnfonts.com/css/ageo-personal-use");
@import url("https://fonts.cdnfonts.com/css/made-okine-sans-personal-use");
@import url("https://fonts.cdnfonts.com/css/numans");

/* ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~      F O N D O      ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~ */
body {
  background-color: #fff;
  font-family: "Numans", Helvetica, Arial, Lucida, sans-serif;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255); /* Fondo semitransparente */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.loading-screen-iframe {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255); /* Fondo semitransparente */

  z-index: 9999;
}
/* Spinner */
.spinner {
  border: 8px solid #f3f3f3; /* Bordes gris claro */
  border-top: 8px solid #3498db; /* Borde superior azul */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite; /* Animación de giro */
}
.spinner-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.spinner-iframe {
  border: 8px solid #f3f3f3; /* Bordes gris claro */
  border-top: 8px solid #3498db; /* Borde superior azul */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite; /* Animación de giro */
}

/* Animación de giro */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Ocultar pantalla con clase d-none */
.d-none {
  display: none;
}

/* ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~      G L O B A L      ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~ */
.title {
  text-align: center;
  position: relative;
}
.title span {
  display: inline-block;
  position: relative;
  z-index: 2;
  margin: 20px;
  padding: 10px 25px;
  font-size: 18px;
  font-family: "Oxford Street", Helvetica, Arial, Lucida, sans-serif;
  font-weight: bold;
  color: rgb(0, 0, 0);
  letter-spacing: 5px;
  text-shadow: -1px -1px 0 #fff, /* Sombra superior izquierda */ 1px -1px 0 #fff,
    /* Sombra superior derecha */ -1px 1px 0 #fff,
    /* Sombra inferior izquierda */ 1px 1px 0 #fff; /* Sombra inferior derecha */
}
.title .span-white {
  display: inline-block;
  position: relative;
  z-index: 2;
  margin: 20px;
  padding: 10px 25px;
  font-size: 18px;
  font-family: "Oxford Street", Helvetica, Arial, Lucida, sans-serif;
  font-weight: bold;
  color: rgb(255, 255, 255);
  letter-spacing: 5px;
  text-shadow: none;
}
.title::after {
  content: "";
  position: absolute;
  width: 5%;
  height: 7px;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, 0);
  background: rgb(26, 136, 53);
  z-index: 1;
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
}
.capitalize {
  text-transform: capitalize;
}
/* ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~      M E N U      ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~ */

/* ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~      V I S T A  D I N A M I C A      ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~ */

.screen {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.screen-content {
  width: auto;
  height: 100vh;
  display: flex;
  justify-content: center;
}

/* ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~      L O G I N      ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~ */

.login {
  background-color: #fff;
  align-items: center;
  color: #000000;
  position: relative;
}
.showpass {
  background-color: #fff;
  border: solid #313131;
  border-width: 1px 1px 1px 0px;
}
.showpass:hover {
  color: #333;
  border: solid #313131;
  border-width: 1px 1px 1px 0px;
}
.login input,
.login span,
.login button {
  border-radius: 0;
}
.login span {
  border: solid #1a73e8;
  border-width: 1px 1px 1px 0px;
}
.login input {
  border: solid #313131;
  border-width: 1px 1px 1px 0px;
}
.login input[id="pass"] {
  border: solid #313131;
  border-width: 1px 0px 1px 0px;
}
.login span i {
  color: #fff;
}

.btn-iniciar {
  position: absolute;
  left: 0;
  width: 100%;
}

/* ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~      M E N U     ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~ */
.bg-menu {
  background-image: url("../img/images/delicious-ingredients.jpg");
  background-size: cover; /* Para que la imagen cubra todo el div */
  background-position: center; /* Centrar la imagen */
  background-repeat: no-repeat; /* Evitar que la imagen se repita */
  width: 100%;
  height: 100%; /* Altura completa de la pantalla */
  background-color: rgba(255, 255, 255, 0.7); /* Negro al 50% de opacidad */
  background-blend-mode: overlay; /* Mezcla el color con la imagen */
}
.bar {
  width: 100%;
  height: 7rem;
  background-color: #57925a;
}
.barTwo {
  position: absolute;
  width: 100%;
  height: 2rem;
  background-color: #57925a;
  bottom: 0;
}
.logo-container {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 10px;
  transform: translateY(-50%);
  box-shadow: #33333365 5px 5px 20px;
}
.buttons {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 10px;
  margin-top: 6rem;
  height: 100%;
  justify-content: flex-start;
  max-height: 50vh; /* Altura máxima antes de crear otra columna */
  justify-self: center;
}

/* Esto permite que al desbordarse en altura, cree una nueva columna */
.buttons::after {
  content: "";
  flex-basis: 100%;
  width: 0;
}
.btn-design {
  background-color: #ffffff;
  color: #000000;
  border: none;
  padding: 10px 20px;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 20rem;
  box-shadow: #33333365 5px 5px 10px;
  position: relative;
}
.btn-design i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.btn-design:hover {
  background-color: #e6e6e6;
}

.administrar,
.btn-logout {
  cursor: pointer;
  color: #949393;
  transition: 0.1s ease;
}
.administrar:hover,
.btn-logout:hover {
  color: #666565;
}

.btn-logout:hover {
  color: #d62c2c;
}

/* ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~      A D M I N I S T R A R    ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~ */

.btn-back {
  width: 50px;
  height: 50px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(255, 255, 255);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  border: none;
  color: #333;
  margin: 2rem;
}
.nav-tabs {
  border-bottom: solid 1px #e6e6e6;
}
.nav-admin nav .nav-tabs button {
  color: #000000;
  font-weight: bold;
  background-color: #ddd;
  margin-right: 5px;
  width: 10rem;
  text-align: center;
  transition: background-color 0.3s ease;
  outline: none !important;
  border: solid 1px #e6e6e6;
}

.nav-link:hover {
  color: #fff;
}
.tab-content .tab-pane {
  color: #000000;
}

/* ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~      T A B L A S    ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~ */

.text-sm {
  font-size: 0.875rem !important;
}
.text-xs {
  font-size: 0.75rem !important;
}

.text-lg {
  font-size: 1.125rem !important;
}

.text-md {
  font-size: 1rem !important;
}

.text-sm {
  font-size: 0.875rem !important;
}

.text-xs {
  font-size: 0.75rem !important;
}

.text-xs {
  font-size: 0.65rem !important;
}

.center {
  text-align: center;
}

.title-table {
  letter-spacing: 3px;
}

.table-container {
  height: calc(100vh - 350px); /* Ajusta según el diseño */
  overflow-y: auto;
  position: relative;
  border: solid 1px #333;
}
.table-container::-webkit-scrollbar {
  width: 6px;
  border-radius: 10px;
  display: none;
}

.table-container::-webkit-scrollbar-thumb {
  background-color: #bebebe; /* Color del thumb (barra de desplazamiento) */
  border-radius: 100px; /* Bordes redondeados */
}

.table-responsive {
  max-height: 100%;
  background-color: #fff;
  border-radius: 10px;
}

#tabla-tableros thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: #333;
  color: #fff;
}

.btn-add-container {
  position: absolute;
  transform: translateY(-150%);
  right: 0;
  z-index: 2;
}
.btn-add {
  width: 50px;
  height: 50px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(255, 255, 255);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  border: none;
  color: #22c55e;
}
.btn-plus-icon {
  transition-duration: 0.3s;
}
.btn-add:hover .btn-plus-icon {
  transform: rotate(90deg);
  transition-duration: 0.3s;
}

.btn-action {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: #353434;
  color: #cccccc;
  border: none;
  cursor: pointer;
  position: relative;
  outline: none;
}

/* ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~      M O D A L    ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~ */

.bg-modal-edit {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease-in-out;
  -webkit-animation: fadeIn 0.3s ease-in-out;
  overflow: hidden;
}

.modal-container {
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px 20px 20px 20px;
  width: 50%;
  animation: slideIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translate(-50%, -70%);
  }
  to {
    transform: translate(-50%, -50%);
  }
}

.bg-modal-edit.fade-out {
  animation: fadeOut 0.3s ease-in-out;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.close-edit {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  right: 0;
  outline: none;
  padding: 0px 10px 0 0px;
}

.x-size {
  font-size: 4rem;
}

.index-10001 {
  z-index: 999;
}

.close-edit:hover,
.close-edit:focus {
  color: rgb(255, 12, 12);
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

.zIndex-swal-edit {
  z-index: 10001;
}
.modal-container-iframe {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #fff;
}
.modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.input-design,
.select-design {
  position: relative;
  border: 1px solid silver;
  margin: 20px 0;
}
.bootstrap-select .dropdown-toggle {
  background-color: inherit !important;
  color: rgb(0, 0, 0) !important;
  border: none !important;
}

.bootstrap-select .dropdown-menu {
  background-color: #ffffff !important; /* Fondo del menú desplegable */
  border-radius: 0 !important;
}

.bootstrap-select .dropdown-menu .inner {
  height: 50% !important;
  max-height: 250px !important;
  overflow-y: auto !important;
}

.bootstrap-select .dropdown-item {
  color: #333 !important; /* Color de los elementos */
}

.bootstrap-select .dropdown-item:hover {
  background-color: #ccc !important;
  color: white !important;
}
.bootstrap-select .dropdown-toggle,
.input-design input {
  width: 100%;
  padding: 0 5px;
  height: 50px;
  border: none;
  background: none;
  outline: none;
  color: inherit;
  font-size: 16px;
  padding: 15px 15px !important;
}
.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select .dropdown-toggle:active,
.bootstrap-select .dropdown-toggle:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.select-design label,
.input-design label {
  position: absolute;
  top: 50%;
  left: 10px;
  color: silver;
  transform: translateY(50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(50%);
  -ms-transform: translateY(50%);
  -o-transform: translateY(50%);
  font-size: 14px;
  pointer-events: none;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}
.select-design label {
  top: 0px;
  color: #000000;
  background-color: #fff;
  font-weight: bold;
  border-radius: 100px;
}
.input-design input:focus + label,
.input-design input.valido + label {
  top: 0px;
  color: #000000;
  background-color: #fff;
  font-weight: bold;
  border-radius: 100px;
}
.showpass-usuario {
  position: absolute;
  right: 10px; /* Ajusta la posición del botón a la derecha */
  background: #fff;
  border: none;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
}
.showpass-usuario:hover {
  background: #fff;
  color: #000000;
}
