/* html {
	position: fixed;
	height: auto !important;
} */

.custom-loader {
  width: 50px;
  height: 50px;
  display: grid;
  animation: s4 4s infinite;
}

.custom-loader::before,
.custom-loader::after {
  content: "";
  grid-area: 1/1;
  border: 8px solid;
  border-radius: 50%;
  border-color: #766DF4 #766DF4 #0000 #0000;
  mix-blend-mode: darken;
  animation: s4 1s infinite linear;
}

.custom-loader::after {
  border-color: #0000 #0000 #E4E4ED #E4E4ED;
  animation-direction: reverse;
}

@keyframes s4 {
  100% {
    transform: rotate(1turn)
  }
}

:root {
  --bs-body-bg: #0a1929;
  /* Azul muy oscuro para el fondo */
  --bs-body-color: #e0e0e0;
  /* Mantenido, buen contraste con el fondo */
  --bs-primary: #1e88e5;
  /* Azul brillante para elementos primarios */
  --bs-secondary: #d32f2f;
  /* Rojo para elementos secundarios */
  --accent-blue: #64b5f6;
  /* Azul claro para acentos */
  --dark-blue: #0d47a1;
  /* Azul oscuro para contraste */
  --light-blue: #bbdefb;
  /* Azul muy claro para resaltes sutiles */
  --border-color: #1e3a5f;
  /* Azul oscuro para bordes */
}

body {
  background-color: var(--bs-body-bg);
  /* background-image: url('/static/images/1.png') no-repeat center center cover !important; */
  color: var(--bs-body-color);
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 6.3%, rgba(101, 0, 0, 1) 92.86%);
}

/* .navbar-dark {
  background-color: var(--dark-blue) !important;
  background-image: linear-gradient(111.4deg, rgba(0, 0, 0, 1) 6.3%, rgba(101, 0, 0, 1) 92.86%);

} */

/* .navbar {
  background-image: linear-gradient(111.4deg, rgba(0, 0, 0, 1) 6.3%, rgba(101, 0, 0, 1) 92.86%);
} */

.navbar .container-fluid {
  justify-content: center;
  color: var(--bs-body-color);
}

.navbar .title {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar .title img {
  width: 77px;
}

/* removed this to add the dropdow menu */
.navbar .dropdown {
  display: none;
}

main {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 60px;
}

.container {
  max-width: 85%;
}

.container h1,
.container h3 {
  color: var(--bs-body-color);
}

.btn-link {
  /*Boton de menu lateral mismo diseño que el dropdown*/
  background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA 51%, #1FA2FF 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 2.7rem;
  height: 2.3rem;
  border: 0;
  padding: 6px 8px;
  gap: .40rem;
  transition: 0.5s;
  background-size: 100% auto;
  box-shadow: 0 0 20px var(--border-color);
  border-radius: 4px;
}

.btn-link:hover {
  background-position: right center;
  /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 20px #eee;
}

.btn-link>div {
  background: var(--bs-body-color);
  height: 2px;
  width: 100%;
  border-radius: 5px;
}

.btn-community {
  background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA 51%, #1FA2FF 100%);
  margin: 10px;
  padding: 7px 7px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 100% auto;
  color: white;
  box-shadow: 0 0 20px var(--border-color);
  border-radius: 4px;
  display: block;
}

.btn-community:hover {
  background-position: right center;
  /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 20px #eee;
}

.dropdown-menu[data-bs-popper] {
  left: -10px;
  /* El scss los pone en cero lo saca del viewport*/
}

.dropdown-menu {
  position: absolute;
  /* Elemento flotante */
  min-width: 5rem;
  /* Esto lo sacaba del viewport */
  z-index: 1;
  /* Para asegurar que la lista se muestre por encima de otros elementos */
  background-color: var(--dark-blue);
  color: var(--bs-body-color);
  border-color: var(--border-color);
}

.btn-create {
  background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA 51%, #1FA2FF 100%);
  padding: 15px 25px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  border-radius: 10px;
  display: block;
}

.btn-create:hover {
  background-position: right center;
  /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 20px #eee;
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-outline-primary {
  color: var(--bs-body-color);
  border-color: var(--bs-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
  background-color: var(--bs-primary);
  color: white;
  box-shadow: 0 0 5px #eee;
}

.form-control {
  background-color: var(--bs-body-color);
  color: var(--bs-body-bg);
  border-color: var(--border-color);
}

.form-control:focus {
  background-color: var(--bs-body-color);
  color: var(--bs-body-bg);
}

.form-select {
  background-color: var(--dark-blue);
  color: var(--bs-body-bg);
  border-color: var(--border-color);
}

.offcanvas {
  background-color: var(--bs-secondary);
  color: var(--bs-body-color);
}

.navbar.fixed-bottom {
  border-top: solid 1px var(--accent-blue);
  border-top-right-radius: 2rem;
  border-top-left-radius: 2rem;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.nav-item {
  display: flex;
  justify-content: center;
}

.nav-link {
  color: var(--bs-body-color);
  padding: 0px !important;
  /* width: 80% !important; */

}

.nav-link i {
  font-size: 2rem;
}

.nav-link:hover {
  color: var(--accent-blue);
}

.nav-link.active {
  color: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
  background-color: transparent;
  border-radius: 2rem;
}

.input-group input {
  background-color: white;
  color: black;
  /*Cambia a color negro visible para números insertados*/
  flex: 3 !important;
}

.input-group select {
  text-align: center;
  flex: 1 !important;
  color: var(--bs-body-color);
}

.rate-community {
  display: flex;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  align-content: center;
}

.rate-community select {
  background-color: var(--dark-blue);
  color: var(--bs-body-color);
  border-color: var(--border-color);
  border-radius: 5px;
  font-size: 35px;
  box-shadow: 0px 0px 5px var(--accent-blue);
}



.offer-message {
  background-color: var(--bs-body-color);
  color: var(--bs-body-bg);
}

.btn-clean {
  /*background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA  51%, #1FA2FF  100%);*/
  background-image: linear-gradient(to right, #0d47a1 0%, #0d47a1 50%, #2196F3 100%);
  /*background-color: #003366;*/
  padding: 15px 25px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  border-radius: 10px;
  display: block;
}

.btn-clean:hover {
  background-position: right center;
  /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 20px #eee;
}

.message {
  padding-top: 30px;
  text-align: center;
}

#customConfirm {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  background-color: #0a1929;
  z-index: 1000;
}

/* Confirmation Pop-Up */

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

#customConfirm {
  background-color: var(--light-blue);
  color: var(--bs-body-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  max-width: 330px;
  width: 90%;
  text-align: center;
  display: none;
  z-index: 1000;

}

.accept,
.cancel {
  margin: 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.5s;
}

.accept:hover,
.cancel:hover {
  background-position: right center;
  /* change the direction of the change here */
  box-shadow: 0 0 10px #070606;
}

#customConfirm .accept {
  background-image: linear-gradient(to right, #1FA2FF 0%, #30b8d0 51%, #1FA2FF 100%);
  color: white;
}

#customConfirm .cancel {
  background-image: linear-gradient(to right, #f91a1a 0%, #d54542 51%, #ff1f1f 100%);
  color: white;
}

.hidden {
  display: none;
  /* Oculta el elemento completamente */
}

.snowflake {
  position: fixed;
  top: -10px;
  color: white;
  font-size: 1em;
  pointer-events: none;
  z-index: 9999;
  animation: fall linear infinite;
  opacity: 0.8;
  /* Hacer los copos más sutiles */
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}