body {
  font-family: montserrat, sans-serif;
  background-color: rgb(44,47,35);
  min-height: 100vh;
  position: relative;
}
#navbarprinc {
  background-color: transparent !important;
  /* background-color: #F2E9CE !important; */
}
#navbarprinc-usa {
  background-image: url("../images/background-woo-city.png") !important;
}
.text-gold {
  color: #b4a46c;
}
.bg-gold {
  background-color: #b4a46c;
  border: none;
  color: #fff;
}
.bg-gold:disabled {
  background-color: rgba(180, 164, 108, 0.75);
}
.bg-gold:hover,
.bg-gold:focus {
  background-color: #9c8d55;
  color: #fff;
}
#loading {
  z-index: 100000;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 38, 58, 0.75) !important;
  position: fixed;
  top: 0;
  left: 0;
}
#div_datosref {
  background-color: #ebebeb;
}

.form-control:focus,
.input-group-text:focus,
.form-floating:focus {
  border: 2pt #00a0ff solid;
}
.form-floating > label {
  padding: 0.5rem 0.5rem;
  font-size: 0.8rem;
  color: black;
}
.form-floating > .form-select,
.form-floating > .form-control,
.form-floating2 > .form-select,
.form-floating2 > .form-control {
  padding-top: 0.8rem;
  padding-bottom: 0.125rem;
  height: calc(2.7rem);
  line-height: normal;
  font-size: 0.95rem;
}

.form-floating2 {
  border-radius: 5px;
  position: relative;
}
.form-floating2 > label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0.5rem 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
  color: black;
  z-index: 2 !important;
}
.form-floating2 > .form-select.optnotempty ~ label {
  opacity: 0.65;
  transform: scale(0.8) translateY(-0.5rem) translateX(-0.15rem);
}

label.error {
  color: #dc3545;
  margin-top: 35px;
}

.text-justify {
  text-align: justify;
}

footer {
  /* background-color: #2D2F22; */
  background-color: none;
  color: #F2E9CE;
  position: absolute;
  bottom: 0;
  left: 0;
}
footer p {
  font-size: 0.85rem;
}
#footdireccion {
  line-height: normal;
  color: rgba(0, 0, 0, 1);
  font-weight: 400;
  font-size: 15px;
}

#divalertbtrp {
  position: fixed;
  top: 75px;
  right: 30px;
  width: 40vw;
  z-index: 1100;
}

form label sup {
  color: rgba(87, 87, 86, 1);
  font-weight: bold;
}

.text-shadow {
  text-shadow: 1px 1px 1px black;
}

.form-floating2 .select2-container--bootstrap-5 .select2-selection {
  height: calc(2.7rem);
  padding: 0.85rem 0.35rem;
}

.form-floating2
  .select2-container--bootstrap-5
  .select2-selection
  > .select2-selection__rendered {
  margin-top: 0.1rem;
  margin-left: 0.1rem;
}

ul li.select2-results__option {
  font-size: 0.85rem !important;
}

*:has(label.error) {
  position: relative;
}
.form-floating > label:has(.error),
.select2.select2-container ~ label:has(.error),
.form-floating2 > select ~ label:has(.error) {
  position: absolute;
  bottom: -37px;
  top: auto;
  font-size: 0.7rem;
  left: 0px;
  transform: none !important;
  color: tomato;
  opacity: 1 !important;
  white-space: normal;
  line-height: normal;
}

.carousel-item > img ~ a {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 2;
  top: 0;
  left: 0;
}

.div-domi-activa {
  background-color: #3ecc3e;
  width: 50%;
  height: 100%;
}

.div-domi-suspendida {
  background-color: #ce504b;
  width: 50%;
  height: 100%;
}

.modal-form-domi-header {
  margin-left: 10%;
  margin-right: 10%;
  background-color: #ffffff;
  margin-top: 15px;
  border-radius: 7px;
  text-align: center;
}

.div-modal-resumen-domi {
  margin-left: 9%;
  margin-right: 9%;
  background-color: #ffffff;
  padding-bottom: 40px;
  padding-top: 40px;
}

.div-modal-info-pago-domi {
  margin-left: 9%;
  margin-right: 9%;
  background-color: #ffffff;
  border-radius: 7px;
  margin-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.div-modal-btn-close {
  align-self: end;
  margin-right: 10px;
  margin-top: 10px;
}

input[type="checkbox"].cbMens {
  border-color: #585c60;
}

#info_contrato_domi {
  max-height: 65vh;
  overflow-y: scroll;
  margin-left: 9%;
  margin-right: 9%;
}

#info_contrato_domi > * {
  font-family: "Arial Nova Light", Arial, sans-serif;
  font-size: 10px; /* Equivalente a 7.5 pt */
  line-height: 1.2;
  text-align: justify;
}
#info_contrato_domi > h3,
h5 {
  font-weight: bold;
}
#info_contrato_domi > .container {
  max-width: 900px; /* Para que mantenga una estructura similar a un documento */
}
.marcado-contrato-domi {
  background-color: gainsboro;
  font-weight: bold;
  font-size: 11px; /* Equivalente a 7.5 pt */
}
.encabezado-tabla-contrato-domi {
  font-weight: bold;
  text-align: center;
  --bs-table-bg: gainsboro;
}
.celda-tabla-contrato-domi {
  --bs-table-bg: gainsboro;
}
#info_contrato_domi > p {
  text-align: justify;
}

/* Estilos personalizados para el modal */
.modal-content-confirm-domi {
  background: transparent;
  border: none;
}

.modal-body-confirm-domi {
  position: relative;
  text-align: center;
  padding: 0;
}

.promo-image {
  width: 100%;
  max-width: 400px; /* Ajuste de tamaño */
  display: block;
  margin: auto;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(90, 90, 90, 0.5);
  color: #101010;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 18px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
}

.close-btn:hover {
  background: rgba(71, 71, 71, 0.8);
}

.accept-btn {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  background: #b2a26c;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  width: 60%;
}

.accept-btn:hover {
  background: #928559;
}

.accept-cancelar-domi {
  position: absolute;
  bottom: -14%;
  left: 50%;
  transform: translateX(-50%);
  background: #999999;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 20px;
  cursor: pointer;
  width: 40%;
  height: 12%;
}

.accept-cancelar-domi:hover {
  background: #797878;
}

.confirm-domi-info-legal {
  position: absolute;
  bottom: -35%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 7px;
  width: 70%;
  text-align: justify;
}

.cancelar-domi-btn {
  background-color: #bfbfbf;
  color: white;
}

.cancelar-domi-btn:hover {
  background-color: #c61436;
}

.update-payment-link {
  color: #22b0ef;
  text-align: end;
  font-weight: bold;
}

.update-payment-link:hover {
  text-decoration: underline;
}

iframe.CollectJSInlineIframe {
  height: 130px !important;
}

.collect-field-container {
  border: solid 2px black;
  height: 40px;
  border-radius: 5px;
}

@media (max-width: 1024px) {
  #footdireccion {
    margin-left: 15px;
    margin-right: 15px;
  }

  #divalertbtrp {
    width: 60vw;
  }
  .form-floating > label:has(.error),
  .select2.select2-container ~ label:has(.error),
  .form-floating2 > select ~ label:has(.error) {
    bottom: -34px;
  }
}

@media (max-width: 768px) {
  #footdireccion {
    margin-left: 5px;
    margin-right: 5px;
    text-align: justify !important;
  }

  #divalertbtrp {
    width: 90vw;
  }
}

@media (max-width: 576px) {
  .div-domi-activa {
    background-color: #3ecc3e;
    width: 100%;
    height: 100%;
  }

  .div-domi-suspendida {
    background-color: #ce504b;
    width: 100%;
    height: 100%;
  }

  .update-payment-link {
    color: #22b0ef;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
  }
}

.sem {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.verde {
  background-color: green;
}

.warning {
  background-color: yellow;
}

.danger {
  background-color: red;
}

.btn-x {
  background-color: #dc3545;
  /* rojo tipo Bootstrap */
  color: white;
  border: none;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.2s ease-in-out;
}

.btn-x:hover {
  background-color: #c82333;
  /* rojo más oscuro al hacer hover */
}

/* CSS PARA ALERT DE APARTADOS DE MEMORIAL */
.custom-alert-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.custom-alert-overlay.closing {
  opacity: 0;
}

.custom-alert-box {
  position: relative;
  width: min(100%, 621px);
  max-height: 84vh;
  overflow-y: auto;
  background: rgba(242, 242, 240, 1);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 60px) clamp(20px, 5vw, 90px) clamp(30px, 5vw, 60px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.custom-alert-close {
  position: absolute;
  top: clamp(18px, 2vw, 30px);
  right: clamp(18px, 2vw, 30px);
  border: none;
  background: transparent;
  color: rgba(87, 87, 86, 1);
  font-size: clamp(34px, 3vw, 56px);
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.custom-alert-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(18px, 2vw, 26px);
}

.custom-alert-icon-circle {
  width: clamp(70px, 12vw, 100px);
  height: clamp(70px, 12vw, 100px);
  border-radius: 50%;
  background: rgba(220, 217, 130, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-alert-icon {
  color: white;
  font-size: clamp(42px, 5vw, 90px);
  font-weight: 700;
  line-height: 1;
}

.custom-alert-title {
  text-align: center;
  color: rgba(45, 47, 34, 1);
  font-size: clamp(10px, 8vw, 53px);
  font-weight: 400;
  letter-spacing: 0.28em;
  margin: 0 0 clamp(28px, 4vw, 60px);
  font-family: serif;
}

.custom-alert-content {
  color: rgba(45, 47, 34, 1);
  width: min(100%, 760px);
  margin: 0 auto;
}

.custom-alert-subtitle {
  font-size: clamp(14px, 3vw, 25px);
  font-weight: 600;
  margin-bottom: 18px;
  color: rgba(0, 0, 0, 1);
}

.custom-alert-text {
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.5;
  margin: 0;
}

.custom-alert-list {
  margin: 0;
  padding-left: clamp(20px, 2vw, 32px);
}

.custom-alert-list li {
  font-size: clamp(9px, 2vw, 18px);
  line-height: 1.65;
  color: rgba(87, 87, 86, 1);
  margin-bottom: 6px;
}

/* móvil */
@media (max-width: 576px) {
  .custom-alert-box {
    border-radius: 20px;
    padding: 20px 18px 28px;
  }

  .custom-alert-title {
    letter-spacing: 0.16em;
  }

  .custom-alert-content {
    width: 100%;
  }
}