/* Sistema de Vouchers - Ponta do Seixas */
:root {
  --ps-dark: #0b3d0b;
  --ps-green: #14532d;
  --ps-green-btn: #1e6b1e;
  --ps-blue: #1f6fb5;
  --ps-orange: #e68a00;
  --ps-gray: #f4f4f4;
}
.bg-ps-dark { background-color: var(--ps-dark) !important; }
.bg-ps-green { background-color: var(--ps-green) !important; }
.text-ps-blue { color: var(--ps-blue); }

.btn-ps {
  background-color: var(--ps-green-btn);
  color: #fff;
  border: none;
  font-weight: 600;
  letter-spacing: .03em;
}
.btn-ps:hover { background-color: #175717; color: #fff; }

.card-resumo .card { border-left: 4px solid var(--ps-green); }
.card-resumo .card.valor { border-left-color: var(--ps-orange); }
.card-resumo .card.hoje { border-left-color: var(--ps-blue); }

.form-label { font-weight: 600; margin-bottom: .25rem; color: #333; }
.form-section-title {
  font-weight: 700; color: var(--ps-green);
  border-bottom: 2px solid var(--ps-green);
  padding-bottom: .3rem; margin: 1.2rem 0 .8rem;
}
.voucher-logo { max-height: 70px; }

/* Tabela de listagem */
.table-vouchers th { background: var(--ps-gray); font-size: .85rem; }
.table-vouchers td { vertical-align: middle; font-size: .9rem; }
.badge-status-confirmado { background: #d1e7dd; color: #0a3622; }
.badge-status-rascunho { background: #fff3cd; color: #664d03; }
.badge-status-cancelado { background: #f8d7da; color: #842029; }

/* Login */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0b3d0b 0%, #1f6fb5 100%); }
.login-card { width: 100%; max-width: 420px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.3); }

/* Textarea de descricao do evento */
textarea.descricao-evento { font-family: inherit; line-height: 1.5; min-height: 220px; }

/* Passos do instalador */
.step-indicator .step { width: 36px; height: 36px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 700; background: #ddd; color: #666; }
.step-indicator .step.active { background: var(--ps-green-btn); color: #fff; }
.step-indicator .step.done { background: var(--ps-blue); color: #fff; }

.req-ok { color: #198754; } .req-fail { color: #dc3545; }

/* Editor de template */
#template_html { font-family: 'Courier New', monospace; font-size: 12px; min-height: 420px; }
.placeholder-chip { display: inline-block; background: #e7f1ff; color: #0c4a8e; border-radius: 4px;
  padding: 2px 8px; margin: 2px; font-family: monospace; font-size: 12px; cursor: pointer; }
.placeholder-chip:hover { background: #cfe2ff; }
