/* ============================================================================
   BUTTONS.CSS - Estilo Voa+ / flytap: pill 48px, verde com texto escuro.
   ============================================================================ */

/* --- Primário (CTA verde Voa+) --- */
button.primary {
  width: 100%;
  height: 48px;
  padding: 0 32px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--title, #0e0d10);
  background: var(--secondary, #65c922);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

button.primary:hover:not(:disabled) { background: var(--primary-hover, #7cde3a); }
button.primary:active:not(:disabled) { background: var(--terciary, #397213); color: #fff; }
button.primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--title, #0e0d10);
}

button.primary:disabled {
  color: #a4a6a8;
  background: var(--surface-bold, #e0dfe2);
  cursor: not-allowed;
}

/* --- Secundário (outline verde) --- */
button.secondary {
  width: 100%;
  height: 48px;
  padding: 0 32px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.1;
  background: transparent;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--title, #0e0d10);
  border: 1px solid var(--secondary, #65c922);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease;
}

button.secondary:hover:not(:disabled) { background: var(--primary-hover, #7cde3a); }

/* --- Spinner --- */
.btn-spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(14,13,16,0.2);
  border-top-color: var(--title, #0e0d10);
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* --- Botão full screen (CPF/Pontos) --- */
button.primary--cpf {
  align-self: flex-end;
  margin-bottom: 20px;
}
