/**
 * Full Manager — Checkout/public tag styles.
 * Visual padrão: O Despertar da Consciência.
 */

.fm-checkout-wrap {
  max-width: 480px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.fm-checkout-form {
  background: linear-gradient(180deg, rgba(17,24,39,.94), rgba(3,7,18,.90));
  border-radius: 24px;
  padding: 28px 28px 24px;
  box-shadow: 0 28px 80px rgba(0,0,0,.38);
  border: 1px solid rgba(148,163,184,.20);
  color: #f9fafb;
}

.fm-checkout-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.fm-checkout-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
}

.fm-checkout-price {
  font-size: 22px;
  font-weight: 900;
  color: #c4b5fd;
  white-space: nowrap;
}

.fm-field {
  margin-bottom: 14px;
}

.fm-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #d1d5db;
  margin-bottom: 6px;
}

.fm-field label span[aria-hidden] {
  color: #f87171;
}

.fm-field input {
  width: 100%;
  box-sizing: border-box;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid rgba(148,163,184,.24);
  border-radius: 14px;
  font-size: 15px;
  color: #f9fafb;
  background: #030712;
  transition: border-color .15s, box-shadow .15s, background .15s;
  outline: none;
}

.fm-field input:focus {
  border-color: #818cf8;
  background: #0b1120;
  box-shadow: 0 0 0 4px rgba(79,70,229,.18);
}

.fm-checkout-error {
  background: rgba(239,68,68,.12);
  color: #fecaca;
  border: 1px solid rgba(239,68,68,.28);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 14px;
}

.fm-checkout-submit {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: filter .15s, transform .1s;
  margin-top: 8px;
  box-shadow: 0 0 30px rgba(79,70,229,.28);
}

.fm-checkout-submit:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.fm-checkout-submit:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.fm-checkout-secure {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  font-size: 12px;
  color: #9ca3af;
  margin: 12px 0 0;
}

.fm-checkout-secure svg {
  flex-shrink: 0;
}

/* Buy button */
.fm-buy-btn {
  display: inline-block;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #ffffff;
  font-weight: 900;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: filter .15s, transform .1s;
  box-shadow: 0 0 30px rgba(79,70,229,.28);
}

.fm-buy-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* Grants list ({{fm:my_grants}}) */
.fm-grants-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.fm-grant-card {
  background: linear-gradient(180deg, rgba(17,24,39,.94), rgba(3,7,18,.90));
  border: 1px solid rgba(148,163,184,.20);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  color: #f9fafb;
}

.fm-grant-title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #ffffff;
}

.fm-grant-meta {
  font-size: 12px;
  color: #9ca3af;
  margin: 0 0 14px;
}

.fm-grant-btn {
  display: inline-block;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #ffffff;
  font-weight: 900;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
}

/* Order status ({{fm:order_status}}) */
.fm-order-status {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 24px;
  color: #f9fafb;
}

.fm-order-icon {
  font-size: 52px;
  margin-bottom: 12px;
}

.fm-order-paid h2,
.fm-order-pending h2 {
  font-size: 24px;
  margin: 0 0 10px;
  color: #ffffff;
}

.fm-order-receipt {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(148,163,184,.20);
  border-radius: 999px;
  text-decoration: none;
  color: #c4b5fd;
  font-weight: 800;
  font-size: 14px;
}

/* Countdown ({{fm:countdown}}) */
.fm-countdown {
  text-align: center;
  font-family: inherit;
  color: #f9fafb;
}

.fm-countdown-label {
  font-size: 14px;
  color: #9ca3af;
  margin: 0 0 10px;
}

.fm-countdown-timer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  font-size: 14px;
}

.fm-cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fm-cd-val {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  min-width: 52px;
  text-align: center;
  color: #c4b5fd;
}

.fm-cd-sep {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 18px;
  color: #6b7280;
}

.fm-cd-block small {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 4px;
}
