/* ── Rate Card ─────────────────────────────────────────────────────────────── */

.rate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  margin: 1rem;
}

.rate-card h1 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.rate-card .subtitle {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 2rem;
}

/* ── Form Fields ──────────────────────────────────────────────────────────── */

.field {
  margin-bottom: 1.5rem;
}

.field label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

/* ── Rating Buttons ───────────────────────────────────────────────────────── */

.rating-buttons {
  display: flex;
  gap: 0.5rem;
}

.rating-btn {
  flex: 1;
  padding: 0.85rem 0;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.rating-btn:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.rating-btn.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.rating-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ── Form Controls ────────────────────────────────────────────────────────── */

select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  appearance: none;
  cursor: pointer;
}

select:focus {
  outline: none;
  border-color: var(--accent);
}

textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  resize: vertical;
  min-height: 60px;
}

textarea:focus {
  outline: none;
  border-color: var(--accent);
}

textarea::placeholder {
  color: var(--text-muted);
}

/* ── Submit Button ────────────────────────────────────────────────────────── */

.submit-btn {
  width: 100%;
  padding: 0.85rem;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.submit-btn:hover {
  background: var(--accent-hover);
}

.submit-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── Session Metadata ─────────────────────────────────────────────────────── */

.session-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.session-meta span {
  color: var(--accent);
}

.not-found {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
}

.not-found h2 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
  .rate-card { padding: 1.5rem; }
  .rating-btn { padding: 0.65rem 0; font-size: 1rem; }
}
