/* Página inicial: escolher assembleia do dia */
.pick-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 120% 80% at 20% 20%, rgba(124, 255, 0, 0.08), transparent 50%),
    radial-gradient(ellipse 100% 60% at 80% 60%, rgba(59, 130, 246, 0.12), transparent 45%),
    var(--bg);
}

.pick-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.pick-hero {
  text-align: center;
  margin-bottom: 1.75rem;
}

.pick-hero .logo {
  height: 40px;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 20px rgba(124, 255, 0, 0.25));
}

.pick-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.pick-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pick-official-cta {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.5;
}

.pick-official-cta-link {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 255, 0, 0.25);
  padding-bottom: 0.1rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pick-official-cta-link:hover {
  color: var(--accent);
  border-bottom-color: rgba(124, 255, 0, 0.55);
}

.pick-official-cta-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.pick-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(124, 255, 0, 0.14);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pick-step {
  margin-bottom: 1.5rem;
}

.pick-step:last-child {
  margin-bottom: 0;
}

.pick-step-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.65rem;
  font-weight: 600;
}

.recaptcha-wrap {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
  min-height: 78px;
}

.recaptcha-wrap .g-recaptcha > div {
  margin: 0 auto;
}

.btn-pick-primary {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #6ae000 0%, var(--accent) 100%);
  color: #0a1628;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 20px rgba(124, 255, 0, 0.35);
}

.btn-pick-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(124, 255, 0, 0.45);
}

.btn-pick-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-pick-secondary {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(124, 255, 0, 0.35);
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

.btn-pick-secondary:hover {
  background: rgba(124, 255, 0, 0.08);
}

.pick-msg {
  padding: 1rem 1.15rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.pick-msg.info {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #bfdbfe;
}

.pick-msg.warn {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
}

.pick-msg.err {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fecaca;
}

.search-shell {
  position: relative;
  margin-bottom: 0.85rem;
}

.search-shell i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.search-shell input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  font-size: 1rem;
}

.search-shell input::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.search-shell input:focus {
  outline: none;
  border-color: rgba(124, 255, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(124, 255, 0, 0.12);
}

.pick-list-wrap {
  max-height: min(360px, 50vh);
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
}

.pick-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
}

.pick-item {
  margin: 0;
  padding: 0;
}

.pick-item-btn {
  width: 100%;
  text-align: left;
  padding: 1rem 1.1rem;
  margin-bottom: 0.35rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.pick-item-btn:last-child {
  margin-bottom: 0;
}

.pick-item-btn:hover {
  background: rgba(124, 255, 0, 0.08);
  border-color: rgba(124, 255, 0, 0.2);
}

.pick-item-btn[aria-selected="true"] {
  background: rgba(124, 255, 0, 0.14);
  border-color: rgba(124, 255, 0, 0.45);
  box-shadow: 0 0 0 1px rgba(124, 255, 0, 0.25);
}

.pick-item-title {
  font-weight: 600;
  font-size: 1.02rem;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.pick-item-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 0.25rem;
  line-height: 1.35;
}

.pick-item-meta {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.85);
  margin: 0;
}

.btn-continue {
  width: 100%;
  padding: 0.95rem;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
  color: #0f172a;
  transition: opacity 0.15s, transform 0.15s;
}

.btn-continue:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-continue:not(:disabled):hover {
  transform: translateY(-1px);
}

.pick-hidden {
  display: none !important;
}

.pick-loading {
  text-align: center;
  color: var(--muted);
  padding: 1.5rem;
  font-size: 0.95rem;
}

.pick-loading i {
  margin-right: 0.5rem;
  color: var(--accent);
}
