/* Shared form/vote styles (extends public.css) */

.outer {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 53px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 32px);
}

.card {
  background: linear-gradient(180deg, rgba(16, 36, 58, 0.95), rgba(7, 20, 33, 0.98));
  border: 1px solid var(--wwm-border);
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 48px);
  width: 100%;
  max-width: 700px;
  box-shadow: var(--shadow-acc);
}

.card-header { margin-bottom: 28px; }
.card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--wwm-gold-dim);
  border: 1px solid rgba(246, 211, 101, 0.28);
  color: var(--wwm-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.card-title { font-size: clamp(22px, 4vw, 30px); font-weight: 900; letter-spacing: -.02em; }
.card-lead  { color: var(--muted); font-size: 14px; margin-top: 6px; }

.status-box {
  text-align: center;
  padding: 32px 16px;
}
.status-icon {
  font-size: 52px;
  margin-bottom: 16px;
  line-height: 1;
}
.status-box h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}
.status-box p { color: var(--muted); }

.question-text {
  font-size: clamp(18px, 3.5vw, 22px);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.4;
}

.vote-buttons { display: grid; gap: 12px; }
.vote-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--wwm-border);
  background: rgba(7, 20, 33, 0.5);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}
.vote-btn:hover:not(:disabled) {
  border-color: var(--border-acc);
  background: var(--wwm-accent-dim);
  transform: translateY(-1px);
}
.vote-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.vote-letter {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--wwm-navy-deep), var(--wwm-accent));
  color: var(--wwm-text);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vote-label { flex: 1; }

.vote-now-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #a7f3c7;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.15);
}
.vote-now-banner .pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--wwm-ok);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
  animation: vote-pulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes vote-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: .85; }
}

.phase-hint {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 16px;
}

.flash {
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
}
.flash.err {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.28);
  color: #fca5a5;
}

.landing-form { margin-top: 8px; }
label {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--muted);
}
input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--wwm-border);
  background: rgba(7, 20, 33, 0.6);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s, background .2s;
  text-transform: uppercase;
  letter-spacing: .08em;
}
input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--wwm-accent-dim);
}
.fg { margin-bottom: 16px; }

.btn-submit {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--wwm-navy-deep), var(--wwm-accent));
  color: var(--wwm-text);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 20px rgba(47, 156, 255, 0.28);
  transition: transform .2s, box-shadow .2s;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(47, 156, 255, 0.4);
}

.hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
