.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.img-container {
  text-align: center;
  display: block;
  align-items: center;
  align-content: center;
  position: relative;
}
.help-block > ul > li {
  background-color: beige !important;
}
#success_message {
  display: none;
}
.dropbtn {
  background-color: #4caf50;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {
  background-color: #f1f1f1;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}
div.word-wrap {
  word-wrap: break-word;
}
/* .invalid class prevents CSS from automatically applying */
.invalid input:required:invalid {
  background: #be4c54;
}
/* Mark valid inputs during .invalid state */
.invalid input:required:valid {
  background: #17d654;
}
.error {
  color: #ff0000;
}
.popover {
  border: 2px dotted red;
  /* width: 400px;
                    height: 300px; */
  max-width: 500px !important;
  max-height: 500px !important;
  z-index: 10001 !important;
}
/* Popover Header */
.popover-title {
  background-color: coral !important;
  color: black;
  font-size: 28px;
  text-align: center;
}
/* Popover Body */
.popover-content {
  background-color: rgb(243, 241, 237);
  color: black;
  padding: 25px;
}
/* Popover Arrow */
.arrow {
  border-right-color: red !important;
}
.modal-body p {
  word-wrap: break-word;
}
.ocultarElemento {
  display: none !important;
  /* align-items: center; */
}
i.iconArchivos {
  margin: 10px;
  cursor: pointer;
  font-size: 30px;
}
/* i.fa-camera {
                margin: 10px;
                cursor: pointer;
                font-size: 30px;
                width: 100px;
            } */
i:hover {
  opacity: 0.6;
}
/* .element>input {
                display: none !important;
                visibility: none;
            } */
.archivo-upload > input {
  display: none !important;
}
.archivo-upload i {
  /* width: 100px;
                cursor: pointer; */
  margin: 10px;
  cursor: pointer;
  font-size: 30px;
}
.modal {
  z-index: 9999;
  overflow: auto;
}
body.modal-open {
  height: 100vh;
  overflow: hidden;
}
body {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
/* Hide all steps by default: */
.tab {
  display: none;
}
/* Make circles that indicate the steps of the form: */
.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbbbbb;
  border: none;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}
/* Mark the active step: */
.step.active {
  opacity: 1;
}
/* Mark the steps that are finished and valid: */
.step.finish {
  background-color: #04aa6d;
}
/*Separador*/
.separator {
  display: flex;
  align-items: center;
  text-align: center;
  color: #2a2d77; /*#fb593c;*/
}
.separator::before,
.separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #2a2d77; /*#fb593c;*/ /*#3c763d;*/
}
.separator:not(:empty)::before {
  margin-right: 0.25em;
}
.separator:not(:empty)::after {
  margin-left: 0.25em;
}
.swal2-container {
  z-index: 10001 !important;
}
.loaderMiFact {
  /* background: #000; */
  /* background: radial-gradient(#222, #000); */
  bottom: 0;
  left: 0;
  overflow: hidden;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 99999;
}
#loaderSpinner {
  position: fixed;
  top: 0;
  z-index: 10002;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.6);
}
.cv-spinner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px #ddd solid;
  border-top: 4px #2e93e6 solid;
  border-radius: 50%;
  animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
  100% {
    transform: rotate(360deg);
  }
}
.is-hide {
  display: none;
}

.popover-label {
  cursor: pointer;
}

.popover-label .popover-content {
  padding: 5px !important;
  font-size: smaller !important;
}
.popover-label .popover {
  /* position: absolute !important; */
  top: -100px !important; /* Adjust this value to move the popover up */
  left: 0 !important; /* Adjust this value to move the popover to the left */
}
.popover {
  max-width: 100% !important; /* Max Width of the popover (depending on the container!) */
  max-height: 300px !important; /* Max Height of the popover */
  overflow-y: auto; /* Enable scrolling if the content exceeds the max height */
}

/* ===== CTA Highlights (restaurados) ===== */
.btn-cta-primary {
  position: relative;
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px; /* forma más ovalada/pastilla */
  color: #fff !important;
  background: #2a2d77;
  border: 2px solid transparent;
  box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  transition: box-shadow 200ms ease, transform 150ms ease;
}
.btn-cta-primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit; /* coincide con la forma ovalada */
  padding: 2px; /* grosor del borde */
  background: linear-gradient(135deg, #ff3b3b, #ffc107);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.btn-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(255, 59, 59, 0.35), 0 0 24px rgba(255, 193, 7, 0.25);
}

.btn-cta-secondary {
  color: #2a2d77 !important;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 150ms ease, background 150ms ease;
}
.btn-cta-secondary:hover {
  background: rgba(42, 45, 119, 0.08);
}

.badge-new {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff6a00, #ffc107);
}

/* Variante para CTAs en 'Planes Firma': texto negro y negrita */
.btn-cta-primary.btn-cta-black {
  color: #000 !important;
  font-weight: 700;
  background: #ffffff; /* Fondo claro para contrastar el texto negro */
  border-color: #000; /* filo negro visible como en el estilo por defecto */
}

/* ===== Estilos para aviso de facturación (SweetAlert2) ===== */
/* .swal-aviso-backdrop {
  background: rgba(0, 0, 0, 0.4) !important;
  cursor: pointer !important;
} */

.swal-aviso-facturacion {
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid #e0e0e0 !important;
  max-width: 480px !important;
  cursor: auto !important;
}

.swal-aviso-facturacion .swal2-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
  color: #333 !important;
}

.swal-aviso-facturacion .swal2-html-container {
  padding: 12px 0 !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.swal-aviso-facturacion .swal2-timer-progress-bar {
  background: linear-gradient(90deg, #ffc107, #ff9800) !important;
  height: 4px !important;
}

/* Animación de entrada suave */
@keyframes slideInAviso {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
