.navbar {
  position: relative;
  z-index: 1000; /* High z-index to ensure it stays on top */
}

.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  outline: none;
}

.navbar-nav .nav-link {
  width: 156px;
  height: 25px;
  flex-grow: 0;
  color: #575a86;
  margin-right: 15px;
  font-family: "Nunito Sans", sans-serif;
  font-weight: bold;
  font-size: 15px;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
}

.navbar-nav .nav-link:hover {
  color: #dcdce1;
}

.logo-drapp-sin-fondo {
  width: 100px;
  height: auto;
}

.navbar-nav {
  display: flex;
  align-items: center;
}
.login-button {
  background-color: #4c5b78;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  display: flex;
  align-items: center;
}
.login-button:hover {
  background-color: #3b4a63;
}
.login-button i {
  margin-right: 5px;
}
.card_container {
  width: 100%;
  max-width: 800px;
  border: solid 0 rgba(48, 55, 158, 0.38);
  background-color: rgba(217, 217, 217, 0.24);
}
.profile-details .specialty-style {
  width: 407px;
  height: 42px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #828288;
}
.profile-details h2 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #30379e;
}
.profile-details h3 {
  margin-bottom: 5px;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: normal;
  text-align: left;
  color: #30379e;
}
.profile-details h4 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 341px;
  height: 23px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  font-stretch: normal;
  line-height: 15px;
  letter-spacing: normal;
  text-align: left;
  color: #30379e;
  margin-top: 10px;
}
.consultation-info {
  display: flex; /* Ensure flexbox behavior */
  flex-wrap: wrap; /* Allow items to wrap */
  align-items: center; /* Align items vertically in the center */
  justify-content: space-between; /* Distribute space between items */
  min-height: 60px; /* Ensure minimum height for the div to expand */
}

.consultation-info > div {
  flex-shrink: 0; /* Prevent items from shrinking */
}

.consultation-info .col-md-auto:nth-child(1) {
  flex-grow: 1; /* Allow the first column to take available space */
}

.consultation-info i {
  padding-right: 5px;
}
.profile-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}
.profile-actions .btn {
  margin-bottom: 10px;
  padding: 10px 15px;
  border-radius: 20px;
  width: 100%;
}
.regroup {
  position: relative;
  width: 117px;
}
.star {
  position: absolute;
  width: 17px;
  height: 17px;
  background: url(../img/star-fill.png)
  no-repeat center;
}
.ver-mas {
  color: #575a86;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  white-space: nowrap;
  padding-left: 5px;
}
.video_icon {
  width: 30px;
  height: 30px;
}

.img.wallet {
  width: 24px;
  height: 24px;
}
.servicios {
  position: relative;
  height: auto;
  color: #575a86;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  /* Removed z-index: 36; */
  padding-top: 5px;
  white-space: normal;
  width: auto;
  word-break: break-word; /* Allow long words to break */
}
.wallet-duotone {
  width: 24px;
  height: 24px;
  background: url(../img/wallet-duotone.png) no-repeat center;
}
.dollar {
  color: var(--primary-color, #575a86) !important;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  white-space: normal;
  word-break: break-word; /* Allow long words to break */
}
.clock-fill {
  width: 24px;
  height: 24px;
  background: url(../img/clock-fill.png) no-repeat center;
  background-size: cover;
}
.fifty-mins {
  color: #575a86;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}
.button_reservar {

}
.reservar-hora {
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 24px;
}
.rectangle-13 {
  position: absolute;
  width: 206px;
  height: 43px;
  top: 0;
  left: 0;
  cursor: pointer;
  background: rgba(219, 116, 140, 0.84);
  border: none;
  z-index: 54;
  border-radius: 15px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.ver-perfil {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: absolute;
  height: 24px;
  top: 9px;
  left: 77px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  white-space: nowrap;
  z-index: 78;
}
.user {
  position: relative;
  width: 3.88%;
  height: 18.6%;
  border-radius: 50%;
}
.add_top_20 {
  margin-top: 20px;
}

/* footer */

.footer_section {
  background: #f9f6f6;
  padding: 60px 0 15px 0;
  position: relative;
}

.drapp {
  width: 180px;
  height: 36px;
  flex-grow: 0;
  font-family: "Saira", sans-serif;
  font-size: 15px;
  font-weight: normal;
  font-stretch: condensed;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #828288;
}
.direccion {
  width: 331px;
  height: 72px;
  flex-grow: 0;
  font-family: "Saira", sans-serif;
  font-size: 15px;
  font-weight: normal;
  font-stretch: condensed;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #828288;
}
.footer_section .footer_col {
  margin-left: 50px;
  margin-bottom: 15px;
}
.footer_section .footer_social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 40px;
}

.footer_section .footer_social a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #ffffff;
  border-radius: 100%;
  margin-right: 20px;
  margin-top: 15px;
  font-size: 24px;
}
.footer_section .footer_social a:hover {
  color: #aebbb6;
}
.footer_social img {
  width: 28px;
  height: 28px;
}
.pacientes {
  width: 298px;
  height: 44px;
  flex-grow: 0;
  font-family: 'Saira', sans-serif;
  font-size: 18px;
  font-weight: 600;
  font-stretch: condensed;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: rgba(48, 55, 158, 0.75);
}
.footer_links {
  font-family: 'Saira', sans-serif;
  font-size: 16px;
  font-weight: normal;
  font-stretch: condensed;
  text-align: left;
  color: #828288;
}

.footer .social-icons img {
  width: 35px;
  height: 35px;
}


/** Profile Profesionales **/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.container {
  max-width: 1330px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.professional-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(87, 90, 134, 0.08);
  border: 1px solid rgba(87, 90, 134, 0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

.professional-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(87, 90, 134, 0.15);
}

.card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 18px;
}

.profile-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 4px solid #f5f5f7;
  box-shadow: 0 4px 16px rgba(87, 90, 134, 0.1);
}

.specialty-tag {
  background: #575A86;
  color: white;
  padding: 6px 18px;
  border-radius: 25px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(87, 90, 134, 0.2);
}

.professional-name {
  font-size: 20px;
  font-weight: 700;
  color: #2c2c2e;
  margin-bottom: 10px;
  line-height: 1.3;
}

.description-container {
  margin: 12px 0 18px 0;
  width: 100%;
}

.description-preview {
  font-size: 14px;
  color: #6e6e73;
  line-height: 1.4;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.description-text {
  flex: 1;
}

.description-full {
  font-size: 14px;
  color: #6e6e73;
  line-height: 1.5;
  margin-top: 12px;
  display: none;
  animation: fadeIn 0.3s ease;
}

.description-header {
  background: linear-gradient(135deg, #e8e9f3 0%, #d4d6e8 100%);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  border-left: 3px solid #575A86;
  font-weight: 500;
  color: #575A86;
  font-size: 13px;
}

.description-details {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 14px;
  color: #6e6e73;
  line-height: 1.5;
  font-size: 13px;
}

.description-full.show {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.expand-arrow {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8e8ed 100%);
  border: 2px solid rgba(87, 90, 134, 0.1);
  color: #575A86;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(87, 90, 134, 0.1);
}

.expand-arrow:hover {
  background: linear-gradient(135deg, #575A86 0%, #6b6f9a 100%);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(87, 90, 134, 0.2);
}

.arrow-icon {
  transition: transform 0.3s ease;
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.expand-arrow.expanded .arrow-icon {
  transform: rotate(180deg);
}

.services-list {
  margin: 16px 0;
  flex: 1;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.service-info {
  display: flex;
  align-items: center;
  flex: 1;
}

.service-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8e8ed 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  border: 1px solid rgba(87, 90, 134, 0.1);
  box-shadow: 0 2px 6px rgba(87, 90, 134, 0.08);
}

.service-icon svg {
  width: 18px;
  height: 18px;
  fill: #575A86;
  stroke: #575A86;
}

.service-details {
  flex: 1;
}

.service-name {
  font-size: 14px;
  font-weight: 600;
  color: #2c2c2e;
  margin-bottom: 1px;
}

.service-type {
  font-size: 12px;
  color: #8e8e93;
}

.service-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price {
  font-size: 15px;
  font-weight: 700;
  color: #575A86;
  min-width: 75px;
  text-align: right;
}

.reserve-btn {
  background: linear-gradient(135deg, #575A86 0%, #6b6f9a 100%);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(87, 90, 134, 0.2);
}

.reserve-btn:hover {
  background: linear-gradient(135deg, #484b73 0%, #5a5e87 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(87, 90, 134, 0.3);
}

.reserve-btn:active {
  transform: translateY(0);
}

.calendar-icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.view-profile-btn {
  width: 100%;
  background: white;
  border: 2px solid #e5e5e7;
  color: #575A86;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.view-profile-btn:hover {
  background: #575A86;
  border-color: #575A86;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(87, 90, 134, 0.3);
}

.view-profile-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(87, 90, 134, 0.2);
}

.user-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: fill 0.3s ease;
}

/* Iconos específicos */

.videollamada-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.presencial-icon {
  fill: currentColor;
}

.domicilio-icon {
  fill: currentColor;
}

@media (max-width: 1200px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .professional-card {
    min-height: auto;
    padding: 20px;
  }

  .service-actions {
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
  }

  .description-preview {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .expand-arrow {
    align-self: flex-end;
  }

  .profile-image {
    width: 120px;
    height: 120px;
  }
}

/********* Clase para cuando el profesional pertenece a un centro ********/
.center-background {
  background-color: color-mix(in srgb, var(--primary-color) 60%, transparent);
  background-blend-mode: overlay; /* Mezcla el color con la imagen */
}

/********* Capa de color semitransparente para mayor control *********/
.center-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: color-mix(in srgb, var(--primary-color) 60%, transparent);
  z-index: 1;
  border-radius: 8px 8px 0 0;
}

/******* Perfil Profesional ******/
.profile_picture {
  width: 150px;
  height: 150px;
  position: absolute;
  bottom: -75px; /* Ajusta la posición vertical para superponer sobre el banner */
  left: 50%;
  transform: translateX(-50%);
  border: 3px solid color-mix(in srgb, var(--primary-color, #defeee) 70%, transparent); /* borde en la imagen con default #defeee*/
  background-color: white; /* Fallback en caso de imagen con transparencia */
  z-index: 2; /* Asegura que esté sobre el banner */
}

.nombre_professional {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #595555;
  margin-bottom: 1px;
  margin-top: 15px;
}

.profesion {
  font-family: 'FiraSans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #525050;
  margin-bottom: 1px;
}

.ciudad {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #454343;
  margin-bottom: 10px;
}

.social-profesional-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.services_container {
  border-radius: 8px;
  border: solid 1px #e0dfdc;
  background-color: #fff;
  max-width: 1108px;
  width: 100%;
}

/***** Sección "Acerca de mí" *****/
.about_container {
  border-radius: 8px;
  border: solid 1px #e0dfdc;
  background-color: #fff;
  padding: 20px;
  max-width: 1000px;
  width: 100%;
}

.about-me {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding-left: 10px;
  color: var(--primary-color, #575a86) !important;
}

.about_icon {
  width: 22px;
  height: auto;
}

.about-txt {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: normal;
  line-height: 1.33;
  text-align: justify;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 20px;
}

/****** Sección "Agenda" ******/
.container_agenda {
  border-radius: 15px;
  border: solid 1px #e0dfdc;
  background-color: #fff;
  padding: 20px;
  max-width: 1000px;
  width: 100%;
}

.calendar_icon {
  width: 28px;
  height: auto;
}

.agenda_title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-color, #575a86) !important;
  padding-left: 10px;
}

.Rectangle-54 {
  background-color: var(--primary-color, #575a86) !important;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  text-align: left;
  margin-right: 770px;
}

.necesitas_title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  padding-left: 30px;
}

.frame_services {
  border-radius: 15px;
  background-color: #f8f8f9;
  padding: 15px;
}

.services_icon {
  width: 34px;
  height: 32px;
}

.name_service {
  font-family: 'FiraSans', sans-serif;
  font-size: 14px;
  color: #686a93;
}

.name_title_service {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color, #575a86) !important;
  margin-top: 5px;
  padding-left: 5px;
}

.Clock_fill {
  width: 24px;
  height: auto;
}

.-mins, .-CLP {
  font-family: 'FiraSans', sans-serif;
  font-size: 18px;
  color: #575a86;
}

.btn_reserva {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: rgba(233, 81, 120, 0.8);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  text-align: center;
  border: none;
}

.description {
  font-family: 'FiraSans', sans-serif;
  font-size: 14px;
  color: var(--second-color, #7b7ea7) !important;
  padding-left: 5px;
}

.description_title {
  font-weight: bold;
}

/* Sección "Opiniones de Pacientes" */
.feedback_container {
  border-radius: 8px;
  border: solid 1px #e0dfdc;
  background-color: #fff;
  padding: 20px;
  max-width: 1108px;
  width: 100%;
}

.feedback_title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #575a86;
}

.Star_fill {
  width: 22px;
  height: 22px;
  margin-right: 1px;
}

.valoracion {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #575a86;
}

.icon_patient {
  width: 35px;
  height: 35px;
  margin-bottom: 175px;
}

.name_patient {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: #5a5151;
  line-height: 1px;
}

.verification {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #828288;
}

.Chield_check {
  width: 24px;
  height: 24px;
}

.date {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #828288;
  line-height: 1px;
}

.location .text-style-1 {
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #828288;
}

.opinion {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #33363f;
}

/* FAQ */
#banner-section {
  margin-bottom: 3rem;
}

.custom-banner {
  object-fit: cover;
  width: 100%;
  height: 230px;
}

.faq-section {
    padding: 50px 0;
}
.faq-header {
    font-family: 'Poppins', sans-serif;
    color: #33363f;
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
}
.card-header h5 {
    margin-bottom: 0;
    font-size: 12px;
    color: #30379E;
}

.card-body {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 900;
}
.accordion-button {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    font-weight: 900;
    color: #30379E;
    text-decoration: none;
    font-size: 13px;
}
.accordion-button:focus, .accordion-button:hover {
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    color: #30379E;
    font-weight: 900;
}
.accordion-button::after {
    display: none !important;
}
.accordion-button:not(.collapsed)::after {
    display: none !important;
}
.form-group {
  margin-bottom: 1rem;
}
.label {
  margin-bottom: .5rem;
}
#booking .loader {
  position: absolute;
  right: 15px;
  top: 13px;
  color: #fff;
}

.box_form {
  background-color: #fff;
  padding: 30px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.3);
  margin-bottom: 25px;
  color: #555;
}
.box_form label {
  font-weight: 500;
  font-size: 0.8125rem;
  margin-bottom: 3px;
}
.box_form .form-group {
  margin-bottom: 25px;
}
.add_bottom_45 {
  margin-bottom: 25px;
}
.card-header h5 a i.indicator {
  font-size: 1.125rem;
  font-weight: normal;
  float: right;
  color: #e74e84;
}

a.collapsed {
  color: #333; /* Color por defecto */
  text-decoration: none;
  border-radius: 10px; /* Ajusta según sea necesario */
  border: 1px solid transparent; /* Borde transparente por defecto */
  transition: all 0.3s ease; /* Para suavizar el cambio de estilo */
  width: 100%; /* Ensure it takes full width */
  margin-left: -10px; /* Moved from inline style */
}

a.collapsed:hover {
  color: #007bff; /* Cambia el color al pasar el mouse */
  background-color: #e6f7ff; /* Fondo de color claro */
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

a.collapsed:active {
  color: #575A86; /* Cambia el color cuando se presiona */
}

.toggle-icon {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  /* Removed padding-left */
}

a.collapsed[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination .page-item .page-link {
  color: #007bff; /* Cambiar el color del enlace */
}

.pagination .page-item.active .page-link {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
}

/* SELECT BAR 1 */

.search-section {
  background-color: #575a86;
}
.search-bar {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 50px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px;
  position: relative;
}
.search-bar input {
  font-family: "Poppins", sans-serif;
  flex-grow: 1;
  border: none;
  outline: none;
  font-size: 16px;
  /*padding: 3px;*/
  padding: 10px;
  border-radius: 50px;
  /*color: rgba(177, 167, 167, 0.57);*/
  color: #777272;
  background-color: transparent;
}
.search-bar input::placeholder {
  color: #b3b3b3;
  font-family: "Poppins", sans-serif;
  padding-left: 8px;
}
.search-input {
  border: none;
  outline: none;
  flex-grow: 1;
  margin-left: 10px;
  font-size: 13px;
  color: #777272;
}

.search-input:focus + .search-icon {
  display: none; /* Oculta la lupa al hacer clic en el input */
}

.search-icon {
  margin-left: 5px;
  cursor: pointer;
}

.hidden {
  display: none; /* Oculta el ícono al hacer clic en el input */
}
.img.setting_vert {
  width: 38px;
  height: 38px;
  margin: 0 0 2px 448px;
  object-fit: contain;
  border: solid 0 #b1a7a7;
}

/* SELECT BAR 2 */
/*
.search-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.search-bar {
  display: flex;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px;
  align-items: center;
}
*/
.search-bar input {
  border: none;
  outline: none;
  padding: 10px;
  flex-grow: 1;
  font-size: 14px;
  color: #777272;
  background-color: transparent;
}

.search-bar input::placeholder {
  color: #777272;
}

.suggestions-box {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-top: 5px;
  position: absolute;
  width: 100%; /* Asegura que la caja de sugerencias tenga el mismo ancho que el input */
  max-width: 550px; /* Limita el ancho máximo */
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
  left: 0; /* Asegura que esté alineado con el input */
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

/* Ajustes para pantallas más pequeñas */
@media (max-width: 768px) {
  .suggestions-box {
    width: 90%; /* Hace que la caja ocupe el 90% del ancho de la pantalla en móviles */
    max-width: none; /* Sin límite de ancho en móviles */
    left: 5%; /* Para centrar la caja dejando un pequeño margen */
    right: 5%;
    margin-left: 0;
    margin-right: 0;
  }
}

.suggestion {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.suggestion img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.suggestion:hover {
  background-color: #f0f0f0;
}

.see-all {
  padding: 10px;
  text-align: center;
  cursor: pointer;
  color: #30379e;
}

.see-all:hover {
  background-color: #f7f7f7;
}

/* FILTRO SEARCH */
/* Estilo para el botón de filtros */
#filter-button {
  background-color: transparent; /* Elimina cualquier fondo gris */
  border: none; /* Elimina los bordes */
  padding: 0; /* Elimina el padding por defecto */
  margin: 0; /* Elimina el margen por defecto */
  cursor: pointer; /* Asegura que el cursor cambie cuando se pasa sobre el botón */
}

#filter-button img {
  display: block; /* Asegura que la imagen no tenga margen ni padding extra */
}

#filter-button:hover img {
  background-color: #f0f0f0; /* Añade color de fondo solo en hover si lo deseas */
}
.filter-icon {
  width: 35px;
  height: 26px;
  object-fit: contain;
}

/* Imagen de hover para el botón */
.filter-button:hover .filter-icon {
  content: url(../img/btn_filter_hover.png);
  background-color: #f0f0f0;
}

/* Caja de sugerencias de filtros */
/* Coordinadas para la caja de sugerencias de filtros */
.filter-suggestions-box {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-top: 5px;
  position: absolute;
  width: 100%;
  max-width: 550px; /* Limita el ancho máximo */
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
  left: 0; /* Asegura que esté alineado con el input */
  right: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

/* Ajustes para pantallas más pequeñas */
@media (max-width: 768px) {
  .filter-suggestions-box {
    width: 90%; /* Hace que la caja ocupe el 90% del ancho de la pantalla en móviles */
    max-width: none; /* Sin límite de ancho en móviles */
    left: 5%; /* Para centrar la caja dejando un pequeño margen */
    right: 5%;
    margin-left: 0;
    margin-right: 0;
  }
}


.filter-suggestions-box select {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Ocultar la caja de filtros por defecto */
.hidden {
  display: none;
}

/* Mostrar la caja de filtros al presionar el botón */
.show {
  display: block;
}

.filter-suggestions-box label {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
}

.filter-suggestions-box label input {
  margin-right: 10px;
}

.checkbox-group {
  display: flex;
  justify-content: space-between;
  gap: 10px; /* Añade espacio entre los checkboxes */
  margin-bottom: 10px; /* Espacio debajo del grupo */
}

.apply-button {
  background-color: #4f4db0;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.apply-button:hover {
  background-color: #393796;
}

/* Pagination */

.pagin_box {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.pagination>li>a, .pagination>li>span { border-radius: 50% !important;margin: 0 5px;}
.pagination {
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
  display: inline-flex;
}

.pagination>li {
  display: inline;
}

.pagination>li>a,.pagination>li>span {
  position: relative;
  float: left;
  padding: 5px 11px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #4f55ac;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd
}

.pagination>li:first-child>a,.pagination>li:first-child>span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px
}

.pagination>li:last-child>a,.pagination>li:last-child>span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px
}

.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus {
  color: #2a6496;
  background-color: #eee;
  border-color: #ddd
}

.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus {
  z-index: auto; /* Changed from 2 to auto */
  color: #fff;
  cursor: default;
  background-color: #4f55ac;
  border-color: #4f55ac
}

.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd
}

.pagination-lg>li>a,.pagination-lg>li>span {
  padding: 10px 16px;
  font-size: 18px
}

.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px
}

.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px
}

.pagination-sm>li>a,.pagination-sm>li>span {
  padding: 5px 10px;
  font-size: 12px
}

.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px
}

.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px
}



@media (max-width: 768px) {
  #contact_info {
    /* For less than 767px */
    margin: 0 0 35px 0;
  }
  .nombre_professional {
      font-size: 20px;
  }

  .profesion {
      font-size: 14px;
  }

  .ciudad {
      font-size: 12px;
  }

  .about-me, .agenda_title, .necesitas_title, .feedback_title, .valoracion {
    font-size: 18px;
  }

  .about-txt, .description, .opinion {
    font-size: 14px;
  }
}

/* CENTER STYLE PROFESSIONAL PROFILE */

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--primary-color, #4f55ac) !important;
  --bs-btn-border-color: var(--primary-color, #4f55ac) !important;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--second-color, #434892) !important;
  --bs-btn-hover-border-color: var(--second-color, #3f448a) !important;
  --bs-btn-focus-shadow-rgb: 105, 111, 184;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #3f448a;
  --bs-btn-active-border-color: #3b4081;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--primary-color, #4f55ac) !important;
  --bs-btn-disabled-border-color: var(--primary-color, #4f55ac) !important;
}

.btn-secondary {
  --bs-btn-color: #000;
  --bs-btn-bg: var(--primary-color, #eb708f) !important;
  --bs-btn-border-color: var(--primary-color, #eb708f) !important;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: var(--primary-color, #ee85a0) !important;
  --bs-btn-hover-border-color: var(--primary-color, #ed7e9a) !important;
  --bs-btn-focus-shadow-rgb: 200, 95, 122;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: var(--primary-color, #ef8da5) !important;
  --bs-btn-active-border-color: var(--primary-color, #ed7e9a) !important;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: var(--primary-color, #eb708f) !important;
  --bs-btn-disabled-border-color: var(--primary-color, #eb708f) !important;
}

.btn-outline-primary {
  --bs-btn-color: var(--primary-color, #4f55ac) !important;
  --bs-btn-border-color: var(--primary-color, #4f55ac) !important;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--primary-color, #4f55ac) !important;
  --bs-btn-hover-border-color: #4f55ac;
  --bs-btn-focus-shadow-rgb: 79, 85, 172;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--primary-color, #4f55ac) !important;
  --bs-btn-active-border-color: var(--primary-color, #4f55ac) !important;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--primary-color, #4f55ac) !important;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--primary-color, #4f55ac) !important;
  --bs-gradient: none;
}

/* modal center schedule */
.text-primary {
  color: var(--primary-color, #4F55AB) !important;
}

.text-second {
  color: var(--second-color, #4F55AB) !important;
}

.text-personal {
  color: #6a6464 !important;
}

.active .bs-stepper-circle {
  background-color: var(--primary-color, #4F55AB) !important;
}

/* Professional List Page Styles */

.professional-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    position: relative;
    z-index: 1;
}

.professional-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.professional-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.professional-card .card-footer {
    margin-top: auto;
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    padding: 1rem;
}

.professional-services {
    margin-bottom: 1rem;
}

.professional-services .badge {
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

.professional-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.professional-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .professional-actions {
        flex-direction: column;
    }
    
    .professional-actions .btn {
        width: 100%;
    }
}

/* Modal improvements */
.modal-header {
    border-bottom: 1px solid #dee2e6;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
}

/* Professional info in modal */
.professional-modal-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.professional-modal-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.professional-modal-details h5 {
    margin-bottom: 0.5rem;
}

.professional-modal-details p {
    margin-bottom: 0.25rem;
    color: #6c757d;
}

/* Loading state */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

.spinner-login {
  width: 1rem !important;
  height: 1rem !important;
}

/* Fixed Pagination Styles */
.pagination {
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pagination .page-link {
    color: #4f55ac;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease-in-out;
    font-weight: 500;
    min-width: 45px;
    text-align: center;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.pagination .page-link:hover {
    background-color: #4f55ac;
    border-color: #4f55ac;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(79, 85, 172, 0.3);
    text-decoration: none;
}

.pagination .page-item.active .page-link {
    background-color: #4f55ac;
    border-color: #4f55ac;
    color: white;
    box-shadow: 0 4px 12px rgba(79, 85, 172, 0.4);
    font-weight: 600;
}

.pagination .page-item.disabled .page-link {
    color: #adb5bd;
    background-color: #f8f9fa;
    border-color: #e9ecef;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Fixed accordion arrow - show only one arrow */
.accordion-button::after {
    display: block !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234f55ac'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25em;
    transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

/* Medal-style validation badge */
.validation-badge {
    position: absolute;
    top: -34px;
    right: -34px;
    width: 94px;
    height: 94px;
    background: linear-gradient(145deg, #fff, #d9a02a); /* Gold gradient */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), inset 0 -2px 4px rgba(0, 0, 0, 0.25); /* 3D effect */
    border: 2px solid #f9e29a; /* Light gold border */
    z-index: 5;
    transform: rotate(10deg);
    transition: transform 0.3s ease-in-out;
}

.sis-logo {
    width: 94px !important;
    height: 94px !important;
}

.professional-card:hover .validation-badge {
    transform: rotate(0deg) scale(1.05);
}

.validation-badge img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 50%; /* Ensure image inside is also round */
}

/* Enhanced specialty badge */
.specialty-badge {
    background: linear-gradient(135deg, #4f55ac, #6c63ff);
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 85, 172, 0.3);
    border: none;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Adjusted price presentation */
.price-container {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.35rem 0.6rem;
    border-radius: 0.375rem;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(40, 167, 69, 0.2);
}

.price-container i {
    font-size: 0.9rem;
}

.price-container .price-amount {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Service icon styling */
.service-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* Service item alignment using Grid */
.service-item {
    display: grid;
    grid-template-columns: 1fr auto; /* Name column grows, actions column is auto-sized */
    gap: 0.5rem;
    align-items: center; /* Vertically center content in both columns */
}

.service-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* Ensure price and button stay on the same line */
    gap: 0.5rem;
    justify-content: flex-end; /* Align to the right */
}

/* Nuevo Diseño Paginación */
:root {
  --paginator-color: #575a86;
}
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px 0 40px;
  gap: 12px;
}

.pagination-btn {
  background: white;
  border: 2px solid rgba(107, 91, 149, 0.15);
  border-radius: 12px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paginator-color);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(107, 91, 149, 0.08);
}

.pagination-btn:hover {
  background: var(--paginator-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 91, 149, 0.25);
  border-color: var(--paginator-color);
}

.pagination-btn.active {
  background: var(--paginator-color);
  color: white;
  border-color: var(--paginator-color);
  box-shadow: 0 4px 16px rgba(107, 91, 149, 0.3);
}

.pagination-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.pagination-dots {
  color: var(--paginator-color);
  font-weight: 600;
  opacity: 0.6;
  margin: 0 8px;
}





