/* ------------------------------------------------------------- */
/* ASPIRANT REVIEWS, STRATEGIES & "प्रेरणा WALL" STYLES           */
/* ------------------------------------------------------------- */

/* Inspiration Wall Header Banner */
.inspiration-hero-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.inspiration-hero-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.4rem;
}

.inspiration-hero-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.inspiration-hero-tag {
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.inspiration-hero-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.45;
  margin: 0;
}

.inspiration-stats-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.inspiration-stat-item {
  text-align: right;
}

.inspiration-stat-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.2;
}

.inspiration-stat-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

/* Review Filter Controls Bar */
.reviews-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
}

.reviews-filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.review-filter-pill {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.review-filter-pill:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
  border-color: var(--brand-blue);
}

.review-filter-pill.active {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.reviews-secondary-filters {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.reviews-select-input {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

/* Grid of Review Cards */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(37, 99, 235, 0.35);
}

.review-card-featured {
  border: 1.5px solid #F59E0B;
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.03) 100%);
  position: relative;
}

.review-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0.85rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #7C3AED 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.review-user-meta {
  flex: 1;
  min-width: 0;
}

.review-user-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}

.review-user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-spotlight-pill {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}

.badge-percentile-pill {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 8px;
}

.review-badges-row {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.review-stars-col {
  text-align: right;
  flex-shrink: 0;
}

.review-stars-val {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 1px;
}

.review-cadre-tag-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.review-cadre-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.review-category-pill {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

/* Golden Tip Box */
.review-golden-tip-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.07) 0%, rgba(251, 191, 36, 0.05) 100%);
  border-left: 3.5px solid #F59E0B;
  border-radius: 0 8px 8px 0;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.85rem;
}

.review-golden-tip-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 800;
  color: #B45309;
  margin-bottom: 3px;
}

.review-golden-tip-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  margin: 0;
  font-style: italic;
}

.review-body-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.review-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

.review-date-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-upvote-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.review-upvote-btn:hover {
  background: #FEF3C7;
  border-color: #FCD34D;
  color: #92400E;
  transform: scale(1.03);
}

.review-upvote-btn.active {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #92400E;
}

/* Home Spotlight Ribbon */
.home-spotlight-section {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.home-spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-spotlight-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-spotlight-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.home-spotlight-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.spotlight-story-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spotlight-story-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.spotlight-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.spotlight-cadre-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 2px 7px;
  border-radius: 5px;
}

.spotlight-stars {
  font-size: 0.75rem;
  font-weight: 700;
  color: #D97706;
}

.spotlight-tip-quote {
  font-size: 0.83rem;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.spotlight-author-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spotlight-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spotlight-author-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.spotlight-badge-line {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Interactive Star Rating Component in Modal */
.star-picker-container {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0.5rem 0 0.25rem;
}

.star-picker-star {
  font-size: 1.8rem;
  color: #CBD5E1;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
  user-select: none;
}

.star-picker-star:hover,
.star-picker-star.selected {
  color: #F59E0B;
}

.star-picker-star:hover {
  transform: scale(1.18);
}

.star-rating-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 8px;
}

/* Scorecard Reflection Banner */
.scorecard-reflection-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1.5px solid #93C5FD;
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.reflection-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reflection-icon {
  font-size: 1.8rem;
}

.reflection-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 2px;
}

.reflection-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .inspiration-hero-banner {
    padding: 1.25rem 1.25rem;
  }
  .reviews-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .reviews-secondary-filters {
    justify-content: space-between;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* Review Submission Modal Styles & Overlay Fix */
#review-submission-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.7) !important;
  backdrop-filter: blur(4px) !important;
  z-index: 10050 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
  box-sizing: border-box !important;
}

#review-submission-modal.open {
  display: flex !important;
}

#review-submission-modal .modal-dialog {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 14px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 10051;
}

#review-submission-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
}

#review-submission-modal .modal-close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted, #64748b);
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s ease;
}

#review-submission-modal .modal-close-btn:hover {
  color: var(--text-main, #0f172a);
}

