/* css/elegir-header.css - header padrão do Elegir (Spec D). Mobile-first (D12). */
.elegir-header {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; min-height: 52px;
  background: linear-gradient(135deg, var(--bg, #ffffff) 0%, rgba(37, 99, 235, .10) 60%, rgba(37, 99, 235, .20) 100%);
  background-color: var(--bg, #ffffff);
  border-bottom: 1px solid var(--border, rgba(15, 23, 42, .10));
  position: sticky; top: 0; z-index: 60;
}
[data-theme="dark"] .elegir-header {
  background: linear-gradient(135deg, var(--bg, #0f172a) 0%, rgba(96, 165, 250, .14) 60%, rgba(96, 165, 250, .24) 100%);
  background-color: var(--bg, #0f172a);
  border-bottom-color: var(--border, rgba(148, 163, 184, .22));
}
.elegir-header-brand {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: 'Manrope', system-ui, sans-serif; font-weight: 700; font-size: 1.05rem;
  color: var(--text-primary, #0f172a); min-height: 44px;
}
[data-theme="dark"] .elegir-header-brand { color: var(--text-primary, #f1f5f9); }
.elegir-header-brand img { display: block; }
.elegir-header-actions { display: inline-flex; align-items: center; gap: 8px; }
.elegir-voltar {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  border: 1px solid rgba(37, 99, 235, .45); border-radius: 8px; text-decoration: none;
  font-weight: 600; font-size: .9rem; color: #1d4ed8; background: rgba(37, 99, 235, .08);
  white-space: nowrap;
}
[data-theme="dark"] .elegir-voltar { color: #93c5fd; border-color: rgba(147, 197, 253, .5); background: rgba(96, 165, 250, .12); }
.elegir-voltar .ev-curto { display: inline; }
.elegir-voltar .ev-longo { display: none; }
.elegir-theme-toggle {
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; border: 1px solid var(--border, rgba(15, 23, 42, .12));
  border-radius: 50%; background: transparent; cursor: pointer; font-size: 1.05rem; line-height: 1;
}
[data-theme="dark"] .elegir-theme-toggle { border-color: var(--border, rgba(148, 163, 184, .3)); }
@media (min-width: 480px) {
  .elegir-header { padding: 12px 20px; }
  .elegir-voltar .ev-curto { display: none; }
  .elegir-voltar .ev-longo { display: inline; }
}
