body {
  background-image: url("../../fondo-cwif-supply-fire.jpg"); /* Asegúrate de reemplazar esto con tu imagen */
  background-size: cover;
  background-position: 50% 0%;
  color: #fff;
  font-family: "Arial", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: "Poppins" !important;
}

#contenedor {
  height: 72vh;
  width: calc(75vh * 0.5);
  border: 2px solid #ffa500;
  border-radius: 20px;
  position: relative;
  background-color: #000;
  overflow: hidden;
  box-shadow: 0 0 20px #ffa500;
  margin-top: 96px;
}

.contenedorMobile {
  height: 65vh !important;
  width: calc(70vh * 0.5) !important;
  margin-top: 24px !important;
}

#liquido {
  width: 100%;
  position: absolute;
  bottom: 0;
  background: linear-gradient(
    to top,
    #ff7f00,
    #ffbf00
  ); /* Tonalidades naranjas */
  border-top: 2px solid #ffa500;
}

.titulo {
  position: absolute;
  top: -100px; /* Ajusta según la ubicación deseada */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 2em;
  color: #000;
  background-color: #ffa500;
  border-radius: 10px;
  padding: 10px 20px;
  box-shadow: 0 0 20px #ffa500;
  font-weight: bold;
}

/* Estilo para un posible panel de control o indicadores */
.panel {
  position: absolute;
  text-align: center;
  bottom: 0px;
  left: 0px;
  width: 100%;
  color: white;
  font-size: 1.1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  height: 100%;
}

.panel p {
  margin-top: 0px !important;
  margin-bottom: 24px !important;
}

.datoFinal {
  font-size: 1.2rem;
}

.contenedorMobile .panel {
  font-size: 1rem !important;
}

.contenedorMobile .datoFinal {
  font-size: 1.1rem !important;
}

.b1 {
  --random-position: 0.1;
  width: 10px !important;
  height: 10px !important;
  bottom: 0;
  animation: subirBurbuja 5s infinite;
  animation-delay: 50ms !important;
}
.b2 {
  --random-position: 0.3;
  width: 15px !important;
  height: 15px !important;
  bottom: 50px;
  animation: subirBurbuja 5s infinite;
  animation-delay: 500ms !important;
}
.b3 {
  --random-position: 0.8;
  width: 8px !important;
  height: 8px !important;
  bottom: 80px;
  animation: subirBurbuja2 5s infinite !important;
  animation-delay: 250ms !important;
}
.b4 {
  --random-position: 0.7;
  width: 12px !important;
  height: 12px !important;
  bottom: 100px;
  animation: subirBurbuja2 5s infinite !important;
  animation-delay: 1500ms !important;
}

.burbuja {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  position: absolute;
  /* Asignar una posición inicial aleatoria entre 0% y 100% */
  left: calc(
    10% + (90% * var(--random-position))
  ); /* --random-position se definirá en línea en el HTML o mediante JS */
  opacity: 0;
}

@keyframes subirBurbuja {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  50% {
    transform: translateY(-100px) scale(1.2);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-200px) scale(0.8);
    opacity: 0;
  }
}

@keyframes subirBurbuja2 {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  50% {
    transform: translateY(-50px) scale(1.2);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100px) scale(0.8);
    opacity: 0;
  }
}

.contenedorTitulo {
  position: absolute;
  z-index: 9999 !important;
  width: 350px;
  max-width: 90%;
  top: 19px;
  box-shadow: 1px 3px 12px 1px rgba(0, 0, 0, 0.4);
  border-radius: 13px;
}

.contenedorTitulo img {
  position: absolute;
  z-index: 9999 !important;
  width: 100%;
  top: 0px;
  box-shadow: 1px 3px 12px 1px rgba(0, 0, 0, 0.4);
  border-radius: 13px;
}

.contenedorTitulo p {
  z-index: 99999 !important;
  color: black;
  position: absolute;
  left: 0px;
  width: 100%;
  text-align: center;
  font-weight: 999;
  top: 0px !important;
  margin-top: 43px;
  font-size: 1.8rem;
  text-shadow: 1px 1px 3px #ffa500;
}
.contenedorTituloMobile p {
  margin-top: 40px;
}

#lineas {
  z-index: 999999 !important;
  position: absolute;
  left: -4px;
  top: 0px;
  height: 100%;
  opacity: 1;
}

#donationDialog {
  text-align: center !important;
}

#donationDialog .title {
  font-size: 1.2rem;
}

#walletAddress {
  padding: 6px 8px;
  border: 1px solid gray !important;
  border-radius: 16px;
  font-size: 1rem;
  width: 90% !important;
  margin: 0px auto !important;
}

.clickable {
  cursor: pointer !important;
}

#qrcode {
  text-align: center;
  margin-bottom: 20px;
}
#qrcode img {
  width: 90%;
  margin: 0px auto !important;
  border-radius: 16px;
}

.descDialog {
  margin-top: -20px !important;
}

#addressCopied {
  color: rgb(5, 77, 5);
}

.cierraDialogo {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 36px;
  font-size: 1.4rem;
  text-align: center;
}
.btnAlert {
  background-color: #ee7834;
  padding: 16px 40px;
  font-weight: normal !important;
  font-size: 14px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  line-height: 20px !important;
  text-align: center !important;
  width: max-content !important;
  color: white !important;
  text-decoration: none !important;
  margin: 0px auto !important;
  display: block;
  margin-top: 24px !important;
  cursor: pointer !important;
  border-radius: 50px !important;
}

.ui-dialog {
  top: 0;
  left: 0;
  padding: 0.2em;
  border: 0px !important;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  border-radius: 16px !important;
  z-index: 999999999 !important;
  max-width: 90% !important;
}
.ui-dialog .ui-dialog-titlebar {
  border: 1px;
  display: none;
}
.ui-dialog .ui-dialog-content {
  border: 0;
  padding: 20px;
  font-size: 18px;
  color: #333;
  background-color: #fdf8e4;
  overflow: auto;
}
.ui-dialog .ui-dialog-buttonpane {
  text-align: left;
  border-width: 1px 0 0 0;
  background-image: none;
  margin-top: 0.5em;
  padding: 0.3em 1em 0.5em 0.4em;
  background-color: #e3f1cf;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
  float: right;
}
.ui-dialog .ui-dialog-buttonpane button {
  margin: 0.5em 0.4em 0.5em 0;
  cursor: pointer;
}
.ui-dialog .ui-resizable-se {
  width: 12px;
  height: 12px;
  right: -5px;
  bottom: -5px;
  background-position: 16px 16px;
}
.ui-draggable-handle {
  -ms-touch-action: none;
  touch-action: none;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .yescls {
  font-size: 15px;
  color: #ffffff;
  width: 150px;
  background: #90c93e;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .cancelcls {
  font-size: 15px;
  color: #ffffff;
  width: 150px;
  background: #f86379;
}

.ui-dialog .cabecera {
  margin-bottom: 16px;
}

.formAlert input {
  display: block;
}
.formAlert input.text {
  margin-bottom: 12px;
  width: 95%;
  padding: 0.4em;
}
.formAlert fieldset {
  padding: 0;
  border: 0;
  margin-top: 25px;
}

#supportMobile {
  position: fixed;
  bottom: 10px;
  right: 20px;
  height: 34px !important;
  line-height: 34px !important;
  border: 2px solid #646464;
  border-radius: 100px;
  padding: 8px 16px;
  z-index: 99999999 !important;
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
}
