/* -------------------------------------------------- */
/* Layout Grid pour la page single astrologue         */
/* -------------------------------------------------- */

.hai-astro-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1800px;
  margin: 0 auto 0px;
  padding: 0 0px;
}


.hai-astro-form {
  position: relative;
  padding: 20px;
  background: #bb9f7791;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  max-width: 600px;
  width: 95%;
  margin-bottom: 95px;
}

.hai-astro-name {
    color: #1a434a !important;
    font-size: 22px;
	margin-top: 25px;
}

.hai-astro-specialties {
    color: #bb9f77 !important;
    font-size: 19px;
}

.hai-astro-status {
  margin-left: 10px;
  font-size: 18px;
  vertical-align: middle;
}
.hai-astro-status.available {
  color: #78b159; /* vert doux */
}
.hai-astro-status.unavailable {
  color: #dd2e44;    /* rouge doux */
}

.hai-astro-study-mode {
  display: flex;
  align-items: center;
  margin: 20px 0;
}
.hai-astro-study-mode .study-icon {
  width: 35px;
  height: 28px;
  margin-right: 10px;
}
.hai-astro-study-mode .study-text {
  font-size: 21px;
  color: #7a5c91;
  font-weight: 600;
}

@keyframes hai-glow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(187, 159, 119, 0.4), 0 0 15px rgba(255, 223, 143, 0.3);
  }
  50% {
    box-shadow: 0 0 12px rgba(187, 159, 119, 0.6), 0 0 25px rgba(255, 223, 143, 0.4);
  }
}

.hai-price-tag {
  background: #fff;
  border: 2px dashed #bb9f77;
  color: #6d4c41;
  display: inline-block;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 22px;
  border-radius: 25px;
  position: relative;
  margin: 20px auto 30px auto;
  box-shadow: 0 2px 5px rgba(187, 159, 119, 0.3);
  text-align: center;
  animation: hai-glow 3s ease-in-out infinite;
}
.hai-price-tag::before {
  content: "🌟";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
}

.hai-astro-stats {
  font-size: 18px;
  font-family: times;
  color: #258fde;
  text-align:left;
  margin-top: 25px;
}
.hai-astro-average {
  font-weight: bold;
}

/* Responsive : une seule colonne sous 768px */
@media (max-width: 768px) {
  .hai-astro-container {
    grid-template-columns: 1fr;
  }
  /* Repositionner la bannière photo si besoin */
  .hai-astro-single {
    margin-top: 60px; /* ajuster pour laisser la photo visible */
  }
}

/* Animation de bordure dégradée autour de .hai-banner-photo */
.hai-banner-photo {
  position: relative;
  overflow: visible;  /* autorise les débordements */

}


.hai-banner-photo::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  border-radius: 50%;
  background: conic-gradient(from 0deg, #bf4229, #b5995a, #bf4229);
  animation: hai-rotate-border 4s linear infinite;
  pointer-events: none; /* ne pas gêner le clic en écrivant none */
  z-index: -1; /* derrière l’image */
}

@keyframes hai-rotate-border {
  to {
    transform: rotate(360deg);
  }
}


/* ------------------------------- */
/* Style mystique pour le formulaire dynamique */
/* ------------------------------- */

#dynamic-hai-form {
  padding: 5px;
}

#dynamic-hai-form p {
  margin-bottom: 18px;
}

#dynamic-hai-form label {
  display: block;
  font-family: 'georgia';
  font-size: 18px;
  margin-bottom: 6px;
  color: #2b2b2b;
}

#dynamic-hai-form input,
#dynamic-hai-form textarea,
#dynamic-hai-form select {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-bottom: 2px solid #b5995aa1;
  background: #ffffff;
  font-family: 'Poly';
  color: #b5995a;
  font-size: 17px;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

textarea, textarea.wp-editor-area {
    overflow: auto;
    vertical-align: top;
    min-height: 130px !important;
}

#dynamic-hai-form input::placeholder,
#dynamic-hai-form textarea::placeholder {
  color: rgba(200,177,229,0.5);
}

#dynamic-hai-form input:focus,
#dynamic-hai-form textarea:focus,
#dynamic-hai-form select:focus {
  outline: none;
  border-bottom-color: #e3d7f1;
}


#hai-starfield-dynamic {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* ne pas gêner le clic en écrivant none */
}

/* Assure que le formulaire reste au-dessus */
#dynamic-hai-form {
  position: relative;
  z-index: 1;
}

.dynamic-form-wrapper {
  position: relative;
  overflow: hidden;
}


/*Message en dessous du formulaire */
.hai-form-note {
  margin-top: 25px;
  font-size: 20px;
  color: #c10078;
  font-style: italic;
  text-align: center;
}


.hai-dynamic-form-wrapper-label {
  font-size: 27px;
  font-weight: 600;
  color: #1e2e37;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 50px;
  font-family: 'georgia';

}

h5 {
    font-family: "BluuNext", sans-serif;
    font-size: 22px !important;
    font-weight: 700;
    font-style: normal;
    line-height: 1.08696em;
    text-decoration: none;
    text-transform: none;
    margin-top: 5px !important;
    margin-bottom: 0.8em;
    color: #fff !important;
}

/* Masquer toutes les étapes puis n’afficher que la « .active » */
#dynamic-hai-form .form-step {
  display: none;
}
#dynamic-hai-form .form-step.active {
  display: block;
}

/* Navigation (boutons) */
#dynamic-hai-form .form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  column-gap: 30px;
}

#dynamic-hai-form .form-navigation button {
  padding: 10px 20px;
  background: #9b72b3;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 17px;
}

#dynamic-hai-form .form-navigation button[disabled] {
  opacity: 0.5;
  cursor: default;
}

/* Mobile : tout reste full-width */
@media (max-width: 768px) {
  #dynamic-hai-form .form-navigation {
    flex-direction: column;
  }
  #dynamic-hai-form .form-navigation button {
    width: 100%;
    margin-bottom: 10px;
  }
}



/* ------------------------------- */
/* Style avis pour les avis */
/* ------------------------------- */

.hai-reviews-grid-container {
  margin: 60px auto;
  max-width: 1100px;
  padding: 0 20px;
}

.hai-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.hai-review-card {
  background: #fff;
  border: 1.5px dashed #e1cba3;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.3s ease;
}
.hai-review-card:hover {
  transform: translateY(-5px);
}

.hai-review-card::before {
  content: "🌙";
  position: absolute;
  top: -12px;
  left: -12px;
  font-size: 22px;
}

.hai-review-header {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: bold;
  color: #6d4c41;
  margin-bottom: 12px;
}
.hai-review-stars {
  color: #258fde;
}

.hai-review-pseudo {
    font-family: times;
    color: #7e5f91;
    font-size: 16px;
}

.hai-review-text {
  font-size: 16px;
  font-style: italic;
  color: #4a3d3d;
  line-height: 1.5;
}

.hai-review-filter-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    padding-right: 10px;
    margin-top: 30px;
}

.hai-review-filter-form {
  align-items: center;
  gap: 6px;
  background: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #e1cba3;
  font-size: 14px;
  color: #6d4c41;
  width: 200px;
}

.hai-review-filter-form label {
  font-weight: 600;
  font-size: 14px;
  margin: 0;
}

.hai-review-filter-form select {
  border: none;
  background: transparent;
  font-size: 14px;
  color: #5a4050;
  padding: 3px 6px;
}


.hai-review-pagination .page-numbers {
  display: inline-block;
  padding: 6px 12px;
  margin: 2px;
  background: #f4f0ea;
  border-radius: 4px;
  color: #5a4050;
  text-decoration: none;
  font-weight: bold;
}

.hai-review-pagination .page-numbers.current {
  background: #bb9f77;
  color: white;
}

.hai-review-pagination .page-numbers:hover {
  background: #dbc2a1;
  color: white;
}

/* ------------------------------- */
/* Style badge avis vérifié */
/* ------------------------------- */
/* Centrage horizontal du ruban */
.astrologer-ribbon-container {
  display: flex;
  justify-content: center;  /* centre horizontalement */
  margin: 20px 0;           /* espace au-dessus et en dessous */
}

/* (Rechargez ou rebuild si vous utilisez un preprocessuer) */

.astro-badge-ribbon {
  position: relative;
  background: #7ba389;
  color: #fff;
  font-family: "Cinzel", serif;
  padding: 6px 16px;
  font-size: 19px;
  line-height: 1;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.astro-badge-ribbon::before,
.astro-badge-ribbon::after {
  content: "";
  position: absolute;
  bottom: -8px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid;
}
.astro-badge-ribbon::before {
  left: 8px;
  border-top-color: #7ba389;
}
.astro-badge-ribbon::after {
  right: 8px;
  border-top-color: #7ba389;
}
.astro-badge-ribbon:hover {
  transform: rotate(-1deg) scale(1.02);
  transition: transform 0.2s ease-in-out;
}



