/* ==========================================================================
   Landing Page Audit — Coral Sunset Theme
   ========================================================================== */

/* --- Tokens --- */
:root {
  --color-primary: #FF6B6B;
  --color-primary-hover: #E85555;
  --color-dark: #2D2B2E;
  --color-secondary: #6B6570;
  --color-bg: #FFFBF7;
  --color-bg-alt: #FFF0EB;
  --color-card: #FFFFFF;
  --color-success: #2ECC71;
  --color-critical: #E74C3C;
  --color-important: #F39C12;
  --color-nice: #27AE60;
  --color-border: #F0E6E0;

  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1100px;
  --radius: 16px;
  --radius-sm: 10px;
  --swiper-pagination-bottom: -12px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-bg);
}

img { max-width: 100%; display: block; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-hover); }

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  text-align: center;
}

h1 { font-size: 2.75rem; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p {
  max-width: 65ch;
  text-align: left;
  font-family: var(--font-base);
}

.section-sub {
  text-align: center;
  color: var(--color-secondary);
  margin: 0 auto 48px;
  font-size: 1.1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(45, 43, 46, 0.06);
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  z-index: 2;
  background: linear-gradient(135deg, #FF6B6B, #E85555);
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #E85555, #d44040);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.35);
}

.btn-secondary {
  background: var(--color-card);
  color: var(--color-dark);
  border: 2px solid var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn-dark {
  background: var(--color-dark);
  color: #fff;
  border: 2px solid var(--color-dark);
}
.btn-dark:hover { background: #1a1820; border-color: #1a1820; }

/* --- URL Input Group --- */
.url-form {
  max-width: 640px;
  margin: 0 auto;
}

.input-group {
  display: flex;
  align-items: center;
  background: var(--color-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 6px 6px 6px 16px;
  transition: border-color 0.2s;
}

.input-group:focus-within {
  border-color: var(--color-primary);
}

.input-icon {
  color: var(--color-secondary);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.url-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-base);
  font-size: 1rem;
  padding: 10px 12px;
  background: transparent;
  color: var(--color-dark);
  min-width: 0;
}

.url-input::placeholder {
  color: #B5AFB9;
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.hero-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto 28px;
  display: block;
}

.hero h1 {
  max-width: 720px;
  margin: 0 auto 24px;
  font-family: var(--font-base);
  text-align: center;
}

.hero-sub {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 560px;
  color: var(--color-secondary);
  font-size: 1.15rem;
  font-family: var(--font-base);
  line-height: 1.6;
}

/* Two initial CTA buttons side by side */
.hero-cta-buttons {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta-buttons[hidden] {
  display: none;
}

.analyze-btn-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.analyze-peek {
  height: auto;
  position: relative;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.10));
  width: 100px;
}

.analyze-btn-wrap:first-child .analyze-peek,
.analyze-btn-wrap:last-child .analyze-peek {
  width: 100px;
  margin-bottom: -1px;
  transform: none;
}

.analyze-btn-wrap .btn {
  position: relative;
  z-index: 1;
  width: 210px;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Match .btn-dark's 2px border so primary has identical outer dimensions */
.analyze-btn-wrap .btn.btn-primary {
  border: 2px solid transparent;
}

/* URL form hidden state */
.url-form[hidden] {
  display: none;
}

/* Secondary action below URL form (View Sample Audits) */
.hero-form-secondary {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* =========================================================================
   SAMPLE AUDITS MODAL
   ========================================================================= */
.sample-audits-overlay[hidden] {
  display: none;
}

.sample-audits-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 43, 46, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1003;
  backdrop-filter: blur(4px);
  padding: 24px;
}

.sample-audits-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 760px;
  width: 100%;
  max-height: 80vh;
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(45, 43, 46, 0.18);
  overflow: hidden;
}

.sample-audits-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.sample-audits-header h2 {
  margin: 0;
  font-size: 1.4rem;
  text-align: left;
}

.sample-audits-close {
  background: none;
  border: none;
  color: var(--color-secondary);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 8px;
  line-height: 1;
  border-radius: var(--radius-sm);
  transition: color 0.15s;
}
.sample-audits-close:hover { color: var(--color-dark); }

.sample-audits-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px 28px;
}

.sample-audits-empty {
  text-align: center;
  color: var(--color-secondary);
  font-size: 0.95rem;
  margin: 20px auto;
  max-width: 420px;
}

.sample-audits-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.sample-audit-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  min-height: 68px;
  flex-shrink: 0;
  background: var(--color-card);
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
  overflow: visible;
}
.sample-audit-card:last-child {
  border-bottom: none;
}
.sample-audit-card:hover {
  background: var(--color-bg);
}

.sample-audit-favicon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.sample-audit-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.sample-audit-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sample-audit-hostname {
  font-size: 0.8rem;
  color: var(--color-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sample-audit-score {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  border: 2px solid rgba(255,255,255,0.6);
  z-index: 5;
}
.sample-audit-score.score-red { background: var(--color-critical); }
.sample-audit-score.score-amber { background: var(--color-important); }
.sample-audit-score.score-green { background: var(--color-success); }
.sample-audit-score span { font-size: 0.65rem; opacity: 0.9; }

.sample-audit-view-btn {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-family: var(--font-base);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.sample-audit-view-btn:hover {
  color: var(--color-primary);
  background: rgba(255, 107, 107, 0.08);
}

/* =========================================================================
   HOW IT WORKS
   ========================================================================= */
.how-it-works {
  background: var(--color-card);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step {
  text-align: center;
  padding: 32px 24px;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  font-size: 1.5rem;
}

.step h3 { margin-bottom: 8px; }

.step p {
  text-align: center;
  color: var(--color-secondary);
  margin: 0 auto;
}

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.testimonials {
  background: var(--color-bg-alt);
}
.testimonials h2 {
  margin-bottom: 32px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.testimonial-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
}
.testimonial-quote {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-dark);
  margin: 0 0 20px;
  font-style: italic;
  flex: 1;
}
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-meta {
  text-align: left;
}
.testimonial-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0 0 2px;
}
.testimonial-role {
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin: 0;
}
.testimonial-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0 0 4px;
}
.testimonial-role {
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin: 0;
}
.testimonial-attribution {
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin: 0;
}

/* =========================================================================
   CATEGORIES
   ========================================================================= */
.categories {
  background: var(--color-bg);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(45, 43, 46, 0.08);
}

.category-card i {
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 12px;
  display: block;
}

.category-card h4 { margin-bottom: 4px; }

.category-card p {
  text-align: center;
  color: var(--color-secondary);
  font-size: 0.9rem;
  margin: 0 auto;
}

/* =========================================================================
   TRUST
   ========================================================================= */
.trust {
  background: var(--color-bg-alt);
}

.trust-content {
  text-align: center;
}

.trust-points {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-point {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-point i {
  color: var(--color-primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.trust-point p {
  text-align: left;
  font-size: 0.95rem;
}

/* =========================================================================
   SECONDARY CTA
   ========================================================================= */
.cta-repeat {
  background: var(--color-card);
  text-align: center;
}

.cta-repeat h2 { margin-bottom: 8px; }

/* =========================================================================
   RESULTS
   ========================================================================= */
.results {
  background: var(--color-bg);
  padding-top: 48px;
}

.results-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: center;
}

@media (max-width: 768px) {
  .results-header {
    justify-content: flex-start;
  }
}

.score-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  background: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5), 0 4px 16px rgba(45, 43, 46, 0.12);
}

.score-badge.score-red    { background: linear-gradient(135deg, #E74C3C, #C0392B); }
.score-badge.score-amber  { background: linear-gradient(135deg, #F5A623, #F39C12); }
.score-badge.score-green  { background: linear-gradient(135deg, #2ECC71, #27AE60); }

.score-number {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.score-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.results-meta h2 {
  text-align: left;
  margin-bottom: 4px;
}

.results-url {
  color: var(--color-secondary);
  font-size: 0.9rem;
  word-break: break-all;
}

/* Executive summary — inside Swiper card, no standalone callout styling */
.executive-summary {
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}

/* Two-column strengths / improvements — removed, now single Swiper */
.results-columns {
  display: none;
}

.results-col > h3 {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.results-col:first-child > h3 i { color: var(--color-success); }
.results-col:last-child > h3 i  { color: var(--color-important); }

.card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Result card shared */
.result-card {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: box-shadow 0.2s;
  text-align: left;
}
.result-card:hover {
  box-shadow: 0 6px 20px rgba(45, 43, 46, 0.10);
}
.result-card .card-copy-btn {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-secondary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: color 0.15s, background 0.15s;
  z-index: 2;
}
.result-card .card-copy-btn:hover {
  color: var(--color-primary);
  background: var(--color-border);
}
.result-card .card-copy-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.card-download-btn {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-secondary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: color 0.15s, background 0.15s;
  z-index: 2;
}
.card-download-btn:hover {
  color: var(--color-primary);
  background: var(--color-border);
}

/* Card header row: category label left, badge right */
.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.card-header-row-left {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}

.card-header-row-right {
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
}

.result-card .card-category {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  max-width: 200px;
}

.result-card .card-topic {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.card-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 18px 0;
}

.result-card .card-body {
  font-size: 0.95rem;
  color: #4a4550;
  line-height: 1.65;
}

/* Priority badge — pill style */
.priority-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  flex-shrink: 0;
  box-sizing: border-box;
}

.priority-critical   { background: var(--color-critical); }
.priority-important  { background: var(--color-important); }
.priority-nice-to-have { background: var(--color-nice); }

/* Recommendation arrow */
.card-recommendation {
  font-size: 0.95rem;
  color: var(--color-dark);
  line-height: 1.6;
}

.card-recommendation::before {
  content: "→ ";
  color: var(--color-primary);
  font-weight: 700;
}

/* Summary & actions */
.results-summary {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
  line-height: 1.7;
  white-space: pre-line;
}

.results-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Short/full label spans — short ones hidden by default, shown only when parent opts in */
.btn-label-short { display: none; }
.btn-label-full  { display: inline; }

/* Export dropdown */
.export-dropdown {
  position: relative;
}
.export-dropdown-trigger .export-chevron {
  margin-left: 4px;
  font-size: 0.75rem;
  transition: transform 0.2s;
}
.export-dropdown-trigger[aria-expanded="true"] .export-chevron {
  transform: rotate(180deg);
}
.export-dropdown-menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 6px;
  margin-top: 0;
  min-width: 200px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(45, 43, 46, 0.12);
  z-index: 20;
  padding: 6px 0;
}
.export-dropdown-menu[hidden] {
  display: none;
}
.export-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: none;
  font-family: var(--font-base);
  font-size: 0.95rem;
  color: var(--color-dark);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.export-option:hover {
  background: var(--color-bg-alt);
}
.export-option i {
  color: var(--color-secondary);
  width: 1.1em;
  flex-shrink: 0;
}
.export-option i.export-option-icon {
  color: var(--color-secondary);
  width: 1.1em;
  flex-shrink: 0;
}
.export-option img.export-option-icon {
  width: 1.1em;
  height: 1.1em;
  object-fit: contain;
  flex-shrink: 0;
}

/* =========================================================================
   LOADING OVERLAY
   ========================================================================= */
.loading-overlay[hidden] {
  display: none;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 251, 247, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.loading-content {
  text-align: center;
  max-width: 360px;
}

.loading-spinner {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.loading-message {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.loading-bar {
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* =========================================================================
   ERROR TOAST
   ========================================================================= */
.error-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
}

.error-toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-dark);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.error-toast-content i:first-child {
  color: var(--color-critical);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.error-toast-content p { color: #fff; max-width: 400px; }

.error-dismiss {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.6;
  font-size: 1rem;
  flex-shrink: 0;
}
.error-dismiss:hover { opacity: 1; }

.error-toast.notion-success .error-toast-content { background: var(--color-success); }
.error-toast.notion-success .error-toast-content i:first-child { color: #fff; }
.error-toast.notion-success .error-toast-content p { color: #fff; }
.error-toast.notion-error .error-toast-content { background: var(--color-dark); }

/* =========================================================================
   REPORT MODAL
   ========================================================================= */
.report-modal-overlay[hidden] {
  display: none;
}

.report-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 251, 247, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  backdrop-filter: blur(4px);
  padding: 24px;
}

.report-modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: var(--container);
  width: 100%;
  max-height: 90vh;
  min-height: 0;
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(45, 43, 46, 0.06), 0 24px 64px rgba(45, 43, 46, 0.14);
  overflow: visible;
}

.report-modal-body {
  flex: 1;
  overflow: hidden;
  padding: 32px 32px 24px;
  border-radius: var(--radius);
}

.report-modal-actions {
  flex-shrink: 0;
  padding: 16px 32px 24px;
  border-top: 1px solid var(--color-border);
  background: var(--color-card);
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.report-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 11;
  background: none;
  border: none;
  color: var(--color-secondary);
  cursor: pointer;
  font-size: 1.25rem;
  padding: 8px;
  line-height: 1;
}
.report-modal-close:hover {
  color: var(--color-dark);
}

.report-modal-body .results-header { margin-top: 0; }
.report-modal-content .report-modal-body .results-summary { margin-bottom: 0; }

@media (max-width: 768px) {
  .report-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .report-modal-content {
    max-width: 100%;
    width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }

  .report-modal-body {
    padding: 32px 20px 16px;
  }

  .report-modal-actions {
    padding: 12px 16px 24px;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .report-modal-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    text-align: center;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 0.85rem;
  }

  .report-modal-actions .export-dropdown {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
  }

  .report-modal-actions .export-dropdown .export-dropdown-trigger {
    width: 100%;
    flex: 1;
    white-space: nowrap;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 0.85rem;
  }

  .report-modal-actions .export-dropdown-menu {
    left: 0;
    right: 0;
    min-width: unset;
    width: 100%;
  }
}

/* On very small screens, swap long labels for short ones in the modal action bar */
@media (max-width: 400px) {
  .report-modal-actions .btn-label-full { display: none; }
  .report-modal-actions .btn-label-short { display: inline; }
}

/* =========================================================================
   EVALUATIONS LIST (below hero)
   ========================================================================= */
.evaluations-section {
  background: var(--color-bg-alt);
  padding-top: 48px;
  padding-bottom: 48px;
}

.evaluations-empty {
  text-align: center;
  color: var(--color-secondary);
  font-size: 0.95rem;
  font-family: var(--font-base);
  max-width: 100%;
  width: 100%;
  margin: 40px 0;
}
.evaluations-empty[hidden] {
  display: none;
}

.evaluations-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.evaluations-section-header h2 {
  margin: 0;
  line-height: 1.25;
  text-align: left;
}

.evaluations-section-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.download-all-trigger:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Download All dropdown */
.download-all-dropdown {
  position: relative;
}

.download-all-trigger .download-all-chevron {
  margin-left: 4px;
  font-size: 0.75rem;
  transition: transform 0.2s;
}
.download-all-trigger[aria-expanded="true"] .download-all-chevron {
  transform: rotate(180deg);
}

.download-all-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  min-width: 210px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(45, 43, 46, 0.12);
  z-index: 20;
  padding: 6px 0;
}
.download-all-menu[hidden] {
  display: none;
}
.download-all-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: none;
  font-family: var(--font-base);
  font-size: 0.95rem;
  color: var(--color-dark);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.download-all-option:hover {
  background: var(--color-bg-alt);
}
.download-all-option i {
  color: var(--color-secondary);
  width: 1.1em;
}

/* Scrollable list */
.evaluations-list {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  max-height: 340px;
  overflow-y: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

/* Custom scrollbar */
.evaluations-list::-webkit-scrollbar {
  width: 6px;
}
.evaluations-list::-webkit-scrollbar-track {
  background: var(--color-border);
  border-radius: 3px;
}
.evaluations-list::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 3px;
  opacity: 0.5;
}

.evaluations-list:empty {
  display: none;
}

/* Scorecard-style evaluation row */
.evaluation-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 60px 18px 24px;
  min-height: 68px;
  flex-shrink: 0;
  background: var(--color-card);
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: background 0.15s;
  overflow: visible;
  position: relative;
}
.evaluation-row:last-child {
  border-bottom: none;
}
.evaluation-row:hover {
  background: var(--color-bg);
}

.evaluation-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.evaluation-favicon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.evaluation-row-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.evaluation-row-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  font-family: var(--font-base);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.evaluation-row-url {
  font-size: 0.8rem;
  color: var(--color-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.evaluation-row-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.evaluation-row-score {
  position: absolute;
  top: 4px;
  right: 8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  transform: rotate(-12deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  border: 2px solid rgba(255,255,255,0.6);
  z-index: 5;
}

.evaluation-row-score.score-red { background: var(--color-critical); }
.evaluation-row-score.score-amber { background: var(--color-important); }
.evaluation-row-score.score-green { background: var(--color-success); }

.evaluation-row-score span { font-size: 0.65rem; opacity: 0.9; }

.evaluation-row-view-btn {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-family: var(--font-base);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.evaluation-row-view-btn:hover {
  color: var(--color-primary);
  background: rgba(255, 107, 107, 0.08);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  padding: 32px 0;
  text-align: center;
  background: var(--color-dark);
  color: #B5AFB9;
}

.site-footer p {
  text-align: center;
  margin: 0 auto;
}

.footer-credit {
  font-size: 0.875rem;
  color: rgba(181, 175, 185, 0.8);
}

.footer-credit a {
  color: rgba(181, 175, 185, 0.95);
  text-decoration: none;
}

.footer-credit a:hover {
  color: #fff;
  text-decoration: underline;
}

/* =========================================================================
   MODEL CONFIG PANEL
   ========================================================================= */
.config-panel {
  max-width: 640px;
  margin: 0 auto 16px;
}

.config-panel[hidden] {
  display: none;
}

.config-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.config-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.config-field-apikey {
  flex: 1.4;
}

.config-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-secondary);
  text-align: left;
}

.config-select,
.config-input {
  font-family: var(--font-base);
  font-size: 0.9rem;
  color: var(--color-dark);
  background: var(--color-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  height: 42px;
}

.config-select:focus,
.config-input:focus {
  border-color: var(--color-primary);
}

.config-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B6570' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.config-select option {
  font-size: 0.9rem;
}

.config-apikey-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.config-apikey-wrap .config-input {
  padding-right: 40px;
}

.config-toggle-key {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-secondary);
  font-size: 0.9rem;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}

.config-toggle-key:hover {
  color: var(--color-primary);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 768px) {
  section { padding: 48px 0; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero { padding: 80px 0 48px; }

  .hero-logo { width: 160px; height: 160px; margin-bottom: 20px; }

  .hero-cta-buttons { flex-direction: column; align-items: center; gap: 12px; }

  .evaluations-section-header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .evaluations-section-header h2 { text-align: center; }

  .evaluations-section-actions { justify-content: center; width: 100%; }

  .config-row {
    flex-direction: column;
    gap: 10px;
  }

  .config-field,
  .config-field-apikey {
    flex: unset;
    width: 100%;
  }

  .input-group {
    flex-direction: column;
    padding: 8px;
  }

  .input-icon { display: none; }

  .url-input { width: 100%; padding: 12px; }

  .btn { width: 100%; }

  .steps { grid-template-columns: 1fr; gap: 16px; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .trust-points { flex-direction: column; align-items: center; gap: 20px; }

  .results-header { flex-direction: row; text-align: center; }
  .results-meta h2 { text-align: center; }

  .results-columns { grid-template-columns: 1fr; }

  .score-badge { width: 50px; height: 50px; }
  .score-number { font-size: 1.8rem; }

  .evaluation-row-right { gap: 8px; }

  .evaluation-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .evaluation-row-left {
    flex: 1 1 0;
    min-width: 0;
  }

  .evaluation-row-right {
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.65rem; }

  .category-grid { grid-template-columns: 1fr 1fr; }

  .category-card { padding: 16px 12px; }

  .results-actions { flex-direction: column; }
  .results-actions .btn { width: 100%; }

  .evaluation-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .evaluation-row-left { width: 100%; }

  .evaluation-row-right {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .evaluation-row-right .btn {
    flex: 1;
  }
}

/* =========================================================================
   SCORE BADGE — remove /10 label
   ========================================================================= */
.score-label { display: none; }

/* =========================================================================
   EXECUTIVE SUMMARY — BULLET POINTS
   ========================================================================= */
.executive-summary .exec-summary-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.executive-summary .exec-summary-bullets li {
  position: relative;
  padding-left: 20px;
  line-height: 1.6;
  color: var(--color-secondary);
}

.executive-summary .exec-summary-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* =========================================================================
   SWIPER CARD LAYOUT — single report swiper
   ========================================================================= */
.swiper-report-wrap {
  margin: 0 auto 48px;
  width: 100%;
  max-width: 420px;
  padding: 16px 0 0;
  box-sizing: border-box;
  overflow: visible;
  perspective: 1200px;
  perspective-origin: center center;
}

.swiper-report {
  width: 100%;
  height: 520px;
  overflow: visible;
  padding-bottom: 44px !important;
}

.swiper-report .swiper-wrapper {
  overflow: visible;
  transform-style: preserve-3d;
}

.swiper-report .swiper-slide {
  height: 100%;
  overflow: visible;
  transform-style: preserve-3d;
}

.swiper-report .swiper-pagination {
  bottom: 0;
}

.swiper-report .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--color-border);
  opacity: 1;
  border-radius: 999px;
  transition: width 0.3s, background 0.3s, border-radius 0.3s;
}

.swiper-report .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-primary);
}

.swiper-report .swiper-slide-shadow {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 20px;
}

.swiper-report-prev,
.swiper-report-next {
  color: var(--color-secondary) !important;
  width: 40px !important;
  height: 40px !important;
  background: rgba(45, 43, 46, 0.05);
  border-radius: 50%;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.swiper-report-prev:hover,
.swiper-report-next:hover {
  background: rgba(255, 107, 107, 0.1);
  color: var(--color-primary) !important;
  transform: scale(1.08);
}
.swiper-report-prev::after,
.swiper-report-next::after {
  font-size: 16px !important;
  font-weight: 700;
}

@media (max-width: 768px) {
  .swiper-report-wrap {
    max-width: 100%;
    padding: 0 8px;
  }
  .swiper-report {
    height: 480px;
  }
}

/* =========================================================================
   CARD MASCOT IMAGE PLACEHOLDER
   ========================================================================= */

/* Two-column row: topic text left, mascot right (front cards & strength) */
.card-topic-mascot-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}

.card-topic-mascot-row .card-topic {
  flex: 1;
  min-width: 0;
  font-weight: 700;
}

/* Two-column row: mascot left, recommendation text right (back card) */
.card-body-mascot-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.card-body-mascot-row .card-recommendation {
  flex: 1;
  min-width: 0;
}

/* Mascot image — sized to feel substantial, not a small icon */
.card-mascot-img {
  width: 110px;
  flex-shrink: 0;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  display: block;
  scale: -1 1;
}

/* On the back face the parent rotateY(180deg) already mirrors content,
   so add an explicit scaleX(-1) to counteract and keep the same visual flip as the front */
.flip-card-back .card-mascot-img {
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .card-mascot-img {
    width: 90px;
  }
}

@media (max-width: 480px) {
  .card-mascot-img {
    width: 80px;
  }
}

/* =========================================================================
   RESULT CARD — SHARED (Swiper / full-size cards)
   ========================================================================= */
.result-card {
  position: relative;
  background: #fdf8f3;
  border: 1px solid rgba(45, 43, 46, 0.05);
  border-radius: 20px;
  padding: 32px 32px 28px;
  cursor: pointer;
  user-select: none;
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: 0 1px 3px rgba(45, 43, 46, 0.06), 0 8px 24px rgba(45, 43, 46, 0.08);
  overflow: visible;
  transition: box-shadow 0.2s, transform 0.2s;
}
.result-card:hover {
  box-shadow: 0 2px 6px rgba(45, 43, 46, 0.08), 0 12px 36px rgba(45, 43, 46, 0.12);
  transform: translateY(-2px);
}

/* =========================================================================
   SCORE STAMP ON CARDS — removed (stamp is now on audit rows)
   ========================================================================= */

/* =========================================================================
   FLIP CARD
   ========================================================================= */
.flip-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  transform-origin: center center;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  background: #fdf8f3;
  border: 1px solid rgba(45, 43, 46, 0.05);
  border-radius: 20px;
  padding: 32px 32px 28px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: 0 1px 3px rgba(45, 43, 46, 0.06), 0 8px 24px rgba(45, 43, 46, 0.08);
}

.flip-card-back {
  transform: rotateY(180deg);
  background: #fdf8f3;
  border-color: rgba(45, 43, 46, 0.05);
}

.flip-card-hint {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
  opacity: 1;
}

.flip-card-footer-brand {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #94a3b8;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

/* =========================================================================
   CONFIG PRIVACY NOTE
   ========================================================================= */
.config-privacy-note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--color-secondary);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  opacity: 0.8;
}

.config-privacy-note i {
  font-size: 0.72rem;
  color: var(--color-success);
}

/* =========================================================================
   MOBILE: Reduce sample audits padding
   ========================================================================= */
@media (max-width: 768px) {
  .sample-audits-header {
    padding: 14px 14px 12px;
  }

  .sample-audits-body {
    padding: 10px 10px 14px;
  }

  .sample-audit-card {
    padding: 10px 10px;
    gap: 10px;
    min-height: 56px;
  }
}

/* =========================================================================
   EVALUATION ROW SCORE — remove /10
   ========================================================================= */
.evaluation-row-score span,
.sample-audit-score span {
  display: none;
}

/* =========================================================================
   SWIPER SLIDES SIZING — handled in SWIPER CARD LAYOUT section above
   ========================================================================= */
.swiper-slide {
  height: auto;
}

/* =========================================================================
   REPORT SWIPER — card type variants and tints
   ========================================================================= */

/* Strength cards — green tint over cream */
.result-card-strength {
  background: #f0faf3;
  border-color: rgba(34, 197, 94, 0.3);
}

/* Improvement front faces — tinted by priority over cream */
.flip-card-front.tint-critical {
  background: #fef2f2;
  border-color: rgba(239, 68, 68, 0.25);
}
.flip-card-front.tint-important {
  background: #fffbeb;
  border-color: rgba(251, 191, 36, 0.3);
}
.flip-card-front.tint-nice {
  background: #fffdf5;
  border-color: rgba(251, 191, 36, 0.18);
}

/* Overview and summary — heading stays top, body content vertically centered */

.result-card-overview,
.result-card-summary {
  justify-content: flex-start;
}

.result-card-overview .executive-summary {
  flex: 1;
  display: flex;
  align-items: center;
}

.result-card-overview .executive-summary .exec-summary-bullets {
  margin: 0;
  padding-left: 18px;
  line-height: 1.65;
}

.result-card-overview .executive-summary .exec-summary-bullets li {
  margin-bottom: 6px;
  font-size: 0.93rem;
  color: #4a4550;
}

.result-card .summary-text {
  flex: 1;
  font-size: 0.93rem;
  line-height: 1.65;
  white-space: pre-line;
  display: flex;
  align-items: center;
}

/* =========================================================================
   RATING POPUP
   ========================================================================= */
.rating-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(45, 43, 46, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(3px);
}

.rating-popup {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(45, 43, 46, 0.22);
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: ratingPopupIn 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes ratingPopupIn {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.rating-popup-overlay.rating-popup-fadeout {
  animation: ratingOverlayOut 0.5s ease forwards;
}

@keyframes ratingOverlayOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.rating-popup-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
  text-align: center;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.rating-star-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 2rem;
  color: var(--color-secondary);
  padding: 0 2px;
  transition: transform 0.15s, color 0.15s;
  line-height: 1;
}

.rating-star-btn:hover,
.rating-star-btn.selected {
  color: #f5a623;
  transform: scale(1.15);
}

.rating-star-btn i.fa-solid {
  color: #f5a623;
}

.rating-suggestion {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--color-dark);
  background: var(--color-bg);
  resize: vertical;
  outline: none;
  transition: border-color 0.15s;
  min-height: 90px;
}

.rating-suggestion:focus {
  border-color: var(--color-primary);
}

.rating-popup-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.rating-popup.rating-popup-thankyou {
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.rating-thankyou {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  padding: 8px 0;
  animation: thankYouFadeOut 1.5s ease 1.2s forwards;
  opacity: 1;
}

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

.swiper-report-prev, .swiper-report-next {
  color: var(--color-secondary) !important;
  width: 24px !important;
  height: 24px !important;
  background: rgba(45, 43, 46, 0.05);
  padding: 5px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}