.planoa-validar-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 40px auto;
  width: 90%;
  max-width: 420px; /* antes era 340–360px */
  background: linear-gradient(180deg, #e8fff0 0%, #d4ffe4 100%);
  padding: 28px 24px;
  border-radius: 12px;
  border: 1px solid #a6f2b8;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

/* 🔹 Responsividade — melhora visual em telas pequenas */
@media (max-width: 480px) {
  .planoa-validar-form {
    width: 95%;
    max-width: 480px;
    padding: 24px 18px;
  }

  .planoa-btn {
    font-size: 15px;
    padding: 12px;
  }
}



.planoa-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #00cc55;
  border-radius: 6px;
  font-size: 16px;
  color: #003300;
  background-color: #fafffb;
  text-align: center;
  transition: all 0.25s ease-in-out;
}

.planoa-input:focus {
  border-color: #00ff66;
  box-shadow: 0 0 8px rgba(0, 255, 102, 0.3);
  outline: none;
}

.planoa-btn {
  background: linear-gradient(90deg, #00cc55 0%, #00e060 100%) !important;
  color: #fff !important;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  width: 100%;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.planoa-btn:hover {
  background: linear-gradient(90deg, #00b84d 0%, #00cc55 100%) !important;
  transform: translateY(-1px);
}

.planoa-resultado {
  margin-top: 14px;
  font-weight: 600;
  text-align: center;
  font-size: 15px;
  min-height: 26px;
  color: #003300;
}

/* ✅ Mensagens coloridas */
.planoa-resultado.success {
  color: #00a84a;
}

.planoa-resultado.error {
  color: #e63b3b;
}









/* 🔹 Filtro de QR Codes por Data — Estilo leve e verde */
.planoa-data-filter-validates {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(180deg, #e8fff0 0%, #d4ffe4 100%);
  border: 1px solid #a6f2b8;
  border-radius: 10px;
  padding: 24px 20px;
  margin: 30px auto;
  max-width: 600px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.planoa-filter-group-validates {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 200px;
}

.planoa-filter-group-validates label {
  font-weight: 600;
  color: #004d26;
  font-size: 15px;
}

.planoa-input-date-validates {
  width: 100%;
  padding: 10px;
  border: 1px solid #00cc55;
  border-radius: 6px;
  font-size: 15px;
  color: #003300;
  background-color: #fafffb;
  transition: all 0.2s ease-in-out;
}

.planoa-input-date-validates:focus {
  border-color: #00ff66;
  box-shadow: 0 0 6px rgba(0, 255, 102, 0.3);
  outline: none;
}

.planoa-btn-validates {
  background: linear-gradient(90deg, #00cc55 0%, #00e060 100%);
  color: #fff;
  border: none !important;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.planoa-btn-validates:hover {
  background: linear-gradient(90deg, #00b84d 0%, #00cc55 100%);
}

.planoa-resultados-validates {
  text-align: center;
  margin-top: 18px;
  font-weight: 600;
  color: #004d26;
}

/* 🔹 Responsivo */
@media (max-width: 600px) {
  .planoa-data-filter-validates {
    flex-direction: column;
    align-items: center;
    width: 90%;
    padding: 20px 16px;
  }
  .planoa-filter-group-validates {
    width: 100%;
  }
  .planoa-btn-validates {
    width: 100%;
  }
}







/* 🔹 Dashboard de Vendas por Evento */
.planoa-dashboard {
  background: linear-gradient(180deg, #e8fff0 0%, #d4ffe4 100%);
  border: 1px solid #a6f2b8;
  border-radius: 12px;
  padding: 28px 24px;
  margin: 30px auto;
  max-width: 900px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.planoa-dashboard-title {
  color: #004d26;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.planoa-filter-form-dashboard {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.planoa-filter-form-dashboard label {
  font-weight: 600;
  color: #003300;
}

.planoa-input-date-dashboard,
.planoa-select-dashboard {
  padding: 10px;
  border: 1px solid #00cc55;
  border-radius: 6px;
  font-size: 15px;
  background-color: #fff;
  color: #003300;
  transition: all 0.2s ease;
}

.planoa-input-date-dashboard:focus,
.planoa-select:focus {
  border-color: #00ff66;
  box-shadow: 0 0 6px rgba(0, 255, 102, 0.3);
  outline: none;
}

.planoa-btn-dashboard {
  background: linear-gradient(90deg, #00cc55 0%, #00e060 100%);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.planoa-btn-dashboard:hover {
  background: linear-gradient(90deg, #00b84d 0%, #00cc55 100%);
}

.planoa-subtitle-dashboard {
  text-align: center;
  color: #004d26;
  margin-top: 25px;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
}

.planoa-table-dashboard {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.planoa-table-dashboard th {
  background-color: #00cc55;
  color: #fff;
  text-align: left;
  padding: 10px;
}

.planoa-table-dashboard td {
  padding: 10px;
  border-bottom: 1px solid #e6f7ec;
  color: #003300;
}

.planoa-empty-dashboard {
  text-align: center;
  color: #555;
  font-weight: 500;
}

@media (max-width: 600px) {
  .planoa-filter-form-dashboard {
    flex-direction: column;
    align-items: center;
  }
  .planoa-filter-form-dashboard input,
  .planoa-filter-form-dashboard select {
    width: 100%;
  }
  .planoa-btn-dashboard {
    width: 100%;
  }
}







.planoa-scanner-container,
.planoa-reader {
  transform: none !important;
  overflow: visible !important;
}



/* 🔹 SCANNER DE QR CODE (validador principal) */
.planoa-scanner-container {
  text-align: center;
  margin: 30px auto;
  max-width: 420px;
  background: linear-gradient(180deg, #e8fff0 0%, #d4ffe4 100%);
  border: 1px solid #a6f2b8;
  border-radius: 12px;
  padding: 20px 16px 30px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.planoa-scanner-title {
  color: #004d26;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}

.planoa-reader {
  width: 100%;
  max-width: 320px;
  min-height: 240px;
  margin: 0 auto;
  border: 2px dashed #00cc55;
  border-radius: 8px;
  background-color: #fafffb;
  display: block;
}

/* 🔹 Modal de Detalhes */
.planoa-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  margin-top: 7rem;
  margin-left: 2.1rem;
}



.planoa-modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.planoa-modal-title {
  color: #004d26;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.planoa-pedido-info p {
  margin: 4px 0;
  color: #003300;
  font-size: 15px;
}

.planoa-modal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  gap: 1rem;
}

.planoa-btn-success {
  background-color: #00cc55;
  color: #fff;
}

.planoa-btn-cancel {
  background-color: #e53935;
  color: #fff;
}

.planoa-btn-light {
  background-color: #fff;
  color: #333;
  border: 1px solid #ccc;
}

.planoa-btn-init-camera {
  background: linear-gradient(90deg, #00cc55 0%, #00e060 100%);
  color: #fff;
  border: none !important;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.4rem;
}

.planoa-btn-init-camera:hover {
	background: linear-gradient(90deg, #00b84d 0%, #00cc55 100%);
}


/* 🔹 Modal de mensagens */
.planoa-message-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #28a745;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 85%;
  max-width: 380px;
  text-align: center;
  z-index: 10000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.planoa-message-modal.error {
  background: #dc3545;
}

.planoa-message-modal p {
  font-size: 16px;
  margin: 0 0 10px 0;
}

/* 🔹 Responsivo */
@media (max-width: 600px) {
  .planoa-scanner-container {
    width: 92%;
    padding: 18px;
  }
  .planoa-modal-content {
    padding: 20px;
  }
}





/* 🔹 Container das últimas validações */
.planoa-validacoes {
  background: linear-gradient(180deg, #e8fff0 0%, #d4ffe4 100%);
  border: 1px solid #d0f2d9;
  border-radius: 10px;
  padding: 15px !important;
  max-width: 800px !important;
  margin: 20px auto !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  width: 98% !important;
  text-align: left !important;
}

/* 🔹 Título */
.planoa-validacoes-titulo {
  font-size: 18px;
  font-weight: 700;
  color: #004d1a;
  margin-bottom: 12px;
  text-align: left;
}

/* 🔹 Tabela */
.planoa-tabela-validacoes {
  width: 100%;
  margin: 0 auto !important;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.planoa-tabela-validacoes th {
  background-color: #00cc55;
  color: #fff;
  text-align: left;
  padding: 10px;
}

.planoa-tabela-validacoes td {
  padding: 10px;
  border-bottom: 1px solid #e6f7ec;
  color: #003300;
}

/* 🔹 Centralização geral e comportamento responsivo */
.planoa-validacoes table {
  margin-left: auto;
  margin-right: auto;
  display: table;
}


/* 🔹 Ajuste extra para mobile */
@media (max-width: 600px) {
  .planoa-validacoes {
    width: 98%;
    padding: 15px;
  }

  .planoa-tabela-validacoes th,
  .planoa-tabela-validacoes td {
    font-size: 14px;
    padding: 6px;
  }
}




.planoa-tabela-validacoes tr:last-child td {
  border-bottom: none;
}

/* 🔹 Status */
.planoa-status {
  font-weight: 700;
}

.planoa-status-success {
  color: #00a84a;
}

.planoa-status-fail {
  color: #d93025;
}

.planoa-status-reverted {
  color: #e6a700;
}

.planoa-status-default {
  color: #6c757d;
}

/* 🔹 Estado “nenhuma validação” */
.planoa-sem-validacoes {
  text-align: center;
  color: #555;
  background: #f8fff8;
  border: 1px dashed #bdecc8;
  border-radius: 8px;
  padding: 16px;
  font-style: italic;
}

/* 🔹 Responsividade */
@media (max-width: 600px) {
  .planoa-tabela-validacoes th,
  .planoa-tabela-validacoes td {
    font-size: 14px;
    padding: 6px;
  }
}







/* 🔹 Cartão do ingresso */
.ticket-card {
  background: #fff;
  border: 1px solid #c9f2d4;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 15px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ticket-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* 🔹 Informações do ingresso */
.ticket-info p {
  margin: 6px 0;
  color: #222;
  font-size: 15px;
}

.ticket-evento strong,
.ticket-codigo strong,
.ticket-status strong {
  color: #004d1a;
}

/* 🔹 Status */
.ticket-status {
  font-weight: 600;
}

.ticket-status.ativo {
  color: #00a84a;
}

.ticket-status.usado {
  color: #d93025;
}

.ticket-status.expirado {
  color: #e6a700;
}

.ticket-status.padrao {
  color: #555;
}

/* 🔹 QR Code */
.ticket-qr {
  text-align: center;
  margin: 12px 0;
}

.ticket-qr img {
  max-width: 160px;
  border-radius: 6px;
}

/* 🔹 Ações */
.ticket-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}

/* 🔹 Botões */
.ticket-btn {
  background: linear-gradient(90deg, #00cc55 0%, #00e060 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.ticket-btn:hover {
  background: linear-gradient(90deg, #00b84d 0%, #00cc55 100%);
  transform: translateY(-1px);
}

.btn-transferir {
  background: #00a84a;
}

.btn-transferir:hover {
  background: #008e3f;
}

.btn-download {
  background: #0080ff;
}

.btn-download:hover {
  background: #0066cc;
}

/* 🔹 Responsivo */
@media (max-width: 480px) {
  .ticket-card {
    padding: 14px;
  }

  .ticket-btn {
    width: 100%;
    text-align: center;
  }
}




/* 🔸 Título principal */
.woocommerce-MyAccount-content h2 {
  color: #004d1a;
  font-weight: 700 !important;
  font-size: 34px;
  margin-bottom: 18px;
}



/* 🔹 Scroll sentinel (loader invisível) */
#scroll-sentinel {
  height: 50px;
}

/* ====== 🔹 MODAL DE TRANSFERÊNCIA ====== */

/* 🔸 Fundo escurecido */
#modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* 🔸 Modal principal */
#modal-transferir {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  background: #fff;
  padding: 24px 22px;
  border: 1px solid #c9f2d4;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease-in-out;
}

#modal-transferir.show {
  display: block;
  transform: translate(-50%, -50%) scale(1);
}

#modal-overlay.show {
  display: block;
  opacity: 1;
}

/* 🔸 Botão X */
#close-modal {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
}

#close-modal:hover {
  color: #00a84a;
}

/* 🔸 Formulário dentro do modal */
#form-transferir label {
  display: block;
  margin: 8px 0 4px;
  font-weight: 600;
  color: #000;
}

#form-transferir input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #1702A8;
  border-radius: 6px;
  font-size: 15px;
  background: #f9fff9;
}

#form-transferir button {
  background-color: #1702A8;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 8px;
  transition: background-color 0.2s ease;
  margin-top: 1rem;
}

#form-transferir button:hover {
  background-color: #15038F;
}

/* 🔸 Resultado */
#resultado-repasse {
  margin-top: 10px;
  font-weight: 600;
  color: #1702A8;
  text-align: center;
}








/* ====== 🔹 QR CODES NA PÁGINA DO PEDIDO ====== */

.planoa-qrcodes {
  background: #fff;
  border: 1px solid #c9f2d4;
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 25px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.planoa-qrcodes-titulo {
  font-size: 26px !important;
  font-weight: 700;
  color: #004d1a;
  margin-bottom: 14px;
}

/* 🔹 Card de cada ingresso */
.planoa-qrcode-card {
  background: #fff;
  border: 1px solid #d6f5dc;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.planoa-qrcode-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.planoa-qrcode-card p {
  margin: 6px 0;
  color: #222;
  font-size: 15px;
}

.planoa-item strong,
.planoa-codigo strong {
  color: #004d1a;
}

/* 🔹 Imagem do QR Code */
.planoa-qrcode-img {
  text-align: center;
  margin: 10px 0;
}

.planoa-qrcode-img img {
  max-width: 160px;
  border-radius: 8px;
  border: 1px solid #e0f2e8;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* 🔹 Botão de download */
.planoa-btn-download {
  display: inline-block;
  margin-top: 10px;
  background: linear-gradient(90deg, #00cc55 0%, #00e060 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.planoa-btn-download:hover {
  background: linear-gradient(90deg, #00b84d 0%, #00cc55 100%);
  transform: translateY(-1px);
}

/* 🔹 Responsivo */
@media (max-width: 480px) {
  .planoa-qrcode-img img {
    max-width: 130px;
  }

  .planoa-btn-download {
    width: 100%;
    text-align: center;
  }
}












.planoa-lista-item {
	padding: 14px;
	border-bottom: 1px solid #eee;
}
.planoa-nome {
	font-size: 18px;
	font-weight: bold;
	color: #F6203C;
	margin-bottom: 4px;
}
.planoa-atributos {
	font-size: 15px;
	color: #444;
	margin-bottom: 4px;
}
.planoa-codigo {
	font-family: monospace;
	font-size: 14px;
	color: #777;
	margin-bottom: 6px;
}
.planoa-validar-btn {
	background: #28a745;
	color: #fff;
	padding: 6px 12px;
	border-radius: 6px;
	border: none;
	cursor: pointer;
}
.planoa-validar-btn[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}
.planoa-msg {
	margin: 10px 0;
	font-weight: bold;
}

.planoa-hidden {
	display: none;
}