/* tellme.dog — Warm Web design language
   Wii Everybody Votes structure + selective old-web quirks */

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

:root {
  /* Pastel palette */
  --cream: #fef9f4;
  --cream-dark: #f5f0e8;
  --sky: #7dc4f0;
  --mint: #8eddb4;
  --coral: #f4a09c;
  --lemon: #fce39a;
  --lavender: #c9b6e4;
  --peach: #f5c9a0;
  --ink: #2d2d3a;
  --ink-soft: #5a5a6a;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(45, 45, 58, 0.08);
  --shadow-lg: 0 8px 24px rgba(45, 45, 58, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* === Film Grain Overlay === */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' /%3E%3C/svg%3E");
}

/* === Floating Paws === */
.floating-paws {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.float-paw {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.06;
  animation: float-paw 20s ease-in-out infinite;
}
.float-paw.p1 {
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}
.float-paw.p2 {
  top: 60%;
  left: 8%;
  animation-delay: 4s;
  font-size: 1.2rem;
}
.float-paw.p3 {
  top: 30%;
  right: 5%;
  animation-delay: 2s;
  font-size: 1.8rem;
}
.float-paw.p4 {
  top: 75%;
  right: 10%;
  animation-delay: 6s;
}
.float-paw.p5 {
  top: 45%;
  left: 50%;
  animation-delay: 8s;
  font-size: 1.3rem;
}

@keyframes float-paw {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* === Header === */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--ink);
}

/* Paw icon base — must precede .brand .paw-icon for correct specificity */
.paw-icon {
  display: inline-flex;
  vertical-align: middle;
  width: 24px;
  height: 24px;
}
.paw-icon.small {
  width: 18px;
  height: 18px;
}
.paw-icon.big {
  width: 48px;
  height: 48px;
}

.brand .paw-icon {
  color: var(--coral);
}
.brand-name {
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--coral);
}

.sign-in-btn {
  background: var(--coral);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.sign-in-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* Signed-in header — shows DID + sign-out button */
.sign-in-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.user-handle {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--ink-soft);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sign-out-btn {
  background: var(--cream-dark);
  color: var(--ink);
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s;
}
.sign-out-btn:hover {
  background: var(--cream);
}

/* === Main === */
.site-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}

/* === Poll Card (List) === */
.page-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.poll-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.poll-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border: 2px solid transparent;
}
.poll-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--coral);
}

.poll-card-header,
.poll-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

/* === Live Badge (marquee-style twist) === */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--coral);
  color: var(--white);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.live-badge.closed {
  background: var(--ink-soft);
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.live-text {
  animation: marquee-scroll 4s linear infinite;
  display: inline-block;
}
@keyframes marquee-scroll {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(2px);
  }
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.time-remaining {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.poll-question {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.poll-card-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.poll-card-footer .paw-icon {
  color: var(--mint);
  width: 16px;
}

/* === Vote Buttons === */
.vote-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vote-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  box-shadow:
    var(--shadow),
    inset 0 -3px 0 rgba(0, 0, 0, 0.06);
  color: var(--ink);
}
.vote-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    var(--shadow-lg),
    inset 0 -3px 0 rgba(0, 0, 0, 0.06);
}
.vote-btn:active {
  transform: scale(0.98);
}

.vote-sky {
  background: var(--sky);
}
.vote-mint {
  background: var(--mint);
}
.vote-coral {
  background: var(--coral);
  color: var(--white);
}
.vote-lemon {
  background: var(--lemon);
}
.vote-lavender {
  background: var(--lavender);
}
.vote-peach {
  background: var(--peach);
}

.vote-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.vote-coral .vote-letter {
  background: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.vote-label {
  flex: 1;
}

.vote-hint {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
}

/* Error banner shown inside vote options — preserves the voting UI */
.vote-error-banner {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: rgba(232, 67, 67, 0.1);
  border: 2px solid rgba(232, 67, 67, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: #c0392b;
  text-align: center;
}
.vote-error-banner a {
  font-weight: 700;
  color: #c0392b;
  text-decoration: underline;
}

/* Standalone error (poll not found — no options to show) */
.vote-error {
  padding: 2rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* === Results === */
.poll-results-view,
.poll-vote-view {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.results-total {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.results-total .paw-icon {
  color: var(--coral);
  width: 18px;
}

.results-bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.result-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
}
.result-row.winner {
  font-weight: 800;
}

.result-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.result-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  color: var(--ink);
}

.winner-badge {
  font-size: 0.7rem;
  background: var(--lemon);
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-weight: 800;
}

.result-bar-track {
  grid-column: 1 / -1;
  height: 24px;
  background: var(--cream-dark);
  border-radius: 999px;
  overflow: hidden;
}
.result-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.result-bar-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s ease-in-out infinite;
}
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.result-percentage {
  font-weight: 800;
  font-size: 1.1rem;
  min-width: 3rem;
  text-align: right;
}
.result-count {
  font-size: 0.85rem;
  color: var(--ink-soft);
  min-width: 4rem;
  text-align: right;
}

.cluster-teaser {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--cream-dark);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 1rem;
}
.cluster-teaser .paw-icon {
  color: var(--lavender);
  width: 18px;
}

.back-link {
  display: inline-block;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
}
.back-link:hover {
  color: var(--coral);
}

/* === Submit Form === */
.submit-view {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.submit-intro {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.submit-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.submit-form label {
  font-weight: 700;
  font-size: 0.9rem;
}

.submit-form input,
.submit-form textarea {
  padding: 0.75rem;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.submit-form input:focus,
.submit-form textarea:focus {
  outline: none;
  border-color: var(--coral);
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--coral);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow:
    var(--shadow),
    inset 0 -3px 0 rgba(0, 0, 0, 0.06);
  transition: transform 0.15s;
}
.submit-btn:hover {
  transform: translateY(-2px);
}
.submit-btn .paw-icon {
  color: var(--white);
  width: 18px;
}

/* Inline error banner within the submission form — preserves user input */
.submit-error-banner {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: rgba(232, 67, 67, 0.1);
  border: 2px solid rgba(232, 67, 67, 0.3);
  border-radius: var(--radius-sm);
  color: #c0392b;
  font-weight: 600;
  font-size: 0.9rem;
}
.submit-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.submit-success h2 {
  margin: 0;
  font-size: 1.3rem;
}
.submit-success p {
  margin: 0;
  color: var(--ink-soft);
}

/* === Login === */
.login-view {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 480px;
  margin: 0 auto;
}
.login-view .page-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.login-intro {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.login-form label {
  font-weight: 700;
  font-size: 0.9rem;
}
.login-form input {
  padding: 0.75rem;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.login-form input:focus {
  outline: none;
  border-color: var(--coral);
}
.login-error {
  padding: 1rem;
  background: rgba(232, 67, 67, 0.1);
  border: 2px solid rgba(232, 67, 67, 0.3);
  border-radius: var(--radius-sm);
  color: #c0392b;
  font-weight: 600;
}
.login-signed-in {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.user-did {
  font-family: monospace;
  font-size: 0.85rem;
  background: var(--cream);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  word-break: break-all;
}

/* === Home === */
.home-view {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.home-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.secondary-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.secondary-card:hover {
  transform: translateY(-2px);
}
.secondary-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.secondary-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.guestbook-card {
  border-left: 4px solid var(--lavender);
}
.archive-card {
  border-left: 4px solid var(--mint);
}

.home-visitor-count {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.home-visitor-count .paw-icon {
  color: var(--coral);
  width: 18px;
}

.no-active-poll {
  text-align: center;
  padding: 3rem 1rem;
}
.no-active-poll .paw-icon {
  color: var(--coral);
  width: 48px;
  height: 48px;
}
.no-active-poll .big {
  font-size: 3rem;
}
.tagline {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0.5rem 0 0.25rem;
}
.sub-tagline {
  color: var(--ink-soft);
}

/* === Footer === */
.site-footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--cream-dark);
  margin-top: 2rem;
}

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* 88x31 pixel-beveled badges — old-web twist, but pastel */
.badge8831 {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--cream-dark);
  border: 1px solid var(--ink-soft);
  border-radius: 3px;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.5),
    inset -1px -1px 0 rgba(0, 0, 0, 0.06);
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.visitor-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.visitor-counter .paw-icon {
  color: var(--coral);
  width: 16px;
}
.counter-num {
  font-family: "Courier New", monospace;
  font-weight: 700;
  background: var(--ink);
  color: var(--mint);
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
}

.footer-links {
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.footer-links a {
  color: var(--coral);
}

/* === Responsive === */
@media (max-width: 620px) {
  .site-header {
    padding: 0.75rem 1rem;
  }
  .nav-links {
    display: none;
  }
  .site-main {
    padding: 1rem;
  }
  .home-secondary {
    grid-template-columns: 1fr;
  }
  .poll-question {
    font-size: 1.2rem;
  }
  .result-row {
    grid-template-columns: 1fr auto;
  }
  .result-count {
    display: none;
  }
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    /* biome-ignore lint/complexity/noImportantStyles: reduced-motion accessibility override */
    animation-duration: 0.01ms !important;
    /* biome-ignore lint/complexity/noImportantStyles: reduced-motion accessibility override */
    animation-iteration-count: 1 !important;
    /* biome-ignore lint/complexity/noImportantStyles: reduced-motion accessibility override */
    transition-duration: 0.01ms !important;
  }
  .float-paw {
    display: none;
  }
  .grain-overlay {
    display: none;
  }
}

/* === Admin Dashboard === */
.admin-dashboard {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.admin-summary-cards {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.admin-summary-card {
  flex: 1;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.admin-summary-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.summary-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--sky);
}

.summary-label {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-top: 0.25rem;
}

.admin-polls-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.admin-polls-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.admin-poll-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-poll-table th {
  text-align: left;
  padding: 0.6rem 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-bottom: 2px solid var(--cream-dark);
}

.admin-poll-table td {
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid var(--cream-dark);
}

.admin-poll-table a {
  font-weight: 600;
}

.status-badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-mint {
  background: var(--mint);
  color: var(--ink);
}

.status-lemon {
  background: var(--lemon);
  color: var(--ink);
}

.status-coral {
  background: var(--coral);
  color: var(--ink);
}

.status-lavender {
  background: var(--lavender);
  color: var(--ink);
}

.status-sky {
  background: var(--sky);
  color: var(--ink);
}

.status-form {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.status-form select {
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--cream-dark);
  font-family: var(--font);
  font-size: 0.85rem;
  background: var(--cream);
  color: var(--ink);
}

.status-submit-btn {
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

.status-submit-btn:hover {
  background: var(--ink-soft);
}

/* === Admin Poll Form === */
.admin-poll-form-view {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.admin-poll-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.admin-poll-form label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

.admin-poll-form input,
.admin-poll-form textarea {
  padding: 0.7rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--cream-dark);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
}

.admin-poll-form input:focus,
.admin-poll-form textarea:focus {
  outline: none;
  border-color: var(--sky);
}

/* === Admin Submissions === */
.admin-submissions-view {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.submission-queue {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.submission-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.submission-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.submission-header h3 {
  font-size: 1.15rem;
}

.submission-date {
  font-size: 0.85rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.submission-options {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.submission-options li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.opt-letter {
  font-weight: 800;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.submission-proposer {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.submission-actions {
  display: flex;
  gap: 1rem;
}

.approve-btn,
.reject-btn {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-sm);
  border: none;
  font-family: var(--font);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.approve-btn {
  background: var(--mint);
  color: var(--ink);
}

.reject-btn {
  background: var(--coral);
  color: var(--ink);
}

.approve-btn:hover,
.reject-btn:hover {
  transform: scale(1.03);
}
