/* ========== TAB STICKY RECENZII (DREAPTA) ========== */
/* DESKTOP / TABLETĂ */
.ye-reviews-tab {
  position: fixed;
  right: 0;
  top: 55%;
  transform: translateY(-50%);
  z-index: 9998;

  padding: 14px 10px;
  background: #ffffff;
  border-radius: 16px 0 0 16px;
  border: 1px solid rgba(40,39,120,0.18);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);

  cursor: pointer;
  transition: background 0.18s ease-out, border-color 0.18s ease-out;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}

.ye-reviews-tab-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ye-reviews-star {
  font-size: 20px;
  line-height: 1;
  color: #fcb040;
  animation: yeStarPulse 1.6s ease-in-out infinite;
}

.ye-reviews-label {
  font-size: 14px;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #282780;
}

.ye-reviews-tab:hover {
  background: #ffffff;
  border-color: rgba(40,39,120,0.28);
}

@keyframes yeStarPulse {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-1px) scale(1.08); }
  100% { transform: translateY(0) scale(1); }
}

/* Mobile – poziție puțin mai jos */
@media (max-width: 767px) {
  .ye-reviews-tab {
    padding: 12px 8px;
    top: 65%;
  }
  .ye-reviews-star { font-size: 18px; }
  .ye-reviews-label { font-size: 13px; }
}

/* ========== POPUP OVERLAY ========== */
.ye-reviews-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
  z-index: 9999;
}

.ye-reviews-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ========== MODAL ========== */
.ye-reviews-modal {
  background: #ffffff;
  border-radius: 18px;
  max-width: 720px;
  width: 94%;
  max-height: 82vh;
  padding: 24px 26px 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}

/* BUTON X */
.ye-reviews-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #f4f4f4;
  font-size: 22px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.ye-reviews-close:hover {
  background: #e9e9e9;
  border-color: rgba(0,0,0,0.18);
  transform: translateY(-1px);
}

/* TITLURI */
.ye-reviews-title {
  margin: 0 40px 4px 4px;
  font-size: 20px;
  font-weight: 600;
  color: #282780;
}

.ye-reviews-subtitle {
  margin: 0 40px 16px 4px;
  font-size: 13px;
  color: #64748b;
}

/* LISTĂ */
.ye-reviews-list {
  overflow-y: auto;
  padding-right: 4px;
}

.ye-reviews-list::-webkit-scrollbar {
  width: 6px;
}
.ye-reviews-list::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.18);
  border-radius: 999px;
}

/* ITEM REVIEW */
.ye-review-item {
  padding: 14px 16px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #f8fafc;
  border-left: 4px solid #14a89e;
}

.ye-review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.ye-review-name {
  font-weight: 600;
  font-size: 15px;
  color: #0f172a;
}

.ye-review-stars {
  font-size: 15px;
  color: #fcb040;
}

.ye-review-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
}

/* CTA */
.ye-review-cta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.ye-review-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  background: #14a89e;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.16s ease;
}

.ye-review-cta-btn:hover {
  background: #129b90;
  transform: translateY(-1px);
}

.ye-review-cta-stars {
  color: #fcb040;
}

/* ========== MOBILE ========== */
@media (max-width: 767px) {
  .ye-reviews-modal {
    width: 96%;
    max-height: 80vh;
    padding: 16px 14px 12px;
    border-radius: 16px;
  }

  .ye-reviews-title {
    font-size: 18px;
  }

  .ye-review-item {
    padding: 10px 11px;
    border-radius: 12px;
  }

  .ye-review-text {
    font-size: 13px;
    line-height: 1.5;
  }
}