/* ================================================================
   checkout.css — NuestroSí Checkout page styles
   ================================================================ */

body {
  font-family: 'Manrope', sans-serif;
  background: #fef8f5;
  color: #1d1b1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1, h2, h3, h4 { font-family: 'Noto Serif', serif; }

/* ── Input ── */
.ns-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cec5ba;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Manrope', sans-serif;
  background: #fff;
  color: #1d1b1a;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.ns-input:focus { border-color: #685d4a; box-shadow: 0 0 0 3px rgba(104,93,74,.1); }

/* ── Buttons ── */
.ns-btn-primary {
  width: 100%;
  padding: 0.85rem;
  background: #1d1b1a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.ns-btn-primary:hover    { background: #685d4a; }
.ns-btn-primary:active   { transform: scale(0.98); }
.ns-btn-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.ns-btn-google {
  width: 100%;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #cec5ba;
  border-radius: 6px;
  background: #fff;
  color: #1d1b1a;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .1s;
}
.ns-btn-google:hover  { background: #f9f5f2; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.ns-btn-google:active { transform: scale(0.98); }

/* ── Divider ── */
.ns-divider { display: flex; align-items: center; gap: 12px; color: #9b9089; font-size: 12px; }
.ns-divider::before,
.ns-divider::after { content: ''; flex: 1; height: 1px; background: #cec5ba; }

/* ── Feedback ── */
.ns-error   { font-size: 12px; color: #c0392b; margin-top: 6px; display: none; }
.ns-success {
  font-size: 13px;
  color: #27704a;
  background: #edfaf2;
  border: 1px solid #b2dfcc;
  border-radius: 6px;
  padding: 10px 14px;
  display: none;
}
.ns-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: co-spin .6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes co-spin { to { transform: rotate(360deg); } }

/* ── Plan badge ── */
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 999px;
}
.plan-lite { background: #f0ebe6; color: #7a6a5d; }
.plan-plus { background: #fff3e0; color: #8a6410; }
.plan-pro  { background: #f3eafb; color: #6b2a9e; }

/* ── Feature list ── */
.feature-item  { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #4b463d; line-height: 1.5; }
.feature-check { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; color: #27704a; }

/* ── JS-toggled panels (initial state) ── */
#panel-verify { display: none; }
#err-verify   { justify-content: center; }
