.transaction-error-div {
  margin-top: 1em;
}

.otp-text {
  color: var(--Primary-Midnight-Blue, #070e46);
  font-feature-settings: "liga" off, "clig" off;
  font-family: "BentonSansBBVABook", sans-serif;
  font-size: 1.25rem;
  line-height: 1.5rem;
}

.containerFlex {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap; 
}

.containerFlex > div[role="group"] {
  flex: 1 1 calc(50% - 1rem);
  max-width: calc(50% - 1rem);
}

.otp-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.otp-error {
  color: #070E46;
  font-family: "BentonSansBBVABook", sans-serif;
  font-size: 15px;
}

.logo-error {
  min-width: 1.18rem;
  min-height: 1.12rem;
  background-image: url(images/error-message-logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 1rem;
}

.validation-errors.is-visible {
  display: flex;
}

.validation-errors {
  text-align: left;
  height: auto;
  background: #ffe9e5;
  color: #070e46;
  border-radius: 0.5rem;
  word-break: break-word;
  display: none;
  align-items: center;
  text-align: left;
  padding: 1.5rem;
  margin-bottom: 1em;
}

.phoneOption {
  height: 5.5rem;
  background: var(--surface-base-default, #f7f8f8);
  border-radius: 1rem;
  display: flex;
  align-items: center;
}

.phoneOption input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.phoneOption label {
  font-family: "BentonSansBBVABook", sans-serif;
  font-size: 15px;
  font-weight: 350;
  color: #070e46;
  position: relative;
  padding-left: 5rem;
  cursor: pointer;
}

.phoneOption label::before {
  content: "";
  display: block;
  position: absolute;
  left: 1.5rem;
  transform: translateY(-50%);
  top: 50%;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 2px solid #47536d;
  background-color: #fff;
}

.phoneOption label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 1.63rem;
  transform: translate(10px, -50%);
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--icon-action-default, #001391);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.phoneOption input[type="radio"]:checked + label::after {
  opacity: 1;
}

/* media query para internet explorer 11 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .phoneOption {
    position: relative;
  }

  .phoneOption input[type="radio"] {
    opacity: 1;
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    border: 2px solid #47536d;
    border-radius: 50%;
    background: #fff;
  }

  .phoneOption label::before,
  .phoneOption label::after {
    display: none !important;
  }
}

.actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
}

.actions-fixed-bottom {
  display: none;
}

.alert-hidden {
  display:none;
}

/* Media query para pantallas pequeñas (móviles) */
@media (max-width: 767px) {

   main.content {
    padding-bottom: 120px;
  }

  .shield-image {
    width: 50vw;
    height: auto;
    max-width: 120px;
    aspect-ratio: 1 / 1;
    flex: none;
  }

  .phoneOption label::before {
    width: 1.8rem;
    height: 1.8rem;
  }

  .phoneOption label::after {
    width: 0.9rem;
    height: 0.9rem;
    left: 1.45rem;
  }

  .containerFlex {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .containerFlex > div[role="group"] {
    width: 100%;
    max-width: 100%;
    flex: none;
  }

  .phoneOption {
    height: auto; 
    padding: 1rem;
  }

  .otp-text {
    font-size: 1rem;
  }

  .otp-list {
    gap: 0.5rem;
  }

  .actions {
    display: none;
  }

  .actions-fixed-bottom {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      box-sizing: border-box;
      border-top-left-radius: 16px;
      border-top-right-radius: 16px;
      padding: 1em;
      background-color: white;
      z-index: 998;
      box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
      display: flex;
      justify-content: center;
  }
}