/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  /* Smooth scroll behavior */
  scroll-behavior: smooth;

  /* Colors */
  --color-default: #222222;
  --color-primary: #ffd11a;
  --color-secondary: #222222;
  --color-tertiary: #e6b800;
  --light-blue: #00b6a1;
  --dark-white: #f6f6f6;
  --white: #fff;
  --transparent-white: rgba(255, 255, 255, 0.8);
  --dark-gray: #6f6f6f;
  --dark-dark-gray: #3c3c3c;
  --dark-green: #00796b;
  --black: #000000;
  --transpartent-black: rgba(127, 137, 161, 0.25);
  --transparent-dark-grenn: rgba(0, 131, 116, 0.4);
  --red: #df1529;

  /* Fonts */
  --font-default: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Poppins", sans-serif;

}

body {
  font-family: var(--font-default);
  background: var(--white);
  color: var(--color-default);
  
}

/* Galeria */
.img-preview-container .img-wrapper .remove-img {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  padding: 2px 6px;
  text-align: center;
}

.img-preview-container {
    overflow: scroll;
    height: 220px;
}


.img-preview-container img {
  object-fit: cover;
  margin: 10px;
  height: 100px;
  width: 100px; /* Adjust size as needed */
}




/*--------------------------------------------------------------
# Container Login
--------------------------------------------------------------*/

.container-form {
  padding: 160px;
}

@media (max-width: 800px) {
  .container-form {
    padding: 100px;
  }
}

@media (max-width: 595px) {
  .container-form {
    padding: 50px;
  }
}

@media (max-width: 495px) {
  .container-form {
    padding: 10px;
  }
}

.container-form .card-body{
  background: #ECE9E6;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #ECE9E6, #FFFFFF);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #ECE9E6, #FFFFFF); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.container-form .card-body h4 {
  padding: 20px;
  margin-top: 10px;
  font-weight: 500;
  text-align: center;
}

.container-form .card-body .btn {
  background: #F2994A;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #F2C94C, #F2994A);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #F2C94C, #F2994A); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  border: none;
}

.container-form .card-body .input {
  background: none;
  color: #000000;
  font-size: 15px;
  padding: 10px 10px 10px 5px;
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--black);
}

input:focus{
  outline: none;
}

/* ── Feedback inline para validación de duplicados ── */
.field-feedback {
  font-size: 0.82rem;
  margin-top: 4px;
  min-height: 1.2em;
  transition: color 0.2s ease;
}
.field-feedback-error {
  color: #dc3545;
  font-weight: 600;
}
.field-feedback-ok {
  color: #22c55e;
  font-weight: 500;
}
.form-control.is-invalid {
  border-color: #dc3545 !important;
}
.form-control.is-valid {
  border-color: #22c55e !important;
}

.container-form .card-body .label {
  color: #000000;
  font-size: 17px;
}

.container-form .card-body{
  border-radius: 10px;
}

a {
  color: var(--color-tertiary);
  text-decoration: none;
}

a:hover {
  color: var(--black);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #4154f1;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6776f4;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  -webkit-animation-name: dropdown-animate;
  animation-name: dropdown-animate;
  -webkit-animation-duration: 0.2s;
  animation-duration: 0.2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f6f9ff;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}

@-webkit-keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}



/*--------------------------------------------------------------
# Card
--------------------------------------------------------------*/
.card {
  margin-bottom: 30px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.imagenPerfil {
  background-image: url(../img/card.jpg);
}

.card-header,
.card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: #798eb3;
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: #012970;
  font-family: var(--font-primary);
}

.card-title span {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}

.card-body {
  padding: 0 20px 20px 20px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* Accordion */
.accordion-item {
  border: 1px solid #ebeef4;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #012970;
  background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #4154f1;
}

.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  color: #899bbd;
  font-weight: 600;
}

.breadcrumb a {
  color: #899bbd;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
  color: #899bbd;
}

.breadcrumb .active {
  color: #51678f;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: var(--color-primary);
}

.nav-tabs-bordered .nav-link.active {
  background-color: transparent;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
  position: absolute;
  right: 0px;
  top: 15px;
}

.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
  color: #4154f1;
}

.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}

.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
}

.dashboard .info-card h6 {
  font-size: 28px;
  color: #012970;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}

.dashboard .sales-card .card-icon {
  color: #4154f1;
  background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

/* Activity */
.dashboard .activity {
  font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
  margin-top: 15px;
}

.dashboard .news img {
  width: 80px;
  float: left;
  border-radius: 5px;
}

.dashboard .news h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
  margin-bottom: 5px;
}

.dashboard .news h4 a {
  color: #012970;
  transition: 0.3s;
}

.dashboard .news h4 a:hover {
  color: #4154f1;
}

.dashboard .news p {
  font-size: 14px;
  color: #777777;
  margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
  font-size: 14px;
}

.dashboard .recent-sales .table thead {
  background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
  border: 0;
}

.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
  font-size: 14px;
}

.dashboard .top-selling .table thead {
  background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
  border: 0;
}

.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}

.dashboard .top-selling img {
  border-radius: 5px;
  max-width: 60px;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/

.profile .profile-card img {
  max-width: 120px;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
  color: #012970;
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: #012970;
}

.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
  max-width: 120px;
}

.carousels {
  margin-bottom: 0px !important;
}

.carousel-nav-icon {
  height: 48px;
  width: 48px;
}

.carousel-item .col, .col-sm, .col-md {
  margin: 8px;
  height: 100px;
  
  background-size: cover;
  background-position: center center;
}

.faq .accordion-button {
  padding: 20px 50px 20px 20px;
  font-weight: 600;
  border: 0;
  font-size: 18px;
  line-height: 24px;
  color: var(--color-default);
  text-align: left;
  background: var(--white);
  box-shadow: none;
  border-radius: 10px;
}

.faq .accordion-button .num {
  padding-right: 10px;
  font-size: 20px;
  line-height: 0;
  color: var(--color-primary);
}

.faq .accordion-button:not(.collapsed) {
  color: var(--color-primary);
  border-bottom: 0;
  box-shadow: none;
}

.faq .accordion-button:after {
  position: absolute;
  right: 20px;
  top: 20px;
}

.faq .accordion-body {
  padding: 0 40px 30px 45px;
  border: 0;
  border-radius: 10px;
  background: var(--white);
  box-shadow: none;
}
.horarios {
  list-style-type: none;
  padding: 0;
}

.horarios li {
  border-bottom: 1px solid rgba(0,0,0,.2);
}

.horarios .item-property {
  float: right;
}

.horarios .item-attr {
  display: inline-block;
}

.horarios p {
  margin-bottom: 10px;
  margin-top: 10px;
}

.botonesImg {
  padding-bottom: .6rem;
  text-align: center;
}

.lblHorarios {
  font-weight: 200 !important;
  color: var(--black) !important;
  font-size: .8rem;
}

.btnBorrarHorario {
  width: 100% !important;
}

.impHorarios:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btnAñadirHorarios {
  margin-top: .5rem;
  width: 100%;
}

.selectHorarios {
  padding-top: .5rem;
}

.lblFC {
  font-weight: 400 !important;
  color: var(--black) !important;
}

@media (min-width: 1400px) {
  .btnSubirImg {
    width: 17% !important;
  }
}

@media (max-width: 1399px) {
  .btnSubirImg {
    width: 20% !important;
  }
}

@media (max-width: 1199px) {
  .btnSubirImg {
    width: 25% !important;
  }
}

@media (max-width: 992px) {
  .btnSubirImg {
    width: 40% !important;
  }
}

@media (max-width: 768px) {
  .btnSubirImg {
    width: 30% !important;
  }
}

@media (max-width: 576px) {
  .btnSubirImg {
    width: 29% !important;
  }
}

@media (max-width: 530px) {
  .btnSubirImg {
    width: 31% !important;
  }
}

@media (max-width: 430px) {
  .btnSubirImg {
    width: 33% !important;
  }
}

@media (max-width: 330px) {
  .btnSubirImg {
    width: 40% !important;
  }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}

.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0;
  line-height: 150px;
}

.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 30px;
}

.error-404 .btn {
  background: #51678f;
  color: #fff;
  padding: 8px 30px;
}

.error-404 .btn:hover {
  background: #3e4f6f;
}

@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

/*--------------------------------------------------------------
# Login
--------------------------------------------------------------*/
.nomUsuario {
  padding-top: 15px;
}

/*--------------------------------------------------------------
# Register
--------------------------------------------------------------*/
.imgRegister {
  max-width: 70% !important;
  max-height: 60% !important;
  margin-left: 0px !important;
  margin: auto !important;
  display: block !important;
}

.divLogoRegister {
  padding-bottom: 0 !important;
}

.form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.radioSO {
  text-align: center;

}

.radioSO .form-check .form-check-input {
  margin-right: 3px !important;
  float: none !important;
}

.radioSO label {
  color: var(--black) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
}

.imgFotoPerfil {
  text-align: center;
  border-top: 2px solid;
  border-left: 2px solid;
  border-right: 2px solid;
  border-radius: 25%;
  padding-left: 0;
  padding-right: 0;
  border-color: var(--dark-gray);
  box-shadow: 0px 0 15px var(--transpartent-black);
}

.imgFotoPerfil img {
  border-radius: 50%;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  max-width: 120px;
  max-height: 120px;
}

.imgBanner {
  border-radius: 20% !important;
  max-width: 500px !important;
  max-height: 300px !important;
}

.imagenPrevisualizacion {
  padding-top: 15px;
  max-width: 100%;
}

.btnImagenPrevisualizacion {
  width: 100%;
  margin-top: 2px;
}

.pGaleria {
  color: var(--red);
}

.container-register .card-body{
  background: #ECE9E6;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #ECE9E6, #FFFFFF);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #ECE9E6, #FFFFFF); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  border-radius: 10px;
}

.container-register .card-body .btn {
  background: #F2994A;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #F2C94C, #F2994A);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #F2C94C, #F2994A); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  border: none;
}

.container-register .card-body label {
  color: #000000;
  font-size: 17px;
}

.camposObligatorios {
  color: var(--red);
}

.date-separator {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.form-control {
  width: 100%; /* Asegúrate de que todos los inputs tengan este ancho */
  padding: 0.375rem 0.75rem; /* Ajusta el padding según sea necesario */
  margin: 0; /* Elimina margenes no deseados */
}

.input-group {
  display: flex; /* Asegúrate de que el grupo de inputs use flex */
  justify-content: flex-start; /* Alineación adecuada */
}

.secure-payment {
  display: flex;
  align-items: center;
  font-size: 14px; /* Ajusta el tamaño de la fuente según lo necesites */
  color: lightskyblue; /* Cambia el color si lo deseas */
}
.secure-payment img {
  margin-right: 5px; /* Espacio entre el icono y el texto */
}

#payment-form {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 12px;
}

#personal-data-section,
#card-data-section {
  width: 100%;
}

#btn-continuar {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 12px 24px;
  border-radius: 8px;
  background: linear-gradient(to right, #F2C94C, #F2994A);
  border: none;
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#btn-continuar:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(242, 153, 74, 0.35);
}
#btn-continuar:active {
  transform: translateY(0);
}


#rolValidation{
  color: red;
  font-size: 15px;
}

#form-checkout__cardExpirationMonth,
#form-checkout__cardExpirationYear {
  width: 30%; /* Ajusta el ancho según lo necesites */
  padding: 0.5rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  max-height: 38px;
}

#form-checkout__cardNumber,
#form-checkout__securityCode {
  width: 100%; /* Ajusta el ancho según lo necesites */
  padding: 0.5rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  max-height: 38px;
}

.custom-input {
  border: 1px solid #ced4da; /* Borde como un input */
  border-radius: 0.25rem; /* Bordes redondeados */
  padding: 0.375rem 0.75rem; /* Espaciado interno */
  width: 100%; /* Ancho completo */
  font-size: 1rem; /* Tamaño de fuente */
  transition: border-color 0.15s ease-in-out; /* Transición suave */
}

.custom-input:focus {
  outline: none; /* Elimina el contorno por defecto */
  border-color: #80bdff; /* Color del borde al enfocar */
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25); /* Sombra para enfoque */
}

.custom-input[contenteditable="true"]:empty:before {
  content: attr(data-placeholder); /* Placeholder cuando está vacío */
  color: #999; /* Color del placeholder */
  font-style: italic; /* Estilo del placeholder */
}

/*
  PLAN
*/

/*--------------------------------------------------------------
# Planes en form
--------------------------------------------------------------*/
.plan-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease; /* Fade-in effect */
}

.plan-modal.show {
  opacity: 1;
}

/* Modal content */
.modal-content {
  display: flex;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.plan-modal.show .modal-content {
  opacity: 1;
  visibility: visible;
}

/* Base styling for each plan box */
.plan-option {
  cursor: pointer;
}

.plan-option:hover {
  
  transition: all 0.3s;
}

.plan-modal .pricing-item {
  padding: 60px 40px;
  box-shadow: 0 3px 20px -2px rgba(108, 117, 125, 0.15);
  background: var(--white);
  height: 100%;
  position: relative;
  border-radius: 15px;
  z-index: 1; /* Set base z-index for layering */
  transition: all 0.3s ease-in-out;
}

/* Default z-index setup for stacking order */
.pricing .pricing-item {
  z-index: 1; /* Lowest z-index initially */
}

.pricing .featured {
  z-index: 2; /* Featured item starts slightly higher */
}

/* Ensure each plan goes above others when hovered */
.pricing .pricing-item:hover {
  z-index: 10; /* Bring to front */
  transform: scale(1.1); /* Slight scale on hover */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Featured plan hover effect */
.pricing .featured:hover {
  z-index: 11; /* Ensure featured is above others on hover */
  transform: scale(1.05); /* Larger scale for featured */
}

/* The container that wraps the plans */
.plan-modal .modal-content {
  display: flex;
  justify-content: center;
  gap: 20px;
  opacity: 0; /* Start invisible for fade-in effect */
  visibility: hidden;
  transition: opacity 0.5s ease; /* Smooth transition */
}


#selected-plan-display {
  cursor: pointer;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  text-align: center;
  background-color: #F2C94C;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.4s;
}

#selected-plan-display:hover {
  background-color: black;
  transition: 0.4s;
  color: white;
  border: 2px solid var(--color-primary);
}


/* Continue the rest of the CSS rules under .plan-modal instead of .pricing */
.plan-modal h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
  color: var(--dark-gray);
  text-align: center;
}

.plan-modal .icon {
  margin: 30px auto 30px auto;
  width: 70px;
  height: 70px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.pricing .pricing-item:hover {
  z-index: 3;
  transform: scale(1.1); /* Scale up slightly for emphasis */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Shadow to enhance focus */
}

/* Hover effect for featured plan to grow even more */
.pricing .featured:hover {
  z-index: 4; /* Keep this higher to ensure it goes above the rest when hovered */
  transform: scale(1.15); /* Slightly larger scale for featured */
}

.plan-modal h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
  color: var(--dark-gray);
  text-align: center;
}

.plan-modal .icon {
  margin: 30px auto;
  width: 70px;
  height: 70px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  transform-style: preserve-3d;
}

/* Remove any background from the pricing section itself */
#pricing.sections-bg {
  background-color: transparent !important; /* Remove any remaining background */
  box-shadow: none;
}

/* Close button styling */
.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  z-index: 10000; /* Ensure it's above other modal content */
  transition: color 0.3s ease;
}

.close-button:hover {
  color: #ff6b6b; /* Change color on hover */
}

.buy-btn {
  display: inline-block;
  padding: 10px 40px;
  border-radius: 50px;
  color: var(--color-primary);
  border: 1px solid rgba(0, 131, 116, 0.2);
  transition: none;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-primary);
  transition: 0.3s;
}

.buy-btn:hover {
  background: var(--color-primary);
  color: var(--white);
}

.btn-plan {
  background: var(--color-primary);
  color: var(--white) !important;
}

.pricing ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}


.dropdown-item {
  position: relative;
  padding-left: 20px; 
}

.dropdown-item::after {
  content: '✓';
  color: green;
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  visibility: hidden;
}

.dropdown-item:checked::after {
  visibility: visible;
}

.category-container {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  background-color: white;
}

.category-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.category-item {
  padding: 0.5rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e9ecef;
}

.category-item:last-child {
  border-bottom: none;
}

.category-item:hover {
  background-color: #f8f9fa;
}

.category-item.checked {
  background-color: #e9ecef;
}

.check-icon, .remove-icon {
  display: none;
  margin-left: 0.5rem;
}

.category-item.checked .check-icon {
  display: inline-block;
  color: #28a745;
}

.category-item.checked:hover .check-icon {
  display: none;
}

.category-item.checked:hover .remove-icon {
  display: inline-block;
  color: #dc3545;
}

#solicitarCategoriaBtn:hover{
  background-color: #FFFFFF !important;
  color: white !important;
}

#solicitarCategoriaBtn{
  margin-left: 5px;
  background-color: var(--color-primary) !important;
  color: black !important;
}

/* mobile*/

.vertical-plan-boxes {
  display: none; /* Hidden by default */
}

@media (max-height: 900px){
    .plan-modal .pricing-item {
      padding: 30px 40px;

    }

    .pricing ul li {
      padding: 3px 0;
      font-size: 14px;
    }

    .pricing h4 {
      font-size: 38px;
    }

    .pricing sup {
      font-size: 18px;
    }

    .plan-modal .icon {
      margin: 20px auto;
      width: 60px;
      height: 60px;
    }

    .pricing .featured {
      transform: scale(1.1);
    }

}

@media (max-width: 992px) {
  .plan-boxes {
    display: none; /* Hide the original boxes */
  }
  .vertical-plan-boxes {
    display: block;
  }

  .plan-box {
    background: var(--white);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    box-shadow: 0 3px 20px -2px rgba(108, 117, 125, 0.15);
  }

  .plan-box h3 {
    margin: 0;
    text-align: center;
    color: var(--dark-gray);
    font-size: 20px;
  }

  /* Hidden by default */
  .plan-benefits {
    max-height: 0;               /* Initially collapsed */
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease; /* Smooth transition */
    padding: 0;                  /* No padding initially */
    margin-top: 10px;
    background-color: #f8f9fa;
    border-radius: 10px;
  }

  /* Expanded state */
  .plan-box.open .plan-benefits {
    max-height: 500px;           /* Sufficient max-height for content */
    padding: 10px;               /* Reapply padding */
  }
  
}

.form-select-cat {
  height: 170px;
}

/* Estilos para el selector de cuotas */
#form-checkout__installments {
  font-size: 14px;
  padding: 8px;
}

#form-checkout__installments option {
  padding: 10px 5px;
  line-height: 1.6;
}

/* Cuotas sin interés destacadas */
#form-checkout__installments option[data-interest-free="true"] {
  background-color: #e8f5e9 !important;
  color: #00a650 !important;
  font-weight: 700 !important;
}

/* Efecto cuando está seleccionada una cuota sin interés */
#form-checkout__installments option[data-interest-free="true"]:checked {
  background-color: #00a650 !important;
  color: white !important;
}

/* Hover effect en el select */
#form-checkout__installments:hover {
  border-color: #00a650;
}

/* Label de cuotas con badge */
label[for="doc"] .badge {
  font-size: 10px;
  padding: 3px 8px;
  vertical-align: middle;
}