/* Bloqueo de selección de texto, callout táctil y arrastre en tótem */
html,
body,
body *:not(#dni_scan) {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

img,
a,
svg {
  -webkit-user-drag: none;
  user-drag: none;
}

#dni_scan {
  position: absolute;
  opacity: 0;
}

.is_invisible {
  visibility: hidden;
  opacity: 0;
}

.is_visible {
  visibility: visible;
  opacity: 0;
}

.isDisabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.con-publicidad {
  max-height: 900px !important;
}

.recovery-pin {
  z-index: 10000;
}

.input-edit-recovery {
  width: 100%;
  max-width: 400px;
  padding: 10px 10px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 1);
  color: #000000;
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
  outline: none;
}

.py-2-recovery {
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.validation-otp {
  animation: pulse 1.2s ease-in-out infinite;
  width: auto;
  height: auto;
  object-fit: contain;
}

.color-danger {
  color: #ff0000;
}

.btn-update {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  text-transform: uppercase;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  color: #000;
  background-color: #E8D12C;
  border-color: #E8D12C;
}

.btn-pagar-volver {
  width: 50%;
  padding: 15px 30px;
  font-weight: 700;
  border-radius: 40px;
  cursor: pointer;
  text-align: center;
  border: 3px solid #1b1464;
  box-shadow: 5px 5px 0 #1b1464;
  min-height: 70px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  margin: 0 auto;
}

.btn-pagar {
  width: 50%;
  padding: 15px 30px;
  font-weight: 700;
  border-radius: 40px;
  cursor: pointer;
  text-align: center;
  border: 3px solid #1b1464;
  box-shadow: 5px 5px 0 #1b1464;
  min-height: 70px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  margin: 0 auto;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000000;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.loading-content {
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading-content #textLoading {
  font-size: 24px;
  color: #ffffff;
  padding-top: 20px;
}

.loading img,
.loading-content img {
  animation: pulse 1.5s ease-in-out infinite;
  max-width: 250px;
  max-height: 250px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    /* Original size */
  }

  50% {
    transform: scale(1.1);
    /* Slightly larger */
  }

  100% {
    transform: scale(1);
    /* Return to original size */
  }
}

.error-documento {
  font-size: 12px;
  color: #ff0000;
}


.lds-ellipsis,
.lds-ellipsis div {
  box-sizing: border-box;
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-ellipsis div {
  position: absolute;
  top: 33.33333px;
  width: 13.33333px;
  height: 13.33333px;
  border-radius: 50%;
  background: currentColor;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(24px, 0);
  }
}

/* Popup Genérico de Mensajes */
.message {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.message.show {
  display: flex;
}

.message-content {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  border: 3px solid #000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: popupSlideIn 0.3s ease-out;
  position: relative;
  text-align: center;
}

.message-content .btn-close {
  position: absolute;
  top: -20px;
  right: -20px;
  cursor: pointer;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
}

.message-content .btn-close img {
  width: 100%;
  height: 100%;
}

.message-content img:not(.btn-close img) {
  max-width: 80px;
  margin: 0 auto 20px;
}

.message-content h2 {
  color: #1b1464;
  margin-bottom: 15px;
  font-size: 28px;
}

.message-content p {
  color: #1b1464;
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
}

.message-content span {
  color: #1b1464;
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
}

.wrapper-icon-pago {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #eeecff;
  border: 1px solid #c3bfe5;
  border-radius: 1rem;
  padding: 0.5rem;
  gap: 1rem;
  margin-bottom: 1rem;
}

.wrapper-icon-pago img {
  max-width: 150px;
  height: auto;
}

.dato-item-center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
}

.btn-column-home {
  width: 70%;
  padding: 15px 30px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  border: 3px solid #000000;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 1);
  min-height: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
}