/* ============================================================
   CV Recovery — Review System CSS
   Mobile-first. Glassmorphism hero card + public review page.
   ============================================================ */

/* ── Hero review card ───────────────────────────────────────── */

.cv-hero-review-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-top: 36px;
  margin-bottom: 3.5rem;
  padding: 24px 28px 20px;
  background: rgba(7, 20, 39, 0.72);
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cv-hero-review-stars {
  font-size: 30px;
  letter-spacing: 4px;
  color: #fde047;
  line-height: 1;
  animation: heroStarPulse 2.8s ease-in-out infinite;
}

@keyframes heroStarPulse {
  0%, 100% {
    text-shadow:
      0 0 6px #facc15,
      0 0 18px rgba(250, 204, 21, 0.75),
      0 0 36px rgba(250, 204, 21, 0.35);
  }
  50% {
    text-shadow:
      0 0 8px #facc15,
      0 0 28px rgba(250, 204, 21, 0.9),
      0 0 52px rgba(250, 204, 21, 0.5);
  }
}

.cv-hero-review-content {
  max-width: 560px;
}

.cv-hero-review-content h2 {
  margin: 0 0 4px;
  font-size: clamp(15px, 2.2vw, 18px);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.25;
}

.cv-hero-review-content p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.cv-hero-review-actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Buttons */
.cv-review-main-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  background: #f97316;
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 12px;
  border: none;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.38);
}

.cv-review-main-btn:hover,
.cv-review-main-btn:focus-visible {
  background: #ea6c10;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.cv-review-outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.cv-review-outline-btn:hover,
.cv-review-outline-btn:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Mobile — stack buttons full width */
@media (max-width: 480px) {
  .cv-hero-review-card {
    padding: 20px 18px 16px;
    margin-top: 24px;
    margin-bottom: 2.5rem;
  }

  .cv-hero-review-actions {
    flex-direction: column;
    width: 100%;
  }

  .cv-review-main-btn,
  .cv-review-outline-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }
}

/* ── Public review page ─────────────────────────────────────── */

.cvr-review-page {
  min-height: 100vh;
  background: var(--cv-navy, #071427);
  display: flex;
  flex-direction: column;
}

.cvr-review-body {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px 80px;
}

.cvr-review-card {
  width: 100%;
  max-width: 540px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cvr-review-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.cvr-review-logo img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.cvr-review-logo-text strong {
  display: block;
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cvr-review-logo-text small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.cvr-review-title {
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 8px;
  line-height: 1.2;
  text-align: center;
}

.cvr-review-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 0 0 24px;
  line-height: 1.6;
  text-align: center;
}

/* Star buttons */
.cvr-star-row {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
}

.cvr-star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 3px;
  font-size: 52px;
  color: rgba(255, 255, 255, 0.15);
  text-shadow: none;
  transition: color 0.12s ease, transform 0.12s ease, text-shadow 0.12s ease;
  line-height: 1;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.cvr-star-btn:hover,
.cvr-star-btn.hovered {
  color: #fde047;
  transform: scale(1.22);
  text-shadow:
    0 0 8px #facc15,
    0 0 22px rgba(250, 204, 21, 0.8),
    0 0 44px rgba(250, 204, 21, 0.4);
}

.cvr-star-btn.selected {
  color: #fde047;
  transform: scale(1.18);
  text-shadow:
    0 0 6px #facc15,
    0 0 18px rgba(250, 204, 21, 0.75),
    0 0 38px rgba(250, 204, 21, 0.35);
}

@media (max-width: 575px) {
  .cvr-star-btn { font-size: 46px; }
}

.cvr-star-hint {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  margin-bottom: 16px;
  min-height: 16px;
  transition: opacity 0.2s;
}

/* Flow panels */
.cvr-flow-panel {
  display: none;
  animation: cvrFadeIn 0.35s ease forwards;
}

.cvr-flow-panel.active {
  display: block;
}

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

/* Positive flow */
.cvr-positive-icon {
  font-size: 48px;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1;
}

.cvr-flow-title {
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
  text-align: center;
}

.cvr-flow-body {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.65;
  text-align: center;
  margin: 0 0 18px;
}

.cvr-compliance-note {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 16px;
  text-align: center;
}

/* Permission checkbox */
.cvr-permission-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 16px;
}

.cvr-permission-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #f97316;
  cursor: pointer;
}

.cvr-permission-label span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.5;
}

/* Primary submit button variant */
.cvr-submit-btn--primary {
  background: #f97316;
  border-color: #f97316;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.cvr-submit-btn--primary:hover {
  background: #ea6c10;
  border-color: #ea6c10;
}

/* Skip link */
.cvr-skip-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  padding: 8px 0 0;
  transition: color 0.15s;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cvr-skip-btn:hover {
  color: rgba(255, 255, 255, 0.6);
}

.cvr-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: #f97316;
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.4);
  text-decoration: none;
}

.cvr-google-btn:hover,
.cvr-google-btn:focus-visible {
  background: #ea6c10;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.55);
}

.cvr-google-btn i {
  font-size: 20px;
}

/* Negative flow */
.cvr-negative-icon {
  font-size: 46px;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1;
}

.cvr-feedback-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
  padding: 14px 16px;
  resize: vertical;
  min-height: 110px;
  margin-bottom: 14px;
  outline: none;
  transition: border-color 0.18s;
}

.cvr-feedback-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.cvr-feedback-form textarea:focus {
  border-color: rgba(249, 115, 22, 0.5);
}

.cvr-feedback-form input[type="text"],
.cvr-feedback-form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  padding: 11px 14px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.18s;
}

.cvr-feedback-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.cvr-feedback-form input:focus {
  border-color: rgba(249, 115, 22, 0.5);
}

.cvr-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
  margin-top: 6px;
}

.cvr-submit-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

/* Thank-you complete */
.cvr-complete-icon {
  font-size: 52px;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1;
}

/* Loading spinner */
.cvr-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: cvrSpin 0.65s linear infinite;
  vertical-align: middle;
}

@keyframes cvrSpin {
  to { transform: rotate(360deg); }
}

/* Error state */
.cvr-error-msg {
  color: #fca5a5;
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
  min-height: 18px;
}

/* Review page header */
.cvr-review-header {
  background: rgba(7, 20, 39, 0.94);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cvr-review-header .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
}

.cvr-review-header .brand-link img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.cvr-review-header .brand-link strong {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Reviews showcase page ──────────────────────────────────── */

.cvr-reviews-page-hero {
  background: linear-gradient(135deg, #071427 0%, #0b1f3a 100%);
  padding: 72px 0 56px;
  text-align: center;
}

.cvr-reviews-page-hero h1 {
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.cvr-reviews-page-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(14px, 2vw, 16px);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.cvr-hero-stars-large {
  font-size: 44px;
  letter-spacing: 5px;
  color: #fde047;
  text-shadow:
    0 0 8px #facc15,
    0 0 24px rgba(250, 204, 21, 0.8),
    0 0 48px rgba(250, 204, 21, 0.4);
  margin-bottom: 20px;
  display: block;
  animation: heroStarPulse 2.8s ease-in-out infinite;
}

/* Trust cards on reviews page */
.cvr-trust-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  height: 100%;
}

.cvr-trust-card i {
  font-size: 32px;
  color: #f97316;
  display: block;
  margin-bottom: 14px;
}

.cvr-trust-card h3 {
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.cvr-trust-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
}

/* Testimonial cards */
.cvr-testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 28px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cvr-testimonial-stars {
  color: #facc15;
  font-size: 18px;
  letter-spacing: 2px;
}

.cvr-testimonial-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.cvr-testimonial-author {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 500;
}

/* Google CTA band on reviews page */
.cvr-google-cta-band {
  background: #f97316;
  padding: 48px 0;
  text-align: center;
}

.cvr-google-cta-band h2 {
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.cvr-google-cta-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin: 0 0 24px;
}

.cvr-google-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #ffffff;
  color: #071427;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.18s;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.cvr-google-cta-btn:hover {
  color: #071427;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

/* ── Admin review UI ────────────────────────────────────────── */

.cvr-admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.cvr-admin-metric {
  background: var(--surface-alt, #f8fafc);
  border: 1px solid var(--line, #dbe3ea);
  border-radius: var(--radius-sm, 14px);
  padding: 20px 18px;
  text-align: center;
}

.cvr-admin-metric span {
  display: block;
  font-size: 12px;
  color: var(--muted, #5c6b78);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cvr-admin-metric strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--text, #16202a);
  line-height: 1;
  margin-bottom: 4px;
}

.cvr-admin-metric p {
  font-size: 11px;
  color: var(--muted, #5c6b78);
  margin: 0;
}

.cvr-admin-metric.highlight strong {
  color: var(--accent, #d89b21);
}

/* ── Responsive card on mobile ─────────────────────────────── */

@media (max-width: 575px) {
  .cvr-review-card {
    padding: 28px 20px;
    border-radius: 20px;
  }
}

/* ── Google review card badge ───────────────────────────────── */

.cvr-google-review-card {
  position: relative;
}

.cvr-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cvr-google-badge .bi {
  font-size: 12px;
  color: #4285f4;
}
