/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Module Container ── */
.featured-actions-module {
  width: 360px;
  background-color: rgb(220, 235, 225);
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  font-family: 'IberPangea Text', sans-serif;
}

/* ── Icon + Text ── */
.featured-actions-module__icon-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.featured-actions-module__icon {
  width: 64px;
  height: 64px;
}

.featured-actions-module__title-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.featured-actions-module__title {
  padding-bottom: 0rem;
  margin-bottom: 0;
}

/* ── Typography foundations ── */
.title_s {
  font-family: 'IberPangea', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  color: #2C2C2C;
}

.body_regular_m {
  font-family: 'IberPangea Text', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: rgb(71, 71, 71);
}

.featured-actions-module__body {
  text-align: center;
  opacity: 0.8;
  margin-bottom: 0rem;
}

.body_regular_s {
  font-family: 'IberPangea Text', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #2C2C2C;
}

.link_smbold_s {
  font-family: 'IberPangea Text', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  color: #2F6852;
  text-decoration: underline;
}

.button_main_m {
  font-family: 'IberPangea Text', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

/* ── Form ── */
.featured-actions-module__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 328px;
}

/* ── Phone Field ── */
.featured-actions-module__phone-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.featured-actions-module__label-wrapper {
  padding-left: 16px;
}

.featured-actions-module__label {
  color: rgb(71, 71, 71) !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0.8 !important;
}

/* Contenedor pill ÚNICO */
.featured-actions-module__field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 8px 16px 8px 8px;
  border-radius: 100px;
  border: 1px solid #707070;
  background: #FFFFFF;
  transition: border-color 0.2s;
  margin-bottom: 0rem;
}

/* Focus visible en el contenedor cuando el input tiene focus */
.featured-actions-module__field:focus-within {
  border-color: #2F6852;
  outline: 2px solid #2F6852;
  outline-offset: -1px;
}

.featured-actions-module__country-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 8px;
  cursor: pointer;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.featured-actions-module__flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.featured-actions-module__flag svg {
  width: 20px;
  height: 20px;
}

.featured-actions-module__chevron {
  display: flex;
  align-items: center;
  width: 16px;
  height: 16px;
}

.featured-actions-module__divider {
  width: 1px;
  height: 24px;
  background: #707070;
  flex-shrink: 0;
}

.featured-actions-module__prefix-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.featured-actions-module__prefix {
  color: #2C2C2C;
  white-space: nowrap;
}

/* Reset TOTAL del input — eliminar cualquier estilo propio */
.featured-actions-module__phone,
.featured-actions-module__field input[type="tel"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0;
  flex: 1;
  width: 100%;
  font-family: 'IberPangea Text', sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #2C2C2C;
}

.featured-actions-module__phone:focus,
.featured-actions-module__field input[type="tel"]:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.featured-actions-module__phone::placeholder {
  color: rgb(71, 71, 71);
  opacity: 0.8;
}

.featured-actions-module__field.form-group.has-error {
  border-color: #a94442;
}


#input-tel.has-error input:not([type="button"]):not([type="checkbox"]):not([type="file"]):not([type="radio"]) {
  color: var(--Color-Form-Content-Error);
  background-image: url(/ibdmedia/comunes/iconos/ico-alert.svg) !important;
  background-repeat: no-repeat !important;
  background-position-x: calc(100% - 16px) !important;
  background-position-y: 50% !important;
  margin-bottom: 0;
}




/* ── Checkboxes ── */
.featured-actions-module__checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.featured-actions-module__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  cursor: pointer;
  padding-left: 0px !important;
  margin-bottom: 0px !important;
}

/* Ocultar el input nativo */
.featured-actions-module__checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Caja visual custom */
.featured-actions-module__checkbox-box {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 1.5px solid #2F6852;
  border-radius: 4px;
  display: block;
  margin: 8px;
  position: relative;
}

/* Checkmark al seleccionar */
.featured-actions-module__checkbox-input:checked+.featured-actions-module__checkbox-box {
  background-color: #2F6852;
}

.featured-actions-module__checkbox-input:checked+.featured-actions-module__checkbox-box::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.featured-actions-module__checkbox-text {
  padding-top: 10px;
}

.featured-actions-module__checkboxes .form-group.privacy{
  margin-bottom: 0rem;
}



/* Borde rojo en el checkbox */
.form-group.privacy.has-error .featured-actions-module__checkbox-box {
  border-color: #cb1212;
}

/* Texto en rojo */
.form-group.privacy.has-error .featured-actions-module__checkbox-text {
  color: #cb1212;
}

/* Opcional: también el enlace dentro del texto */
.form-group.privacy.has-error .featured-actions-module__checkbox-text a {
  color: #cb1212;
}



/* ── Button ── */
.featured-actions-module__button {
  width: 100%;
  height: 56px;
  background-color: #2F6852;
  color: #FFFAF6;
  border: none;
  border-radius: 100px;
  padding: 0 40px;
  cursor: pointer;
}

.featured-actions-module__button:hover {
  opacity: 0.9;
}

/* ── Modales ── */
.container-cmb-ok {
  display: flex;
  height: 694px;
  padding: var(--size-space-40, 40px) var(--360-575-page-margin, 16px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--size-space-0, 0);
}

.container-bottom {
  display: flex;
  padding: var(--size-space-16, 16px) var(--360-575-page-margin, 16px) var(--size-space-40, 40px) var(--360-575-page-margin, 16px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: var(--border-radius-none, 0) var(--border-radius-none, 0) var(--border-radius-l, 16px) var(--border-radius-l, 16px);
  background: var(--Color-Surface-General-1, #fff);
}

.container-button-main {
  display: flex;
  height: 56px;
  min-width: 200px;
  max-width: 328px;
  padding: var(--border-radius-none, 0);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--size-space-0, 0);
  /* align-self: stretch; */
}

.container-button {
  display: flex;
  height: 56px;
  min-width: 200px;
  max-width: 328px;
  padding: var(--border-radius-none, 0);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--size-space-0, 0);
  align-self: stretch;
}

.container-cmb-ok {
  display: flex;
  height: 694px;
  padding: var(--size-space-40, 40px) var(--360-575-page-margin, 16px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--size-space-0, 0);
}

.contanier-ok {
  min-width: 328px;
  max-width: 328px;
  padding: var(--size-space-0, 0);
  gap: var(--size-space-0, 0);
  align-self: stretch;
}

.contaniner-ok-topmiddle {
  display: flex;
  padding: var(--size-space-0, 0);
  flex-direction: column;
  align-items: center;
  gap: var(--size-space-0, 0);
  align-self: stretch;
}

.container-ok-top {
  display: flex;
  padding: var(--size-space-16, 16px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--size-space-8, 8px);
  align-self: stretch;
  border-radius: var(--border-radius-l, 16px) var(--border-radius-l, 16px) var(--border-radius-none, 0) var(--border-radius-none, 0);
  background: var(--Color-Surface-General-1, #fff);
}

.container-ok-button {
  display: flex;
  padding: var(--size-space-0, 0);
  justify-content: flex-end;
  align-items: center;
  gap: var(--size-space-0, 0);
  align-self: stretch;
}

.container-ok-icon {
  display: flex;
  width: 24px;
  height: 24px;
  justify-content: center;
  align-items: center;
}

.icon-close {
  width: var(--Size-icons-s, 24px);
  height: var(--Size-icons-s, 24px);
  flex-shrink: 0;
}

.container-img-texto {
  display: flex;
  padding: var(--size-space-0, 0);
  flex-direction: column;
  align-items: center;
  gap: var(--size-space-8, 8px);
  align-self: stretch;
}

.container-img-mano {
  display: flex;
  padding: var(--size-space-0, 0);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--size-space-0, 0);
  align-self: stretch;
}

.container-img-shell {
  display: flex;
  width: 80px;
  height: 80px;
  align-items: flex-start;
}

.container-img-success {
  flex: 1 0 0;
  align-self: stretch;
}

.img-mano-ok {
  width: 80px;
  height: 80px;
}

.container-title {
  display: flex;
  padding: var(--size-space-0, 0);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
}

.container-title .titulo{
  text-align: center;
}

.container-title .body{
  text-align: center;
}


/* ── 576px ── */
@media (min-width: 576px) {
  .featured-actions-module {
    width: 576px;
    padding: 40px 42px;
  }

  .featured-actions-module__form {
    width: 492px;
  }

  .featured-actions-module__phone-field {
    max-width: 412px;
    width: 100%;
    margin: 0 auto;
  }

  .featured-actions-module__button {
    width: 328px;
    margin: 0 auto;
  }

  .container-img-texto {
    display: flex;
    padding: var(--size-space-0, 0) var(--size-space-24, 24px);
    flex-direction: column;
    align-items: center;
    gap: var(--size-space-8, 8px);
    align-self: stretch;
  }

  .container-button-main {
    display: flex;
    height: 56px;
    min-width: 328px;
    max-width: 328px;
    padding: var(--border-radius-none, 0);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--size-space-0, 0);

  }

  .container-bottom {
    padding: var(--size-space-16, 16px) var(--size-space-40, 40px) var(--size-space-32, 32px) var(--size-space-40, 40px);
    gap: var(--size-space-0, 0);

  }

  .container-cmb-ok {
    padding: var(--size-space-64, 64px) var(--576-767-page-margin, 42px);
    gap: var(--size-space-0, 0);
  }

  .contanier-ok {
    min-width: 492px;
    max-width: 492px;
  }
}

/* ── 768px ── */
@media (min-width: 768px) {
  .featured-actions-module {
    width: 768px;
    padding: 40px 48px;
  }

  .featured-actions-module__form {
    width: 672px;
  }

  .featured-actions-module__phone-field {
    max-width: 412px;
    width: 100%;
    margin: 0 auto;
  }

  .featured-actions-module__button {
    width: 328px;
    margin: 0 auto;
  }

  .container-button-main {
    display: flex;
    height: 56px;
    min-width: 328px;
    max-width: 328px;
    padding: var(--border-radius-none, 0);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--size-space-0, 0);

  }

  .container-img-texto {
    display: flex;
    padding: var(--size-space-0, 0) var(--size-space-24, 24px);
    flex-direction: column;
    align-items: center;
    gap: var(--size-space-8, 8px);
    align-self: stretch;
  }

  .container-bottom {
    padding: var(--size-space-16, 16px) var(--size-space-40, 40px) var(--size-space-32, 32px) var(--size-space-40, 40px);
    gap: var(--size-space-0, 0);
  }

  .container-cmb-ok {
    padding: var(--size-space-64, 64px) 106px;
    gap: var(--size-space-0, 0);
  }

  .contanier-ok {
    min-width: 556px;
    max-width: 556px;
  }
}