.error {
  border: solid 1px #ff0000 !important;
}

.text-error {
  color: #ff0000;
}

.hidden {
  display: none;
  transition: 100ms;
}

.disabled {
  opacity: 60%;
  pointer-events: none;
}

.select-opt-fija-mp {
  width: 100%;
  display: none;
}

.select-opt-fija-mp select {
  width: 100%;
  color: #86888C;
  border: solid 1px #86888C;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 5px;
  padding: 15px 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.bg-page-pauta {
  background-image: url(../images/bg_lp_pauta_mobile.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #039df4;
}

.container_oferta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.container_oferta .img-greicy {
  display: none;
}

/* --------- ESCALERAS ---------- */
.ct-items-escaleras {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  width: 100%;
}

.ct-item_escalera {
  border: 2px solid var(--orange);
  border-radius: 10px;
  width: 100%;
  max-width: 280px;
  background-color: var(--white);
}

.ct-item_escalera .ct-item-bg-intro {
  background-color: var(--darkBlue);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 108px;
  justify-content: center;
  border-radius: 10px 10px 0 0;
  color: var(--white);
}

.ct-item_escalera .ct-item-bg-intro p {
  line-height: 18px;
  text-align: center;
  font-size: 13px;
}

.ct-item_escalera .ct-item-bg-intro p span,
.ct-item_escalera .ct-item-price p span {
  text-decoration: line-through;
}

.ct-item_escalera .ct-item-bg-intro h3 {
  font-size: 34px;
  font-weight: lighter;
  line-height: normal;
  position: relative;
}

.tooltip {
  position: absolute;
  top: -14px;
  right: -18px;
}

.ct-tooltip {
  display: none;
  position: absolute;
  width: 118px;
  top: -26px;
  right: -52px;
}

.tooltip:hover .ct-tooltip {
  display: block;
}

.ct-item_escalera .ct-item-discount {
  text-align: center;
  gap: 6px;
  background: var(--orange);
  color: var(--white);
  font-size: 14px;
  font-weight: bold;
  padding: 7px 0;
  width: 100%;
  display: block;
}

.brd-pink {
  border: 2px solid #E63780;
}

.ct-item_escalera .ct-item-discount-pink {
  text-align: center;
  gap: 6px;
  background: #E63780;
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  padding: 7px 0;
  width: 100%;
  display: block;
}

.ct-item-info {
  padding: 0 0 10px;
  background-color: var(--white);
  border-radius: 0 0 10px 10px;
}

.ct-item_escalera .ct-item-price {
  text-align: center;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ct-item_escalera .ct-item-price h3 {
  color: #0B2739;
  font-size: 30px;
  font-weight: lighter;
  line-height: normal;
}

.ct-item_escalera .ct-item-price p {
  color: #86888C;
  font-size: 13px;
}

.ct-item_escalera .ct-item-benefit {
  margin: 4px auto 0;
  width: 80%;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background-color: #f3f3f3;
  border-radius: 6px;
  font-size: 11px;
  line-height: 14px;
}

.ct-item_escalera .ct-item-benefit img {
  width: 33px;
  height: 36px;
  object-fit: contain;
}

.ct-oferta-pauta,
.content-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

.content-promo {
  flex-direction: column-reverse;
}

.ct-oferta-titles {
  color: var(--white);
  text-align: center;
}

.ct-oferta-titles h3 {
  display: none;
  /* Mobile hidden by default */
  font-size: clamp(1.2rem, 5vw, 2.2rem);
  font-weight: lighter;
}

.title-mobile {
  font-size: clamp(0.8rem, 4vw, 1rem);
  font-weight: lighter;
  text-align: center;
  color: var(--white);
  margin-bottom: 14px;
}

.ct-oferta-titles p {
  font-size: clamp(1.1rem, 5vw, 1.18rem);
  line-height: normal;
}

.sect-paut-fibr {
  display: flex;
  flex-direction: column-reverse;
  /* Mobile default */
  padding: 10vw 20px;
  /* Mobile default */
  height: auto;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}

.btn-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  gap: 10px;
  margin-bottom: 11px;
}

.btn-group input[type="radio"] {
  display: none;
}

.btn-group label {
  border-radius: 50px;
  padding: 4px 0;
  border: 1px solid var(--blue);
  color: var(--blue);
}

.btn-group .btn-selected {
  background: var(--blue);
  color: var(--white);
}

.franja-azul {
  background-color: #b5e5ff;
  text-align: center;
  padding: 10px 0;
  color: #50535a;
  font-size: 15px;
  border-radius: 0 0 15px 15px;
}

.franja-azul span {
  color: #019df4;
}

.exclusivo-venta {
  border: 2px solid #ffffff;
  background-color: transparent;
  text-align: center;
  color: #ffffff;
  padding: 0px 0;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.disabledtext {
  color: #b4b4b4;
  user-select: none;
}

.disabledtext a {
  color: #b4b4b4 !important;
}

.check-politicas {
  font-size: 12px;
  /* Mobile default */
}

.sect-paut-fibr .container-form form .box-cel {
  border: solid 1px #c3c3c3;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-radius: 5px;
  padding: 8px 20px;
  position: relative;
}

.sect-paut-fibr .container-form form .icn-mobile-device-regular:before {
  position: absolute;
  right: 10px;
  font-size: 25px;
  color: #50535a;
}

.sect-paut-fibr .container-form form .box-cel label {
  color: #009df2;
}

.sect-paut-fibr .container-form form input {
  width: 100%;
  padding: 0;
  border-radius: 3px;
  border: none;
}

.sect-paut-fibr .container-form .form h1 {
  color: #50535a;
  font-weight: 400;
  line-height: 1.7rem;
  padding-top: 20px;
  font-size: 16px;
}

.sect-paut-fibr .container-form .form {
  background-color: #fff;
  border-radius: 15px;
  text-align: center;
}

.sect-paut-fibr .container-form form {
  padding: 30px;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.sect-paut-fibr .container-form form .lb-text {
  margin: 10px 0;
}

.sect-paut-fibr .container-form .box-answer {
  text-align: left;
}

.sect-paut-fibr .container-form .box-answer .box-question {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
  text-align: left;
  margin-top: 7px;
}

.sect-paut-fibr .container-form .box-answer .box-question select {
  width: 100%;
  height: 40px;
  overflow: hidden;
  border: 1px solid #c3c3c3;
  padding: 5px 10px;
  border-radius: 6px;
  display: block;
  margin: 10px auto;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"),
    linear-gradient(to bottom, #ffffff 0%, #f7f7f7 100%);
  background-repeat: no-repeat, repeat;
  background-position: right 0.7em top 50%, 0 0;
  background-size: 0.65em auto, 100%;
}

.sect-paut-fibr .container-form .box-answer .box-question option {
  background-color: #f5f5f5;
  height: 40px;
}

.sect-paut-fibr .container-form form .accept {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  gap: 5px;
  text-align: left;
}

.sect-paut-fibr .container-form form .accept input {
  width: auto;
  margin-top: 7px;
}

.sect-paut-fibr .container-form form .btn-fomr-paut {
  width: 100%;
}

.active,
.btn:hover {
  background: #009df2;
  color: white;
}

.btn-fomr-paut {
  background-color: #009df2;
  color: #fff;
  border-radius: 20px !important;
  width: 100%;
}

.container-form button {
  border-radius: 22px;
  background-color: #019df4;
  color: #fff;
  width: 100%;
  height: 43px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto 0;
}

.enviarForm {
  width: 100%;
  /* Mobile default */
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #589cf1;
  color: white;
  margin: 8px 0;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  /* Mobile default */
  margin-top: 11%;
}

/* Estilos para los estados del botón de envío */
.enviarForm.success {
  background: #28a745 !important;
  border-color: #28a745 !important;
  color: white !important;
}

.enviarForm.error {
  background: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
}

.enviarForm:disabled {
  pointer-events: none;
  opacity: 0.7;
}

.enviarForm .icon-spinner {
  display: none;
}

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

.enviarForm .icon-spinner {
  animation: spin 1s linear infinite;
}

.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  transition: all 0.3s ease;
}

.icon-send {
  background: url(../images/icono-success-whiteDarkBlue.svg) no-repeat center center;
  background-size: contain;
  height: 24px;
  width: 24px;
  margin-right: 12px;
}

.icon-spinner {
  -webkit-mask: url(../images/icon-spinner.svg) no-repeat 100% 100%;
  mask: url(../images/icon-spinner.svg) no-repeat 100% 100%;
  -webkit-mask-size: cover;
  mask-size: cover;
  height: 24px;
  width: 24px;
  -webkit-animation: spin 1.5s linear infinite;
  animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

.c-plan-f__contrata {
  margin: 14px auto 0;
  padding: 4px 10px;
  width: 82%;
  background-color: #ccebfd;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  color: var(--blue);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.c-movistar-total {
  padding: 12px 10px;
  margin-top: 20px;
}

.c-movistar-total {
  width: 100%;
}

/* --- Media Queries --- */

@media (min-width: 768px) {
  .bg-page-pauta {
    background-image: url(../images/bg_lp_pauta_desk.webp);
    object-fit: contain;
    /* Not typically used with background-image */
  }

  .container_oferta {
    flex-direction: row;
    gap: 20px;
  }

  .container_oferta .img-greicy {
    display: block;
    width: 415px;
    position: relative;
    bottom: -35px;
  }

  .ct-items-escaleras {
    flex-direction: row;
  }

  .content-promo {
    flex-direction: column;
  }

  .ct-oferta-titles h3 {
    display: block;
  }

  .title-mobile {
    display: none;
  }

  .ct-oferta-titles p {
    font-size: 1.18rem;
  }

  .check-politicas {
    font-size: 14px;
  }

  .sect-paut-fibr .container-form .form h1 {
    margin: 0 auto;
    width: 47%;
    font-size: 18px;
    line-height: 23px;
  }

  .enviarForm {
    max-width: 170px;
    height: 30px;
    font-size: 14px;
  }

  .c-movistar-total {
    display: none;
  }

  .ct-item_escalera .ct-item-bg-intro h3 {
    font-size: 40px;
  }

  .c-plan-f__contrata {
    width: 90%;
  }

  /* Original desktop-only styles */
  option.dummy-option-for-chrome {
    font-size: 2px;
    color: transparent;
  }

  .container-promo-form .contianer-slct .item {
    color: #fff;
    background-color: #002b3d;
    cursor: pointer;
    margin: 30px !important;
    text-indent: 55px;
  }
}

@media (min-width: 1141px) {

  /* Changed from max-width to min-width for mobile-first */
  .sect-paut-fibr {
    display: grid;
    grid-template-columns: 64% 27%;
    grid-template-rows: 100%;
    grid-column-gap: 77px;
    grid-row-gap: 0px;
    padding: 20px;
    height: initial;
  }
}

/* Estilos personalizados para SweetAlert2 - Movistar */
.swal2-popup {
  border-radius: 15px;
  font-family: 'Telefonica', sans-serif;
}

.swal2-title {
  color: #019df4;
  font-weight: 600;
}

.swal2-content {
  color: #50535a;
  font-size: 16px;
}

.btn-movistar {
  background-color: #019df4 !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 12px 30px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.btn-movistar:hover {
  background-color: #0180cc !important;
  transform: translateY(-1px);
}

.btn-error {
  background-color: #dc3545 !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 12px 30px !important;
  font-weight: 600 !important;
}

.btn-error:hover {
  background-color: #c82333 !important;
}

.swal2-icon.swal2-success {
  border-color: #28a745;
  color: #28a745;
}

.swal2-success-circular-line-left,
.swal2-success-circular-line-right {
  background-color: #28a745;
}

.swal2-success-fix {
  background-color: #28a745;
}

.swal2-icon.swal2-error {
  border-color: #dc3545;
  color: #dc3545;
}

.swal2-icon.swal2-warning {
  border-color: #ffc107;
  color: #ffc107;
}

.swal2-timer-progress-bar {
  background: #019df4;
}

/* Animación personalizada para el check de éxito */
.swal2-icon.swal2-success .swal2-success-line {
  background-color: #28a745;
}

.swal2-icon.swal2-success .swal2-success-ring {
  border-color: #28a745;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .swal2-popup {
    width: 90% !important;
    margin: 0 auto;
  }
  
  .swal2-title {
    font-size: 1.5rem;
  }
  
  .swal2-content {
    font-size: 14px;
  }
}