/* CXI Design System */
@import url("../cxi-ui/tokens.css");
@import url("../cxi-ui/cxi-optin.css");

:root {
  --vh: 1vh;
  --bg: #0b1020;
  --fg: #0b1220;
  --fg2: #0e152a;
  --ink: #0f172a;
  --emerald: #10b981;

  /* Enhanced design tokens from cxi-web */
  --gradient-app: linear-gradient(
    165deg,
    #070a14 0%,
    #0d1428 18%,
    #101631 42%,
    #1a1339 68%,
    #0f1629 88%
  );
  --gradient-positive: linear-gradient(90deg, #10b981, #059669);
  --card-glass: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 42px rgba(12, 18, 36, 0.55);
  --text: #0f172a;
  --muted: #64748b;
  --primary: #6366f1;
  --success: #10b981;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--gradient-app);
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Inter,
    "Helvetica Neue",
    Arial;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  body {
    background: #101631;
    transition: none;
  }
}

.shell {
  min-height: calc(var(--vh) * 100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.15);
  border: 1px solid rgba(2, 6, 23, 0.06);
}

/* Metrics dashboard */
.metrics-page {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
  padding: clamp(20px, 6vw, 48px);
}

.metrics-card-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .metrics-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.metrics-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 18px 20px 22px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.metrics-card__header {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metrics-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.metrics-card__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.metrics-card__content--notes {
  gap: 10px;
}

.metrics-card__content--notes ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--ink);
}

.metrics-card__content--notes li strong {
  color: var(--primary);
}

.metrics-card__spark {
  height: 64px;
}

.metrics-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.metrics-status {
  font-weight: 600;
}

.metrics-status--healthy {
  color: var(--emerald);
}

.metrics-status--warning {
  color: #f59e0b;
}

.metrics-status--error {
  color: #ef4444;
}

/* Interview container (Zoom-style shell) */
.interview-container {
  min-height: calc(100vh - 32px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(16px, 3vw, 48px);
  background: transparent;
}

.cxi-meeting {
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  width: min(1200px, 96vw);
  height: 80vh;
  max-height: 800px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

/* Call instructions placard */
.call-instructions {
  position: absolute;
  top: 20px;
  left: 20px;
  width: min(300px, 90%);
  padding: 18px 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(145deg, rgba(14, 21, 41, 0.96), rgba(40, 30, 72, 0.88));
  color: #e6efff;
  box-shadow: 0 18px 42px rgba(12, 18, 36, 0.75);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 24;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.call-instructions[data-hidden="true"] {
  opacity: 0;
  transform: translateY(-12px) scale(0.96);
  pointer-events: none;
}

.call-instructions .eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #7dd3fc;
}

.call-instructions .eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.6));
}

.call-instructions h2 {
  font-size: 1.12rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: #f8fafc;
}

.call-instructions p {
  font-size: 0.88rem;
  line-height: 1.48;
  color: rgba(226, 232, 255, 0.92);
  margin-bottom: 0.5rem;
}

.call-instructions ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: rgba(226, 232, 255, 0.82);
  text-align: left;
}

.call-instructions li strong {
  color: #facc15;
  font-weight: 700;
}

.call-instructions footer {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.9);
}

/* Topbar */
.cxi-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: rgba(12, 17, 38, 0.88);
  color: #dbe3f8;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.cxi-topbar .left,
.cxi-topbar .right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cxi-topbar .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}

.cxi-topbar .dot.live {
  background: #f43f5e;
  box-shadow: 0 0 0 6px rgba(244, 63, 94, 0.15);
}

.cxi-topbar .chip {
  font-size: 0.78rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: #0b1329;
  border: 1px solid #243356;
  color: #aac0ee;
}

.cxi-topbar .topic {
  color: #b9c7ea;
}

.cxi-topbar .sep {
  color: #5b6c93;
}

/* Zoom controls at BOTTOM - exactly like real Zoom */
.zoom-controls-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: #1c1c1e;
  border-top: 1px solid #2c2c2e;
}

.zoom-ctrl {
  background: #2c2c2e;
  border: 1px solid #3a3a3c;
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 70px;
}

.zoom-ctrl:hover {
  background: #3a3a3c;
  border-color: #4a4a4c;
}

.zoom-ctrl:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.zoom-ctrl:disabled:hover {
  background: #2c2c2e;
  border-color: #3a3a3c;
}

/* Leave button - bright red like real Zoom */
.zoom-ctrl-leave {
  background: #eb5757;
  border: 1px solid #e03e3e;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(235, 87, 87, 0.4);
}

.zoom-ctrl-leave:hover {
  background: #f66;
  box-shadow: 0 4px 10px rgba(235, 87, 87, 0.6);
}

/* Gallery (video tiles) - fills space between topbar and controls */
.cxi-gallery {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 12px;
  background: #1c1c1e;
  overflow: hidden;
}

.cxi-gallery .tile {
  background: radial-gradient(circle at center, #3a3a3c, #2c2c2e);
  border: 1px solid #3a3a3c;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Simple avatar icon for tiles */
.cxi-gallery .tile::before {
  content: "👤";
  font-size: 80px;
  opacity: 0.3;
}

.cxi-gallery .badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
}

.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.token {
  border-radius: 6px;
  padding: 2px 6px;
  margin: 0 3px;
  display: inline-block;
}

.text-green {
  color: #15803d;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
}

.text-red {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.text-amber {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid rgba(2, 6, 23, 0.06);
  padding: 8px 12px;
  border-radius: 999px;
}

.bar {
  height: 8px;
  background: #eef2ff;
  border-radius: 999px;
  overflow: hidden;
}

.bar > i {
  display: block;
  height: 100%;
  background: #10b981;
}

.header h1 {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 6px;
}

.header p {
  margin: 0;
  color: #475569;
}

.matrix {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
}

button {
  cursor: pointer;
}

.btn {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #0f172a;
  color: white;
  font-weight: 600;
}

.btn.ghost {
  background: white;
  color: #0f172a;
}

/* Zoom-like kickoff and survey modal */
.zoom-kickoff {
  background: transparent;
  border: none;
  border-radius: 0;
  color: #e6ebf2;
  box-shadow: none;
}

.zoom-kickoff__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: transparent;
  border: none;
}

.zoom-kickoff__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 10px #2dd4bf;
}

.zoom-kickoff__title {
  font-weight: 600;
  opacity: 0.9;
}

.zoom-kickoff__spacer {
  flex: 1;
}

.zoom-kickoff__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 24px 20px;
  background: linear-gradient(145deg, rgba(14, 21, 41, 0.96), rgba(40, 30, 72, 0.88));
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 42px rgba(12, 18, 36, 0.75);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.zoom-kickoff__h {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #f8fafc;
}

.zoom-kickoff__s {
  opacity: 0.85;
  margin-top: 4px;
  color: rgba(226, 232, 255, 0.92);
}

.zoom-kickoff__reassure {
  opacity: 0.7;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(148, 163, 184, 0.9);
}

.zoom-kickoff__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zoom-kickoff__btn {
  background: #2dd4bf;
  color: #0b1220;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(45, 212, 191, 0.35);
  transition: all 0.2s ease;
}

.zoom-kickoff__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(45, 212, 191, 0.45);
}

.zoom-kickoff__link {
  background: transparent;
  color: #a9b6c6;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.zoom-kickoff__link:hover {
  color: #dbe3f8;
}

.zoom-kickoff__muted {
  opacity: 0.75;
  font-size: 13px;
  align-self: center;
}

.zoom-kickoff__leave {
  background: #ef4444;
  border: 0;
  color: white;
  font-weight: 700;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.zoom-kickoff__leave:hover {
  background: #dc2626;
}

@media (max-width: 720px) {
  .zoom-kickoff__body {
    grid-template-columns: 1fr;
  }

  .zoom-kickoff__cta {
    justify-content: flex-start;
  }
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal__card {
  background: white;
  color: var(--text);
  border-radius: 16px;
  border: 1px solid rgba(2, 6, 23, 0.08);
  width: min(92vw, 720px);
  max-height: 85vh;
  overflow: auto;
  box-shadow: 0 24px 48px rgba(12, 18, 36, 0.55);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(2, 6, 23, 0.08);
}

.modal__hd h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.modal__bd {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.modal__ft {
  padding: 16px 20px;
  border-top: 1px solid rgba(2, 6, 23, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: rgba(248, 250, 252, 0.5);
}

.modal__x {
  background: transparent;
  border: 0;
  color: #64748b;
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.modal__x:hover {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text);
}

/* Modal email input styling */
.modal input[type="email"],
.modal input[type="text"],
.modal textarea,
.modal select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.modal input:focus,
.modal textarea:focus,
.modal select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: transparent;
  color: #0f172a;
}

.chip.is-on {
  background: #ecfeff;
  border-color: #2dd4bf;
}

.errors {
  color: #b91c1c;
}

.out {
  background: #f8fafc;
  border: 1px solid rgba(2, 6, 23, 0.08);
  border-radius: 8px;
  padding: 8px;
  max-height: 40vh;
  overflow: auto;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.2);
  color: var(--text);
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.3);
}

/* Utility classes */
.hidden {
  display: none !important;
}

.muted {
  color: var(--muted);
}

.ml-1 {
  margin-left: 1rem;
}

.mt-1 {
  margin-top: 1rem;
}

.small {
  font-size: 0.875rem;
}

.success {
  color: var(--success);
}

.cxi-btn-sample {
  margin-top: 8px;
  font-size: 0.85rem;
}

.cxi-alert-inline {
  margin-top: 12px;
  font-size: 0.9rem;
}

.cxi-alert-error {
  color: #b91c1c;
}

.cxi-alert-warning {
  color: #a16207;
}

.cxi-label-spaced {
  margin-top: 8px;
}

.cxi-btn-row {
  display: flex;
  gap: 10px;
}

/* Tab navigation */
.nav-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-tab:hover {
  color: var(--text);
}

.nav-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Title styling */
.title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* Inline sentiment highlights used in SurveyModal scoring - MAGICAL ✨ */
.hl {
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.hl.pos {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  box-shadow:
    0 2px 8px rgba(16, 185, 129, 0.3),
    inset 0 0 0 2px rgba(16, 185, 129, 0.5);
  animation: pulse-green 2s ease-in-out infinite;
}

.hl.neg {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
  box-shadow:
    0 2px 8px rgba(239, 68, 68, 0.3),
    inset 0 0 0 2px rgba(239, 68, 68, 0.5);
  animation: pulse-red 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 2px 8px rgba(16, 185, 129, 0.3),
      inset 0 0 0 2px rgba(16, 185, 129, 0.5);
  }

  50% {
    transform: scale(1.05);
    box-shadow:
      0 4px 12px rgba(16, 185, 129, 0.5),
      inset 0 0 0 2px rgba(16, 185, 129, 0.7);
  }
}

@keyframes pulse-red {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 2px 8px rgba(239, 68, 68, 0.3),
      inset 0 0 0 2px rgba(239, 68, 68, 0.5);
  }

  50% {
    transform: scale(1.05);
    box-shadow:
      0 4px 12px rgba(239, 68, 68, 0.5),
      inset 0 0 0 2px rgba(239, 68, 68, 0.7);
  }
}

/* Simple pill */
.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  font-size: 12px;
}

/* Heatmap styles (demo) */
.heat {
  display: grid;
  grid-template-columns: 170px repeat(5, 1fr);
  border: 1px solid #263247;
  border-radius: 12px;
  overflow: hidden;
  min-width: 620px;
  background: #0b2542;
  color: #e6edf3;
}

.hcell {
  padding: 10px;
  border-bottom: 1px solid #263247;
  border-right: 1px solid #263247;
  font-size: 14px;
}

.hcell.head {
  background: #0b2542;
  font-weight: 700;
}

.hcell.clickable {
  cursor: pointer;
}

.heatbar {
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(90deg, #ffe6b3, #f59e0b);
  position: relative;
}

.heatbar .v {
  position: absolute;
  right: 6px;
  top: 1px;
  font-size: 12px;
  color: #111827;
  font-weight: 700;
}

.note {
  font-size: 12px;
  color: #9aa4b2;
}

.coach {
  background: #0b2542;
  border: 1px solid #3a5c92;
  border-radius: 12px;
  padding: 10px;
  color: #e6edf3;
}

.small {
  font-size: 12px;
}

/* Tabs container */
.tabs-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid rgba(15, 23, 42, 0.1);
  overflow-x: auto;
}

.tabs-panel {
  padding: 20px 0;
  animation: fadeIn 0.2s ease;
}

/* Task list styles */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.task-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #64748b;
  border-radius: 8px;
  padding: 14px 16px;
  transition: all 0.2s ease;
}

.task-item:hover {
  border-left-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.task-item.priority-high {
  border-left-color: #ef4444;
}

.task-item.priority-medium {
  border-left-color: #f59e0b;
}

.task-item.priority-low {
  border-left-color: #10b981;
}

.task-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.task-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.task-meta {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  align-items: center;
}

.task-body {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 8px;
}

.task-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.task-tag {
  background: #e0e7ff;
  border: 1px solid #c7d2fe;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 0.75rem;
  color: #4338ca;
}

/* Export section styles */
.export-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.export-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.export-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.export-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.export-option:hover {
  background: #f1f5f9;
  border-color: var(--primary);
}

.export-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
}

.export-option label {
  flex: 1;
  cursor: pointer;
  font-size: 0.875rem;
  color: #475569;
}

.export-actions {
  display: flex;
  gap: 10px;
  padding-top: 10px;
}

.export-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.export-btn-primary {
  background: var(--primary);
  color: white;
  border: none;
}

.export-btn-primary:hover {
  background: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.export-btn-secondary {
  background: transparent;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.export-btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.styled-survey {
  background: #ffffff;
  border-radius: 20px;
  padding: 48px;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.styled-survey__gratitude {
  margin-bottom: 32px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.04));
  border-radius: 12px;
  border: 2px solid rgba(34, 197, 94, 0.2);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.08);
}

.styled-survey__gratitude-head {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.styled-survey__gratitude-icon {
  font-size: 1.75rem;
  margin-right: 12px;
}

.styled-survey__gratitude-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #059669;
}

.styled-survey__gratitude-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #0f172a;
}

.styled-survey__intro {
  margin-bottom: 32px;
}

.styled-survey__intro-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 16px;
}

.styled-survey__intro-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.styled-survey__autofill {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6366f1;
  background: #f5f8ff;
  border: 2px solid #e0e7ff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.styled-survey__autofill:hover {
  background: #e0e7ff;
  border-color: #c7d2fe;
}

.styled-survey__intro-sub {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
}

.styled-survey__section {
  margin-bottom: 24px;
}

.styled-survey__section--lg {
  margin-bottom: 32px;
}

.styled-survey__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.styled-survey__label--lg {
  margin-bottom: 12px;
}

.styled-survey__field,
.styled-survey__textarea,
.styled-survey__select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.styled-survey__textarea {
  resize: vertical;
  font-family: inherit;
}

.styled-survey__textarea--highlight {
  border: 2px solid #e0e7ff;
  background: #f5f8ff;
}

.styled-survey__count {
  text-align: right;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 4px;
}

.styled-survey__count--accent {
  color: #6366f1;
}

.styled-survey__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.styled-survey__chip {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.styled-survey__chip--positive {
  border: 2px solid #22c55e;
  background: #f0fdf4;
  color: #16a34a;
}

.styled-survey__chip--negative {
  border: 2px solid #ef4444;
  background: #fef2f2;
  color: #dc2626;
}

.styled-survey__inline-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.styled-survey__inline-icon {
  font-size: 1.2rem;
}

.styled-survey__inline-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6366f1;
}

.styled-survey__quote {
  margin-bottom: 12px;
  padding: 16px;
  background: #f8fafc;
  border-left: 4px solid #6366f1;
  border-radius: 6px;
}

.styled-survey__quote-text {
  margin: 0;
  font-size: 0.9rem;
  font-style: italic;
  color: #475569;
}

.styled-survey__submit {
  width: 100%;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #2de37c 0%, #24b763 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(45, 227, 124, 0.3);
  transition: all 0.2s;
}

.styled-survey__submit:disabled {
  background: #e2e8f0;
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
}
