* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', sans-serif; background: #eef2ef; }
.font-bebas { font-family: 'Bebas Neue', sans-serif; }

/* Animações */
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-green { 0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); } 50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); } }
.animate-fadeIn { animation: fadeIn 0.25s ease; }
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(0,0,0,0.1); border-radius: 50%; border-top-color: #2e7d32; animation: spin 0.6s linear infinite; margin-right: 6px; vertical-align: middle; }
.toast-custom { position: fixed; bottom: 20px; right: 20px; z-index: 9999; background: #1e4a2f; color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .875rem; box-shadow: 0 4px 20px rgba(0,0,0,.25); animation: slideUp 0.25s ease; }
.panel { display: none; }
.panel.ativo { display: block; }
.eco-header { background: #1e4a2f; color: #fff; padding: 12px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.3); }
.eco-logo { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.eco-logo-icon { background: #e67e22; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.eco-logo h1 { font-family: 'Bebas Neue', sans-serif; font-size: 1.875rem; letter-spacing: .05em; }
.eco-badge { background: #e67e22; border-radius: 999px; padding: 6px 16px; font-size: .875rem; font-weight: 700; }
.tab-nav { max-width: 72rem; margin: 24px auto 0; padding: 0 16px; }
.tab-nav-inner { background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.1); display: flex; flex-wrap: wrap; gap: 4px; }
.tab-btn { flex: 1; padding: 10px 8px; border-radius: 999px; font-weight: 700; color: #6b7280; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .9rem; font-family: 'DM Sans', sans-serif; transition: background .2s, color .2s; }
.tab-btn:hover { background: #f3f4f6; }
.tab-btn.active-inscricao { background: #1e4a2f; color: #fff; }
.tab-btn.active-confirmado { background: #1f7942; color: #fff; }
.tab-btn.active-admin { background: #6c3483; color: #fff; }
.tab-btn.tab-hidden { display: none !important; }
.content-area { max-width: 72rem; margin: 24px auto 40px; padding: 0 16px; }
.card { background: #fff; border-radius: 1rem; box-shadow: 0 2px 12px rgba(0,0,0,.08); overflow: hidden; }
.card-header { padding: 16px 24px; color: #fff; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card-header.green { background: #1e4a2f; }
.card-header.teal { background: #1f7942; }
.card-header.purple { background: #6c3483; }
.card-body { padding: 24px; }
.form-label { display: block; font-weight: 600; color: #1e4a2f; margin-bottom: 4px; }
.form-label.obrigatorio::after { content: " *"; color: #e67e22; font-weight: bold; }
.form-input { width: 100%; border: 1px solid #d1d5db; border-radius: 999px; padding: 10px 16px; outline: none; background: #f9fafb; font-family: 'DM Sans', sans-serif; font-size: 1rem; transition: border 0.2s; }
.form-input:focus { border-color: #e67e22; background: #fff; }
.form-input.erro { border-color: #dc2626; background: #fef2f2; }
.form-group { margin-bottom: 16px; }
.btn { width: 100%; border: none; border-radius: 999px; padding: 12px 24px; font-weight: 700; font-family: 'DM Sans', sans-serif; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s; }
.btn-orange { background: #e67e22; color: #fff; }
.btn-orange:hover:not(:disabled) { background: #c0621a; }
.btn-green { background: #15803d; color: #fff; }
.btn-gray { background: #e5e7eb; color: #374151; }
.btn-purple { background: #6c3483; color: #fff; }
.btn-sm { width: auto; padding: 6px 16px; font-size: .8rem; }
.btn-white-transparent { background: rgba(255,255,255,.2); color: #fff; border-radius: 999px; border: none; padding: 6px 12px; cursor: pointer; font-weight: 600; transition: background .2s; }
.btn-white-transparent:hover { background: rgba(255,255,255,.3); }
.btn-whatsapp { background: #25d366; color: #fff; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 24px; font-weight: 700; font-size: 1rem; }
.btn-whatsapp:hover { background: #1ebe5d; }
.valor-aviso { background: #e6f7ec; border: 1px solid #a5d6a7; border-radius: 999px; padding: 8px 16px; text-align: center; color: #1e5a2f; font-weight: 700; margin-bottom: 16px; }
.confirmed-avatar { background: linear-gradient(135deg,#16a34a,#166534); width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: #fff; margin: 0 auto; box-shadow: 0 4px 20px rgba(22,101,52,.4); }
.confirmed-numero-box { background: #f0fdf4; border: 2px solid #86efac; border-radius: 1rem; padding: 20px; text-align: center; margin: 20px 0; }
.confirmed-num-label { font-size: .75rem; font-weight: 700; color: #15803d; text-transform: uppercase; letter-spacing: .1em; }
.confirmed-num { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: #14532d; }
.confirmed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
@media (max-width: 480px) { .confirmed-grid { grid-template-columns: 1fr; } }
.confirmed-item { background: #f9fafb; border-radius: .75rem; padding: 12px; }
.confirmed-item-label { font-size: .75rem; font-weight: 600; color: #6b7280; }
.confirmed-item-value { font-weight: 500; }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 20px; }
@media (max-width: 600px) { .admin-stats { grid-template-columns: repeat(2,1fr); } }
.stat-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 1rem; padding: 12px; text-align: center; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.admin-search { flex: 1; min-width: 160px; border: 1px solid #d1d5db; border-radius: 999px; padding: 8px 16px; font-family: 'DM Sans', sans-serif; }
.admin-table-wrap { overflow-x: auto; border-radius: .75rem; border: 1px solid #e5e7eb; margin-top: 16px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 8px; text-align: left; font-size: .875rem; border-bottom: 1px solid #f3f4f6; }
th { background: #f3f4f6; font-weight: 600; }
.badge-numero-whats { background: #dcfce7; color: #15803d; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; border: none; transition: background .18s, transform .12s, box-shadow .18s; font-family: 'DM Sans', sans-serif; }
.badge-numero-whats:hover { background: #25d366; color: #fff; transform: scale(1.06); box-shadow: 0 2px 10px rgba(37,211,102,.35); }
.badge-numero-whats .whats-icon { font-size: .85rem; transition: transform .15s; }
.btn-action { border: none; border-radius: 999px; padding: 4px 10px; font-size: .75rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-family: 'DM Sans', sans-serif; transition: background .18s, transform .1s, box-shadow .18s; }
.btn-action:hover { transform: scale(1.04); }
.btn-pdf { background: #e0e7ff; color: #3730a3; }
.btn-pdf-nao-enviado { background: #fee2e2; color: #dc2626; border: 1.5px solid #fca5a5; }
.btn-pdf-enviado { background: #dcfce7; color: #15803d; border: 1.5px solid #86efac; }
.btn-pdf-enviado:hover { background: #bbf7d0; color: #14532d; }
.btn-deletar { background: #fee2e2; color: #dc2626; }
.btn-deletar:hover { background: #fca5a5; }
.admin-legenda { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; font-size: .78rem; color: #6b7280; }
.legenda-item { display: flex; align-items: center; gap: 5px; }
.legenda-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.legenda-dot.verde { background: #16a34a; }
.legenda-dot.vermelho { background: #dc2626; }
.num-cell-hint { font-size: .65rem; color: #9ca3af; display: block; margin-top: 1px; }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 1100; display: flex; align-items: center; justify-content: center; }
.modal-overlay.hidden { display: none; }
.modal-box { background: #fff; border-radius: 1.5rem; padding: 24px; width: 90%; max-width: 400px; }
.modal-title { font-size: 1.5rem; font-weight: 700; color: #6c3483; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.modal-footer { display: flex; gap: 12px; margin-top: 16px; }
.stat-enviados { color: #16a34a; }
.stat-pendentes { color: #dc2626; }
