body.page-login,
body.page-tickets,
body.page-checkout-auth {
  background-color: #dfdfdf;
  background-image: none;
  color: #111827;
  overflow-x: hidden;
  width: 100%;
}

body.page-checkout-auth main {
  min-height: 100vh;
}

.checkout-auth-page {
  min-height: 100vh;
  padding: 1rem 0 2rem;
  background: linear-gradient(0deg, #dfdfdf 0%, #ffffff 100%);
}

.vdc-checkout .checkout-card--standalone {
  display: block !important;
  max-width: 658px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

.checkout-auth-body {
  padding: 1.25rem;
  background: #fff;
}

.checkout-auth-body--login {
  padding-bottom: 2rem;
}

.checkout-auth-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.35rem;
}

.checkout-auth-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
}

.auth-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(0deg, #dfdfdf 0%, #ffffff 100%);
}

.auth-card {
  width: min(100%, 420px);
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.auth-card h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #008dca;
  text-align: center;
}

.auth-sub {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #555;
  margin: 0.5rem 0 1.5rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.auth-tab {
  padding: 0.65rem;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  background: #f9f9f9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.auth-tab.is-active {
  border-color: #008dca;
  background: #e8f7fc;
  color: #008dca;
}

.auth-form label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.auth-form input {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.auth-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.page-checkout-auth .auth-submit {
  border-radius: 10px;
  padding: 0.875rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

.auth-error {
  color: #c0392b;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.tickets-page {
  background: linear-gradient(0deg, #dfdfdf 0%, #ffffff 100%);
}

.tickets-page-inner {
  width: min(100%, 700px);
  margin: 0 auto;
  padding: 60px 1.5rem 40px;
}

.tickets-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #008dca;
  text-align: center;
}

.tickets-sub {
  text-align: center;
  font-family: 'Inter', sans-serif;
  margin: 0.5rem 0 2rem;
}

.tickets-guest,
.tickets-empty {
  text-align: center;
  font-family: 'Inter', sans-serif;
  padding: 2rem;
}

.tickets-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ticket-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e5e5;
  flex-wrap: wrap;
}

.ticket-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #003bc5;
}

.ticket-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #666;
}

.ticket-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ticket-card--paid .ticket-status {
  background: #d4edda;
  color: #155724;
}

.ticket-card--pending .ticket-status {
  background: #fff3cd;
  color: #856404;
}

.ticket-amount {
  display: block;
  font-weight: 700;
  margin-top: 0.25rem;
  text-align: right;
}

.tickets-page-wave {
  padding: 48.5px 60px;
  background: #dfdfdf url('/assets/borda-azul.png') center / cover no-repeat;
}

.page-checkout-auth .tickets-list {
  margin-top: 0.5rem;
}

.page-checkout-auth .ticket-card {
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.page-checkout-auth .tickets-empty {
  padding: 2rem 0 0;
  font-size: 0.9rem;
}

.page-checkout-auth .tickets-empty a {
  color: #3b82f6;
  text-decoration: underline;
}

.cpf-form {
  margin-top: 0.5rem;
}

.cpf-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.cpf-form input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  margin-bottom: 1rem;
}

.cpf-form input::placeholder {
  color: #9ca3af;
}

.cpf-submit {
  width: 100%;
  border-radius: 10px;
  padding: 0.875rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

.cpf-back {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.auth-alt-link {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 1.25rem;
}

.auth-alt-link a {
  color: #3b82f6;
  font-weight: 600;
  text-decoration: underline;
}

.vdc-checkout .checkout-toolbar {
  flex-wrap: wrap;
  gap: 0.5rem;
}

.checkout-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.vdc-checkout .btn-entrar,
.vdc-checkout .btn-minhas-compras {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid #4b5563;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 44px;
  color: #111827;
  white-space: nowrap;
}

.nav-auth-link {
  color: #ffae00 !important;
  font-weight: 700;
}

body.page-checkout-standalone {
  background: #f3f4f6;
  color: #111827;
}

body.page-checkout-standalone main {
  min-height: 100vh;
}

.checkout-standalone-page {
  min-height: 100vh;
  padding: 0.5rem 0 7rem;
}

.checkout-page-footer {
  width: min(100%, 658px);
  margin: 1rem auto 5rem;
  padding: 1.5rem 1.25rem 2rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.checkout-page-footer .footer-logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.checkout-page-footer .footer-logos-row img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.checkout-page-footer .footer-legal {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.checkout-page-footer .footer-links a {
  color: #3b82f6;
  text-decoration: underline;
  font-size: 0.8rem;
  margin: 0 0.5rem;
}

.checkout-susep-text {
  margin-top: 1rem;
  font-size: 0.62rem;
  line-height: 1.45;
  color: #6b7280;
  text-align: left;
}

.vdc-checkout--standalone .checkout-card {
  display: block !important;
  max-width: 658px;
  margin: 0 auto;
  border-radius: 12px;
}

.checkout-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.checkout-auth-modal[hidden] {
  display: none !important;
}

.checkout-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.checkout-auth-modal__dialog {
  position: relative;
  width: min(100%, 420px);
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  max-height: 90vh;
  overflow-y: auto;
}

.checkout-auth-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: #666;
}

.checkout-auth-modal__dialog h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.checkout-auth-modal__sub {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

body.checkout-auth-open {
  overflow: hidden;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  font-size: 0.85rem;
  color: #374151;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner a {
  color: #3b82f6;
  text-decoration: underline;
}

.cookie-banner__ok {
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: #709111;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.pix-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.pix-modal[hidden] {
  display: none !important;
}

.pix-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.pix-modal__dialog {
  position: relative;
  width: min(100%, 480px);
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 1.5rem;
  max-height: 90vh;
  overflow-y: auto;
}

.pix-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: #666;
}

.pix-modal__dialog h2 {
  color: #008dca;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.pix-modal__qr-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 1rem;
}

.pix-modal__qr {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}

.pix-modal__status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.pix-modal__code {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.7rem;
  word-break: break-all;
  max-height: 120px;
  overflow-y: auto;
  margin: 1rem 0;
}

.pix-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pix-modal__confirm {
  color: #008dca !important;
  border-color: #008dca !important;
}

.pix-modal__note {
  font-size: 0.75rem;
  color: #666;
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
}

body.pix-modal-open {
  overflow: hidden;
}

.comprar-page .comprar-hero-wrap {
  background-color: #250066;
  background-image: linear-gradient(0deg, #250066 0%, #001b34 100%);
  padding: 1rem 0 2rem;
}

.comprar-page .vdc-checkout .checkout-card {
  display: block !important;
  max-width: 480px;
  margin: 1rem auto 0;
}