/* =========================================
   styles.css (global + escopos por página)
   - Base: fundo, botões, cards, formulário
   - Admin: tabela, modal
   - Convite/Convidado: card, boxes, badges, ticket
   - Login: escopado via body.login-page
   ========================================= */

/* ============ TOKENS ============ */
:root{
  --green-900:#0b3d2e;
  --green-700:#0f6b4a;
  --green-600:#16a34a;
  --green-500:#22c55e;

  --text:#0f172a;
  --muted:#6b7280;
  --border:#e5e7eb;

  --shadow-1: 0 20px 40px rgba(0,0,0,.25);
  --shadow-2: 0 30px 60px rgba(0,0,0,.35);
}

/* ============ RESET MINIMO ============ */
*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, Arial, sans-serif;
  color:#f8f9fa;
  overflow-x:hidden;
  overflow-y:auto;

  background-color: var(--green-900);
  background-image: url("../img/fundo.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* vídeo + overlay */
.bg-video{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  opacity: .55;
  pointer-events:none;
}
body::before{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: -1;
  pointer-events:none;
}
body > *{ position:relative; z-index:1; }

.hidden{ display:none !important; }

/* ============ LAYOUT BASE ============ */
.wrap{
  max-width:900px;
  margin:40px auto;
  padding:0 16px 40px;
}

.header{
  text-align:center;
  margin:10px auto 18px;
  padding:0 8px;
}
.header h1{
  margin:0 0 8px;
  font-size: clamp(22px, 3vw, 34px);
  line-height:1.15;
  color:#fff;
}
.header p{
  margin:0 auto;
  max-width:680px;
  color: rgba(255,255,255,.85);
  font-size: clamp(13px, 1.6vw, 15px);
}

/* ============ BOTÕES ============ */
.btn-admin{
  position:fixed;
  top:14px;
  right:14px;
  z-index:9999;

  text-decoration:none;
  padding:10px 14px;
  border-radius:12px;
  font-weight:900;
  font-size:14px;

  background: rgba(255,255,255,.92);
  color: var(--green-900);
  border:1px solid rgba(255,255,255,.6);
  box-shadow:0 10px 20px rgba(0,0,0,.20);
}
.btn-admin:hover{ filter:brightness(1.03); }

.btn-primary{
  min-width:320px;
  padding:14px 20px;
  font-size:15px;
  font-weight:950;
  color:#fff;

  background: linear-gradient(180deg, var(--green-500), var(--green-600));
  border:none;
  border-radius:12px;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(22,163,74,.35);
}
.btn-primary:hover{ filter:brightness(1.05); }
.btn-primary:active{ transform:translateY(1px); }

.btn-secondary{
  min-width:210px;
  padding:14px 20px;
  font-size:15px;
  font-weight:950;

  border-radius:12px;
  cursor:pointer;
  background:#fff;
  color: var(--green-700);
  border:2px solid rgba(34,197,94,.35);
  box-shadow:0 10px 20px rgba(0,0,0,.08);
}
.btn-secondary:hover:not(:disabled){
  filter:brightness(1.02);
  border-color: rgba(34,197,94,.55);
}
.btn-secondary:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.btn-open{
  min-width:210px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* ============ CARDS + FORM ============ */
.card{
  background: rgba(255,255,255,.97);
  border:1px solid var(--border);
  border-radius:14px;
  padding:24px;
  box-shadow: var(--shadow-1);
  color: var(--text);
}

.field{
  display:flex;
  flex-direction:column;
  margin-bottom:16px;
}

/* evita “vazamento” de label/input fora do card */
.card label{
  font-size:14px;
  font-weight:800;
  margin-bottom:6px;
  color: var(--green-900);
}
.card input,
.card select,
.card textarea{
  padding:11px 12px;
  font-size:14px;
  border-radius:10px;
  border:1px solid #d1d5db;
  background:#fff;
  color: var(--text);
}
.card input::placeholder,
.card textarea::placeholder{ color: var(--muted); }
.card input:focus,
.card select:focus,
.card textarea:focus{
  outline:none;
  border-color: var(--green-600);
  box-shadow:0 0 0 3px rgba(34,197,94,.25);
}

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.actions{
  display:flex;
  justify-content:center;
  margin-top:24px;
}
.actions.actions-left{
  justify-content:flex-start;
  margin-top:10px;
}

.footer{
  margin-top:16px;
  font-size:12px;
  color: rgba(255,255,255,.85);
  text-align:center;
}

/* mensagens simples (planilha/guest) */
.msg{
  font-weight:900;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.92);
  color: var(--text);
}
.msg.is-error{
  background: rgba(239,68,68,.10);
  border-color: rgba(239,68,68,.25);
  color:#b91c1c;
}
.msg.is-ok{
  background: rgba(34,197,94,.10);
  border-color: rgba(34,197,94,.25);
  color:#0f6b4a;
}

/* sucesso (link + botões) */
.success-actions{
  margin-top:20px;
  padding-top:16px;
  border-top:1px dashed #cfe8d8;
}
.link-box{
  background:#f6fffa;
  border:1px solid #b7ebcd;
  padding:12px 14px;
  border-radius:12px;
  word-break:break-all;
}
.link-title{
  font-weight:900;
  font-size:13px;
  color: var(--green-900);
  margin-bottom:6px;
}
.link-text{
  display:block;
  font-size:13px;
  color: var(--green-700);
  text-decoration:none;
}
.link-text:hover{ text-decoration:underline; }
.success-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:12px;
  justify-content:center;
}

/* ============ ADMIN DASHBOARD (mantido) ============ */
.wrap-admin{ max-width:1100px; }
.header-admin{ margin-bottom:14px; }
.card-admin{ padding:18px; }

.admin-topbar{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:12px;
  align-items:center;
}
.admin-search input{
  width:100%;
  padding:12px 12px;
  border-radius:10px;
  border:1px solid #d1d5db;
  background: rgba(255,255,255,.95);
  font-weight:800;
}
.admin-filters{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.admin-filters select{
  padding:11px 12px;
  border-radius:10px;
  border:1px solid #d1d5db;
  background: rgba(255,255,255,.95);
  font-weight:900;
  color: var(--text);
}
.btn-soft{
  padding:11px 12px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  color: var(--green-900);
  font-weight:950;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(0,0,0,.10);
}
.btn-soft:hover{ filter: brightness(1.02); }
.btn-soft-outline{
  border:2px solid rgba(34,197,94,.35);
  background: rgba(255,255,255,.92);
  color: var(--green-700);
}

.admin-stats{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
}
.stat{
  background: rgba(248,255,251,.92);
  border: 1px solid rgba(34,197,94,.22);
  border-radius:14px;
  padding:12px;
}
.stat-ok{
  background: rgba(34,197,94,.10);
  border-color: rgba(34,197,94,.30);
}
.stat-label{
  font-size:12px;
  font-weight:950;
  color: var(--green-900);
  opacity:.9;
}
.stat-value{
  margin-top:6px;
  font-size:22px;
  font-weight:1000;
  color: var(--green-900);
}

.admin-table-wrap{
  margin-top:14px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.06);
  overflow:auto;
  background: rgba(255,255,255,.92);
}
.admin-table{
  width:100%;
  border-collapse: collapse;
  min-width:860px;
}
.admin-table thead th{
  position: sticky;
  top: 0;
  background: rgba(248,255,251,.98);
  border-bottom:1px solid rgba(0,0,0,.06);
  text-align:left;
  padding:12px;
  font-size:12px;
  letter-spacing:.02em;
  text-transform: uppercase;
  color: rgba(11,61,46,.9);
}
.admin-table tbody td{
  padding:12px;
  border-bottom:1px solid rgba(0,0,0,.06);
  color:#0f172a;
  vertical-align: middle;
}
.admin-table tbody tr:hover{ background: rgba(34,197,94,.06); }

.t-center{ text-align:center; }
.t-muted{ color:#6b7280; }
.t-strong{ font-weight:900; }
.t-mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12.5px;
}

.badge{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:950;
  border:1px solid rgba(0,0,0,.08);
}
.badge-ok{
  background: rgba(34,197,94,.14);
  color: #0b3d2e;
  border-color: rgba(34,197,94,.26);
}
.badge-warn{
  background: rgba(245,158,11,.16);
  color: #7c2d12;
  border-color: rgba(245,158,11,.26);
}
.badge-no{
  background: rgba(239,68,68,.14);
  color: #7f1d1d;
  border-color: rgba(239,68,68,.26);
}

.actions-col{
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
}

.link-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  font-weight:1000;
  text-decoration:none;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 16px rgba(0,0,0,.10);
  transition: filter .12s ease, transform .12s ease;
  user-select:none;
  white-space:nowrap;
}
.link-pill:hover{ filter:brightness(1.03); }
.link-pill:active{ transform: translateY(1px); }
.link-pill--open{
  background: linear-gradient(180deg, var(--green-500), var(--green-600));
  color:#fff;
}
.link-pill--danger{
  background: linear-gradient(180deg, #ef4444, #dc2626);
  color:#fff;
}
.link-pill--danger:disabled,
.link-pill.is-disabled{
  opacity:.55;
  cursor:not-allowed;
  pointer-events:none;
}

.btn-del{
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(239,68,68,.45);
  background: rgba(220,38,38,.08);
  color: #b91c1c;
  font-weight: 950;
  cursor: pointer;
}
.btn-del:hover{ background: rgba(239,68,68,.14); }
.btn-del:disabled{ opacity:.55; cursor: not-allowed; }

/* modal (admin) */
.modal-backdrop{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.45);
  z-index: 99999;
  padding: 18px;
}
.modal-backdrop.hidden{ display:none !important; }

.modal{
  width: min(560px, 100%);
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  padding: 16px 16px 14px;
  color: #0f172a;
}
.modal-head{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.modal-icon{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(239,68,68,.12);
  color: #b91c1c;
  font-weight: 950;
}
.modal-title{
  font-size: 16px;
  font-weight: 1000;
  color: #0b3d2e;
}
.modal-text{
  margin-top: 6px;
  color: #334155;
  font-weight: 650;
  line-height: 1.35;
}
.modal-note{
  margin-top: 10px;
  font-size: 12px;
  color: #64748b;
}
.modal-actions{
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
  flex-wrap: wrap;
}
.btn-ghost{
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15,107,74,.22);
  background: #fff;
  color: #0f6b4a;
  font-weight: 950;
  cursor: pointer;
}
.btn-ghost:hover{ filter:brightness(1.02); }

.btn-danger-solid{
  padding: 11px 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(180deg, #ef4444, #dc2626);
  color: #fff;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(239,68,68,.25);
}
.btn-danger-solid:disabled{ opacity: .65; cursor: not-allowed; }

/* ============ CONVITE/CONVIDADO (wrap-invite + invite-card) ============ */
.wrap.wrap-invite{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  margin:0 auto;
  max-width: 1100px;
}

/* card principal do convidado */
.invite-card{
  width:100%;
  max-width:820px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(0,0,0,.08);
  border-radius:18px;
  box-shadow: var(--shadow-2);
  overflow:hidden;
  color:#0f172a;
  padding:0;
}

/* quando CONFIRMADO, pode ficar mais largo (JS adiciona classe) */
.invite-card.invite-card--wide{ max-width:1120px; }

/* topo */
.invite-hero{
  background: linear-gradient(180deg, var(--green-600), var(--green-700));
  color:#fff;
  padding:26px 22px;
  text-align:center;
}
.invite-title{
  margin:0 0 6px;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight:1000;
  line-height:1.15;
  letter-spacing:.2px;
}
.invite-sub{
  margin:0;
  opacity:.95;
  font-size: clamp(14px, 2vw, 18px);
  font-weight:900;

  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
}

/* corpo */
.invite-card #guestWrap{ padding:18px 18px 20px; }

.invite-badges{
  display:flex;
  justify-content:center;
  margin:12px 0 6px;
}

#guestWrap h3{
  text-align:center;
  font-weight:1000;
  margin:14px 0 10px;
  color: var(--green-900);
}

/* caixas de dados */
.info-box{
  background:#f8fffb;
  border:1px solid rgba(34,197,94,.22);
  border-radius:14px;
  padding:14px;
  box-shadow:0 6px 14px rgba(0,0,0,.05);
}
.info-label{
  font-weight:1000;
  font-size:12px;
  color: rgba(11,61,46,.85);
  margin-bottom:6px;
}
.info-value{
  font-size:16px;
  font-weight:900;
  word-break:break-word;

  padding:12px 12px;
  border-radius:12px;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
}

/* aviso pendente */
.pending-box{
  margin: 12px 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(245,158,11,.12);
  border: 1px dashed rgba(245,158,11,.45);
  color: #7c2d12;
  font-weight: 1000;
  text-align: center;
}

/* agradecimento */
.thanks-box{
  background:#f0fdf4;
  border:1px dashed rgba(34,197,94,.45);
  border-radius:14px;
  padding:14px;
  text-align:center;
}
.thanks-title{
  font-weight:1000;
  color:#065f46;
}
.thanks-text{
  margin-top:6px;
  color:#166534;
  font-weight:800;
  font-size:13px;
  line-height:1.35;
}

/* ============ INGRESSO (CONFIRMADO) ============ */
.ticket-wrap{
  width:100%;
  display:grid;
  place-items:center;
  margin-top:18px;
}
.ticket{
  width: min(1100px, 100%);
  display:flex;
  border-radius:18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 22px 60px rgba(0,0,0,.35);
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.25));
}

/* faixa esquerda (título grande) */
.ticket-left{
  flex: 1.2;
  padding: 26px 22px;
  color:#fff;
  background:
    radial-gradient(900px 420px at 30% 10%, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(135deg, rgba(16,110,70,.98), rgba(7,48,35,.98));
}
.ticket-ribbon{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-weight:1100;
  letter-spacing:.04em;
  font-size:12px;
}
.ticket-title{ margin-top: 18px; line-height: 1.05; }
.ticket-title-top{
  font-size: 40px;
  font-weight: 1100;
  text-transform: uppercase;
  text-shadow: 0 10px 18px rgba(0,0,0,.35);
}
.ticket-title-name{
  margin-top: 8px;
  font-size: 64px;
  font-weight: 1200;
  text-transform: uppercase;
  color: #fef08a;
  text-shadow: 0 12px 26px rgba(0,0,0,.38);
}
.ticket-footnote{
  margin-top: 18px;
  font-weight: 1200;
  letter-spacing:.08em;
  font-size: 20px;
  color:#fde047;
}

/* faixa do meio (dados) */
.ticket-mid{
  flex: 1.05;
  padding: 20px 18px 16px;
  color:#fff;
  background: linear-gradient(180deg, rgba(10,40,30,.96), rgba(6,26,20,.96));
}
.ticket-mid-top{
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  margin-bottom: 12px;
}
.ticket-mid-head{
  font-weight: 1200;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 18px;
}
.ticket-details{
  display:grid;
  gap:10px;
  font-size:14px;
}
.ticket-row{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap:10px;
  align-items: baseline;
}
.ticket-row > span{
  opacity:.85;
  font-weight:1000;
}
.ticket-row b{ font-weight:1200; }
.ticket-row--small{ font-size:12.5px; line-height:1.25; }

.ticket-barcode-area{
  margin-top:14px;
  padding-top:12px;
  border-top:1px dashed rgba(255,255,255,.18);
  display:grid;
  gap:8px;
  justify-items:center;
}
.ticket-barcode{
  width:100%;
  height:54px;
  border-radius:10px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.95) 0 2px,
      rgba(255,255,255,.25) 2px 4px,
      rgba(255,255,255,.75) 4px 5px,
      rgba(255,255,255,.15) 5px 8px
    );
  opacity:.9;
}
.ticket-code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight:1100;
  letter-spacing:.18em;
  font-size:13px;
  opacity:.95;
}

/* stub direita (QR) */
.ticket-stub{
  width:240px;
  padding:18px 14px 16px;
  color:#fff;
  background: linear-gradient(180deg, rgba(8,32,26,.98), rgba(3,14,11,.98));
  border-left: 2px dashed rgba(255,255,255,.20);

  display:grid;
  gap:12px;
  justify-items:center;
  text-align:center;
}
.ticket-ball{
  width:62px; height:62px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  font-size:28px;
}
.ticket-stub-title{
  font-weight:1100;
  letter-spacing:.04em;
  line-height:1.05;
  text-transform: uppercase;
}
.ticket-qr{
  display:grid;
  gap:8px;
  justify-items:center;
}
.qr-box{
  width:160px; height:160px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius:12px;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.qr-box img{ width:100%; height:100%; object-fit:cover; display:block; }
.qr-caption{
  font-size:12px;
  opacity:.85;
  font-weight:1000;
}

/* ============ MODAL LOGIN ADMIN (convite) ============ */
#adminModal.modal.hidden{ display:none !important; }
#adminModal.modal{ position: fixed; inset: 0; z-index: 999999; }

#adminModal .modal-backdrop{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  padding:16px;
  background: rgba(0,0,0,.55);
}
#adminModal .modal-card{
  width: min(520px, calc(100% - 24px));
  border-radius: 18px;
  padding: 18px 16px 16px;
  box-shadow: 0 18px 44px rgba(0,0,0,.40);
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(0,0,0,.08);
  color: var(--text);
}
#adminSenha{
  width:100%;
  height:50px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid #d1d5db;
  outline:none;
  background:#fff;
  color: var(--text);
  font-size:16px;
}
#adminSenha:focus{
  border-color: var(--green-600);
  box-shadow:0 0 0 3px rgba(34,197,94,.25);
}
#adminModal .modal-actions{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}
#adminModal #adminConfirm.btn-primary{
  width:100%;
  min-width:unset;
  height:54px;
  font-size:18px;
  border-radius:14px;
}
#adminModal #adminCancel.btn-ghost{
  width:100%;
  height:46px;
  border-radius:14px;
}
@media (min-width: 520px){
  #adminModal .modal-actions{ grid-template-columns: 1fr 1fr; }
}

/* ============ LOGIN (escopado) ============ */
body.login-page{ min-height: 100vh; }
.login-page__wrap{
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 28px 16px;
}
.login-page__wrap .err{
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(520px, calc(100% - 32px));
  margin: 0;
  background: rgba(185,28,28,.95);
  color:#fff;
  padding:10px 12px;
  border-radius:10px;
  font-weight:900;
  text-align:center;
}

.login-page .card.card-login{
  width: min(520px, 100%);
  margin: 0;
  padding: 18px;

  color: #ecfdf5;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(180deg, #16a34a 0%, #0f6b4a 100%);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

.login-page .invite-login-header{
  text-align: center;
  padding: 6px 8px 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.login-page .invite-login-header h1{
  margin: 0;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 1100;
  color: #fff;
  line-height: 1.15;
}
.login-page .invite-login-header p{
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,.88);
}

.login-page .card.card-login .card-head{
  padding: 14px 6px 8px;
  display:flex;
  justify-content:center;
  text-align:center;
}
.login-page .card.card-login .card-head h2{
  margin:0;
  font-size:26px;
  font-weight:1100;
  color:#fff;
}

.login-page .card.card-login .card-body{ padding: 10px 6px 6px; }

.login-page .card.card-login label{
  color: rgba(255,255,255,.95);
  font-weight: 1000;
  font-size: 13px;
}

.login-page .card.card-login input{
  width:100%;
  height:44px;
  padding:0 12px;
  border-radius:10px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.16);
  color:#fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.login-page .card.card-login input::placeholder{ color: rgba(255,255,255,.75); }
.login-page .card.card-login input:focus{
  outline:none;
  border-color: rgba(255,255,255,.45);
  box-shadow: 0 0 0 3px rgba(34,197,94,.35);
}
.login-page .card.card-login .actions{
  display:flex;
  justify-content:center;
  margin-top:12px;
}
.login-page .card.card-login .btn-primary{
  min-width:220px;
  height:46px;
  border-radius:12px;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  box-shadow: 0 12px 26px rgba(22,163,74,.45);
  color:#fff;
}
.login-page .card.card-login .hint{
  margin-top:12px;
  text-align:center;
  font-size:13px;
  color: rgba(255,255,255,.9);
}

/* ============ RESPONSIVO GLOBAL ============ */
@media (max-width: 980px){
  .ticket{ flex-direction: column; }
  .ticket-stub{
    width:100%;
    border-left:0;
    border-top: 2px dashed rgba(255,255,255,.20);
  }
  .ticket-title-top{ font-size: 34px; }
  .ticket-title-name{ font-size: 54px; }
}
@media (max-width: 720px){
  .grid-2{ grid-template-columns:1fr; }
  .btn-primary{ min-width:100%; }
  .btn-open, .btn-secondary{ min-width:100%; }
  .invite-card #guestWrap{ padding:16px; }
  .success-buttons{ flex-direction:column; }
  .success-buttons .btn-primary,
  .success-buttons .btn-secondary{ min-width:100% !important; }
}
@media (max-width: 520px){
  .admin-stats{ grid-template-columns: 1fr; }
  .ticket-title-top{ font-size: 28px; }
  .ticket-title-name{ font-size: 44px; }
  .ticket-row{ grid-template-columns: 1fr; gap:4px; }
  .qr-box{ width:140px; height:140px; }
  .login-page .card.card-login{ padding: 16px 14px 14px; }
  .login-page .card.card-login .btn-primary{
    width:100%;
    min-width:unset;
    height:52px;
    font-size:16px;
  }
}
