/* ============================================================
   SplashTicketBoom – ticketboom.css
   Todos os seletores usam prefixo .stb- para não colidir
   com temas do WordPress.
   ============================================================ */

:root {
  --stb-bg: #ffffff;
  --stb-surface: #f0f6fc;
  --stb-surface2: #e4eff8;
  --stb-border: #c4d9ea;
  --stb-accent: #209bd9;
  --stb-accent2: #1a82b8;
  --stb-text: #1a2a3a;
  --stb-muted: #607a8e;
  --stb-soft: #8aabb8;
  --stb-success: #22c55e;
  --stb-radius: 16px;
  --stb-radius-sm: 8px;
  --stb-shadow: 0 8px 32px rgba(32, 155, 217, 0.1);
}

body {
  font-family: "regular-interna";
}

/* ── WRAPPER ── */
.stb-wrapper {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 16px;
  font-family: "regular-interna";
  color: var(--stb-text);
  background: var(--stb-bg);
  box-sizing: border-box;
  position: relative;
}

.stb-wrapper *,
.stb-wrapper *::before,
.stb-wrapper *::after {
  box-sizing: border-box;
}

@font-face {
  font-family: "regular-interna";
  src: url("../css/fonts/calibri-regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* ── HEADER ── */
.stb-header {
  text-align: center;
  margin-bottom: 36px;
}
.stb-eyebrow {
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stb-accent);
  margin-bottom: 10px;
  font-family: "regular-interna";
  font-weight: bold;
  max-width: 380px;
  margin: auto;
}
.stb-title {
  font-family: "regular-interna";
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--stb-accent);
  line-height: 1.1;
}
.stb-title span {
  color: var(--stb-accent);
}

/* ── STEPS NAV ── */
.stb-steps-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  padding: 0 8px;
}

.stb-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  position: relative;
}

.stb-step-item::before {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 18px);
  right: calc(-50% + 18px);
  height: 1px;
  background: var(--stb-accent);
  transition: background 0.4s ease;
  z-index: 0;
}
.stb-step-item:last-child::before {
  display: none;
}
.stb-step-item.done::before {
  background: var(--stb-accent);
}

.stb-step-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #a4a4a4;
  border: 1.5px solid var(--stb-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  color: var(--stb-muted);
  opacity: 0.95;
}
.stb-step-item.active .stb-step-icon {
  background: var(--stb-accent);
  border-color: var(--stb-accent2);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(32, 155, 217, 0.35);
  opacity: 1;
}
.stb-step-item.done .stb-step-icon {
  background: var(--stb-success);
  border-color: var(--stb-success);
  color: var(--stb-accent);
}
.stb-step-icon img {
  width: 35px;
}
.stb-step-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stb-muted);
  transition: color 0.3s;
  white-space: nowrap;
  font-family: "regular-interna";
}
.stb-step-item.active .stb-step-label {
  color: var(--stb-accent);
}
.stb-step-item.done .stb-step-label {
  color: var(--stb-soft);
}

/* ── CARD ── */
.stb-card {
  background: #01030d2e;
  border: 1px solid var(--stb-border);
  border-radius: var(--stb-radius);
  padding: 40px;
  box-shadow: var(--stb-shadow);
  position: relative;
  overflow: hidden;
}
.stb-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--stb-accent),
    transparent
  );
}

/* ── PANELS ── */
.stb-panel {
  display: none;
}
.stb-panel.active {
  display: block;
  animation: stbFadeUp 0.35s ease;
}

@keyframes stbFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stb-panel-title {
  font-family: "regular-interna";
  font-size: 24px;
  font-weight: 600;
  color: var(--stb-text);
  margin-bottom: 6px;
}
.stb-panel-subtitle {
  font-size: 19px;
  color: var(--stb-muted);
  margin-bottom: 28px;
}

/* ── CALENDAR ── */
.stb-calendar {
  background: var(--stb-surface2);
  border: 1px solid var(--stb-border);
  border-radius: var(--stb-radius);
  padding: 24px;
  user-select: none;
}
.stb-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.stb-cal-month {
  font-family: "regular-interna";
  font-size: 18px;
  font-weight: 600;
  color: var(--stb-text);
}
.stb-cal-nav {
  background: none;
  border: 1px solid var(--stb-border);
  color: var(--stb-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
}
.stb-cal-nav:hover {
  border-color: var(--stb-accent);
  color: var(--stb-accent);
}

.stb-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.stb-cal-weekday {
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stb-text);
  padding: 4px 0;
}

.stb-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.stb-cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  border-radius: var(--stb-radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  color: var(--stb-text);
  border: 1px solid #01030d2e;
}
.stb-cal-day:hover:not(.disabled):not(.empty) {
  background: var(--stb-border);
  color: var(--stb-text);
}
.stb-cal-day.selected {
  background: var(--stb-accent) !important;
  color: #ffffff !important;
  font-weight: 600;
  border-color: var(--stb-accent2);
  box-shadow: 0 0 16px rgba(32, 155, 217, 0.3);
}
.stb-cal-day.today {
  border-color: var(--stb-accent);
  color: var(--stb-accent);
}
.stb-cal-day.disabled {
  color: var(--stb-border);
  cursor: not-allowed;
}
.stb-cal-day.empty {
  cursor: default;
}

/* ── DATE DISPLAY ── */
.stb-date-display {
  margin-top: 20px;
  padding: 14px 20px;
  background: var(--stb-surface2);
  border: 1px solid var(--stb-border);
  border-radius: var(--stb-radius-sm);
  font-size: 13px;
  color: var(--stb-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  transition: all 0.3s;
}
.stb-date-display.has-date {
  border-color: var(--stb-accent);
  color: var(--stb-text);
}
.stb-date-icon {
  color: var(--stb-accent);
  font-size: 16px;
}
.stb-date-icon img {
  width: 27px;
}
.stb-date-value {
  font-family: "regular-interna";
  font-weight: bold;
  font-size: 17px;
}

/* ── TABELA DE PREÇOS ── */
.stb-price-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.stb-price-col {
  padding: 16px;
  background: var(--stb-surface2);
  border: 2px solid var(--stb-border);
  border-radius: var(--stb-radius);
  transition:
    border-color 0.2s,
    background 0.2s;
  opacity: 0.3;
}
.stb-price-col--active {
  border-color: var(--stb-accent);
  background: color-mix(in srgb, var(--stb-accent) 6%, var(--stb-surface2));
  opacity: 1;
}
.stb-price-col-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--stb-text);
  margin-bottom: 10px;
  font-family: "regular-interna";
  height: 65px;
}
.stb-price-tier {
  font-size: 15px;
  color: var(--stb-muted);
  padding: 6px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
  transition:
    background 0.15s,
    color 0.15s;
  font-family: "regular-interna";
}
.stb-price-tier--active {
  background: color-mix(in srgb, var(--stb-accent) 12%, transparent);
  color: var(--stb-text);
}
.stb-price-tier strong {
  color: var(--stb-accent);
}
@media (max-width: 480px) {
  .stb-price-table {
    grid-template-columns: 1fr;
  }
}

/* ── TICKETS ── */
.stb-ticket-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.stb-ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--stb-surface2);
  border: 1px solid var(--stb-border);
  border-radius: var(--stb-radius);
  transition: border-color 0.2s;
  gap: 16px;
}
.stb-ticket-row.has-qty {
  border-color: var(--stb-accent);
}
.stb-ticket-info {
  flex: 1;
}
.stb-ticket-type {
  font-size: 26px;
  font-weight: bold;
  color: var(--stb-text);
  margin-bottom: 2px;
  font-family: "regular-interna";
}
.stb-ticket-desc {
  font-size: 17px;
  color: var(--stb-muted);
  margin-bottom: 4px;
  font-family: "regular-interna";
}
.stb-ticket-price {
  font-family: "regular-interna";
  font-size: 28px;
  font-weight: 600;
  color: var(--stb-accent);
}
.stb-ticket-price.stb-free {
  color: var(--stb-success);
}

.stb-qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.stb-qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--stb-border);
  background: var(--stb-bg);
  color: var(--stb-muted);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}
.stb-qty-btn:hover:not(:disabled) {
  border-color: var(--stb-accent);
  color: var(--stb-accent);
}
.stb-qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.stb-qty-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--stb-text);
  min-width: 24px;
  text-align: center;
}

/* ── TOTAL BOX ── */
.stb-total-box {
  padding: 20px 24px;
  background: #209bd9;
  border: 1px solid rgba(32, 155, 217, 0.25);
  border-radius: var(--stb-radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.stb-total-label {
  font-size: 20px;
  color: var(--stb-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
  letter-spacing: 2px;
}
.stb-total-detail {
  font-size: 17px;
  color: var(--stb-muted);
  margin-top: 4px;
  font-weight: bold;
  color: #fff;
}
.stb-total-value {
  font-family: "regular-interna";
  font-size: 28px;
  font-weight: 700;
  color: var(--stb-surface2);
}

/* ── PILL SWITCH ── */
.stb-pill-switch {
  display: flex;
  background: var(--stb-surface2);
  border: 1px solid var(--stb-border);
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 28px;
  gap: 4px;
}
.stb-pill-btn {
  flex: 1;
  padding: 10px 20px;
  border-radius: 50px;
  border: none;
  background: none;
  color: var(--stb-muted);
  font-family: "regular-interna";
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
}
.stb-pill-btn img {
  width: 35px;
  margin-right: 5px;
}

.stb-pill-btn.active {
  background: var(--stb-accent);
  color: #ffffff;
  font-weight: 600;
}

/* ── FORMS ── */
.stb-form-group {
  margin-bottom: 16px;
}
.stb-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stb-wrapper label {
  display: block;
  font-size: 17px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stb-muted);
  margin-bottom: 6px;
  font-weight: bold;
}

.stb-wrapper input[type="text"],
.stb-wrapper input[type="email"],
.stb-wrapper input[type="password"],
.stb-wrapper input[type="tel"],
.stb-wrapper input[type="date"],
.stb-wrapper select {
  width: 100%;
  padding: 12px 16px;
  background: var(--stb-bg) !important;
  background-color: var(--stb-bg) !important;
  border: 1px solid var(--stb-border) !important;
  border-radius: var(--stb-radius-sm);
  color: var(--stb-text);
  font-family: "regular-interna";
  font-size: 17px;
  outline: none;
  transition: border-color 0.2s;
}
.stb-wrapper input:focus,
.stb-wrapper select:focus {
  border-color: var(--stb-accent);
}
.stb-wrapper input::placeholder {
  color: var(--stb-soft);
}

.stb-divider {
  height: 1px;
  background: var(--stb-accent);
  margin: 24px 0;
}

/* ── CARD NUMBER ── */
.stb-card-number-wrap {
  position: relative;
}
.stb-card-brand {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--stb-muted);
  pointer-events: none;
  margin-top: 10px;
}
.stb-card-brand img {
  width: 30px;
  margin-top: 10px;
}

/* ── PIX ── */
.stb-pix-display {
  text-align: center;
  padding: 32px 24px;
  background: var(--stb-surface2);
  border: 1px solid var(--stb-border);
  border-radius: var(--stb-radius);
}
.stb-pix-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.stb-pix-title {
  font-family: "regular-interna";
  font-size: 20px;
  color: var(--stb-text);
  margin-bottom: 8px;
}
.stb-pix-desc {
  font-size: 17px;
  color: var(--stb-muted);
}
.stb-pix-code {
  background: var(--stb-bg);
  border: 1px dashed var(--stb-accent);
  border-radius: var(--stb-radius-sm);
  padding: 16px;
  font-family: monospace;
  font-size: 17px;
  color: var(--stb-accent);
  word-break: break-all;
  margin-bottom: 12px;
}
.stb-pix-copy {
  background: var(--stb-accent);
  color: #ffffff;
  border: none;
  border-radius: var(--stb-radius-sm);
  padding: 10px 24px;
  font-family: "regular-interna";
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.stb-pix-copy:hover {
  opacity: 0.85;
}

/* ── REVIEW ── */
.stb-review-section {
  margin-bottom: 24px;
}
.stb-review-title {
  font-size: 20px;

  color: var(--stb-accent);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--stb-accent);
}
.stb-review-title img {
  width: 27px;
  margin-right: 10px;
}
.stb-review-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.stb-review-row:last-child {
  border-bottom: none;
}
.stb-review-key {
  color: var(--stb-muted);
  font-size: 22px;
  display: flex;
  align-items: center;
}
.stb-review-key img {
  width: 22px;
  margin-right: 5px;
}
.stb-review-val {
  color: var(--stb-text);
  font-weight: bold;
  font-size: 20px;
}
.stb-review-val.stb-accent {
  color: var(--stb-accent);
  font-family: "regular-interna";
  font-size: 25px;
  font-weight: bold;
}
.stb-total-final-row {
  border-top: 1px solid var(--stb-border) !important;
  padding-top: 12px !important;
  margin-top: 4px;
}

/* ── SUCCESS ── */
.stb-success {
  text-align: center;
  padding: 16px 0;
}
.stb-success-icon {
  width: 72px;
  height: 72px;
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid var(--stb-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
  animation: stbPopIn 0.4s ease;
}
.stb-success-title {
  font-family: "regular-interna";
  font-size: 30px;
  font-weight: 700;
  color: var(--stb-text);
  margin-bottom: 8px;
}
.stb-success-subtitle {
  font-size: 14px;
  color: var(--stb-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}
.stb-success-details {
  background: var(--stb-surface2);
  border: 1px solid var(--stb-border);
  border-radius: var(--stb-radius);
  padding: 24px;
  text-align: left;
}

@keyframes stbPopIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ── BUTTONS ── */
.stb-btn-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.stb-btn {
  padding: 14px 28px;
  border-radius: var(--stb-radius-sm);
  font-family: "regular-interna";
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  letter-spacing: 0.03em;
}
.stb-btn-primary {
  background: var(--stb-accent);
  color: #ffffff;
  flex: 1;
}
.stb-btn-primary:hover:not(:disabled) {
  background: var(--stb-accent2);
  transform: translateY(-1px);
}
.stb-btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.stb-btn-ghost {
  background: #ffffff26;
  color: var(--stb-muted);
  border: 1px solid var(--stb-border);
}
.stb-btn-ghost:hover {
  border-color: var(--stb-accent);
  color: var(--stb-accent);
  text-decoration: none;
}
.stb-btn-success {
  background: var(--stb-success);
  color: #ffffff;
  flex: 1;
}

/* ── LOADING STATE ── */
.stb-btn.stb-loading {
  opacity: 0.7;
  cursor: wait;
  pointer-events: none;
}
.stb-btn.stb-loading::after {
  content: "";
}

/* ── LOADING OVERLAY ── */
@keyframes stb-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes stb-dots-fade {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

.stb-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 50;
  border-radius: var(--stb-radius);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.stb-loading-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.stb-spinner {
  position: relative;
  width: 52px;
  height: 52px;
}

.stb-spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 5px dotted var(--stb-accent);
  animation: stb-spin 1s linear infinite;
}

.stb-spinner-ring:nth-child(2) {
  inset: 9px;
  border-color: var(--stb-accent2);
  animation-duration: 0.7s;
  animation-direction: reverse;
}

.stb-loading-label {
  font-size: 13px;
  color: var(--stb-muted);
  letter-spacing: 0.03em;
}

/* ── FEEDBACK / ERROS ── */
.stb-alert {
  padding: 12px 16px;
  border-radius: var(--stb-radius-sm);
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}
.stb-alert.show {
  display: block;
}
.stb-alert-error {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #dc2626;
}
.stb-alert-success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #16a34a;
}
.stb-alert-warning {
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #b45309;
}

/* ============================================================
   ÁREA DO CLIENTE – Dashboard, Trocar Senha, Atualizar Dados
   ============================================================ */

/* Wrapper mais largo para a área do cliente */
.stb-acct-wrapper {
  max-width: 720px;
}

/* ── BOAS-VINDAS ── */
.stb-user-welcome {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.stb-user-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--stb-accent);
  color: #ffffff;
  font-family: "regular-interna";
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(32, 155, 217, 0.35);
}
.stb-user-name {
  font-family: "regular-interna";
  font-size: 22px;
  font-weight: 700;
  color: var(--stb-text);
  margin-bottom: 4px;
}
.stb-user-email {
  font-size: 15px;
  color: var(--stb-muted);
}

/* ── BOTÕES DE AÇÃO (dashboard) ── */
.stb-dash-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
.stb-btn-full {
  flex: 1;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.stb-btn-full:hover {
  text-decoration: none;
}

/* ── INGRESSOS (dashboard) ── */
.stb-my-tickets {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stb-my-ticket-card {
  border: 1px solid var(--stb-border);
  border-radius: var(--stb-radius);
  overflow: hidden;
  background: var(--stb-bg);
  transition: box-shadow 0.2s;
}
.stb-my-ticket-card:hover {
  box-shadow: var(--stb-shadow);
}
.stb-my-ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--stb-surface);
  border-bottom: 1px solid var(--stb-border);
  gap: 12px;
}
.stb-my-ticket-event {
  font-family: "regular-interna";
  font-size: 17px;
  font-weight: 700;
  color: var(--stb-text);
}
.stb-ticket-badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  flex-shrink: 0;
}
.stb-badge-active {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.stb-badge-used {
  background: rgba(96, 122, 142, 0.1);
  color: var(--stb-muted);
  border: 1px solid var(--stb-border);
}
.stb-my-ticket-body {
  padding: 16px 20px;
}
.stb-my-ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.stb-my-ticket-row:last-child {
  border-bottom: none;
}
.stb-my-ticket-key {
  font-size: 14px;
  color: var(--stb-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stb-my-ticket-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--stb-text);
}
.stb-accent-val {
  color: var(--stb-accent);
  font-family: "regular-interna";
  font-size: 17px;
}
.stb-my-ticket-total {
  border-top: 1px solid var(--stb-border) !important;
  margin-top: 6px;
  padding-top: 10px !important;
}
.stb-my-ticket-code {
  padding: 10px 20px;
  background: var(--stb-surface2);
  font-size: 13px;
  color: var(--stb-soft);
  font-family: monospace;
  letter-spacing: 0.08em;
  border-top: 1px dashed var(--stb-border);
}
.stb-my-ticket-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--stb-border);
  display: flex;
  justify-content: flex-end;
}
.stb-btn-download-bilhete {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--stb-accent);
  background: transparent;
  border: 1px solid var(--stb-accent);
  border-radius: var(--stb-radius-sm);
  padding: 6px 14px;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  text-decoration: none;
}
.stb-btn-download-bilhete:hover {
  background: #e2242c;
  border-color: #e2242c;
  color: #fff;
}
.stb-btn-download-bilhete:disabled {
  opacity: 0.6;
  cursor: wait;
  pointer-events: none;
}

/* ── SEÇÃO LABEL (formulários) ── */
.stb-acct-section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stb-accent);
  margin: 0 0 16px;
}
.stb-optional {
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--stb-soft);
}

/* ── GRID LOGRADOURO (3:1) ── */
.stb-form-row-logradouro {
  grid-template-columns: 3fr 1fr;
}
.stb-form-row-cep {
  grid-template-columns: 1fr 1fr;
  align-items: end;
}
.stb-form-row-uf {
  grid-template-columns: 120px 1fr;
}

/* Alinhamento do botão buscar cep com o input */
.stb-cep-action .stb-btn-ghost {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── TOGGLE DE VISIBILIDADE DE SENHA ── */
.stb-pass-wrap {
  position: relative;
}
.stb-pass-wrap input {
  padding-right: 44px;
}
.stb-wrapper .stb-pass-wrap .stb-pass-toggle {
  position: absolute !important;
  right: 12px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 4px !important;
  margin: 0 !important;
  cursor: pointer;
  color: var(--stb-muted);
  display: flex !important;
  align-items: center;
  line-height: 0;
}
.stb-pass-toggle:hover {
  color: var(--stb-text);
}
.stb-pass-toggle .stb-eye-hide {
  display: none;
}
.stb-pass-toggle--visible .stb-eye-show {
  display: none;
}
.stb-pass-toggle--visible .stb-eye-hide {
  display: flex;
}

/* ── INDICADOR DE FORÇA DE SENHA ── */
.stb-password-strength {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
}
.stb-strength-bar {
  flex: 1;
  height: 4px;
  background: var(--stb-accent);
  border-radius: 4px;
  overflow: hidden;
}
.stb-strength-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition:
    width 0.3s ease,
    background 0.3s ease;
}
.stb-strength-label {
  font-size: 12px;
  font-weight: 600;
  min-width: 72px;
  text-align: right;
}

/* ── RESPONSIVE ── */
@media (max-width: 520px) {
  .stb-card {
    padding: 28px 10px;
  }
  .stb-form-row {
    grid-template-columns: 1fr;
  }
  .stb-step-label {
    display: none;
  }
  .stb-ticket-row {
    flex-wrap: wrap;
  }
}

/* ── Modal ── */
.stb-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(26, 42, 58, 0.55);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.stb-modal-overlay.stb-modal-open {
  opacity: 1;
  pointer-events: all;
}
.stb-modal {
  background: var(--stb-bg);
  border-radius: var(--stb-radius);
  box-shadow: 0 16px 48px rgba(32, 155, 217, 0.18);
  padding: 2.5rem 2rem;
  max-width: 380px;
  width: calc(100% - 2rem);
  text-align: center;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.stb-modal-overlay.stb-modal-open .stb-modal {
  transform: translateY(0) scale(1);
}
.stb-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: var(--stb-success);
  margin: 0 auto 1.25rem;
}
.stb-modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--stb-text);
  margin: 0 0 0.6rem;
}
.stb-modal-text {
  font-size: 0.9rem;
  color: var(--stb-muted);
  margin: 0 0 1.75rem;
  line-height: 1.5;
}

/* ── BARRA DE SESSÃO (usuário logado) ── */
.stb-session-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 16px;
  background: var(--stb-surface);
  border: 1px solid var(--stb-border);
  border-radius: var(--stb-radius-sm);
  font-size: 14px;
  color: var(--stb-muted);
}
.stb-session-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stb-session-info img {
  width: 20px;
}
.stb-session-info svg {
  color: var(--stb-accent);
  flex-shrink: 0;
}
.stb-session-info strong {
  color: var(--stb-text);
}
.stb-session-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stb-btn-minha-conta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--stb-muted);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 13px;
  font-family: inherit;
  color: var(--stb-muted);
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
  white-space: nowrap;
}
.stb-btn-minha-conta:hover {
  background: rgba(32, 155, 217, 0.08);
  text-decoration: none;
  color: var(--stb-accent);
  border: 1px solid var(--stb-accent);
}
.stb-btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--stb-border);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 13px;
  font-family: inherit;
  color: var(--stb-muted);
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
  white-space: nowrap;
}
.stb-btn-logout:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}
.stb-btn-logout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── PRIMEIRO ACESSO – caixa informativa ── */
.stb-first-access-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(32, 155, 217, 0.08);
  border: 1px solid rgba(32, 155, 217, 0.25);
  border-radius: var(--stb-radius-sm);
  padding: 14px 16px;
  margin-bottom: 24px;
  color: var(--stb-text);
}
.stb-first-access-info svg {
  flex-shrink: 0;
  color: var(--stb-accent);
  margin-top: 2px;
}
.stb-first-access-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.stb-first-access-info strong {
  color: var(--stb-accent);
}

/* ── POLÍTICA DE SENHAS ── */
.stb-password-policy {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stb-password-policy li {
  font-size: 12px;
  color: var(--stb-text-muted, #888);
  padding-left: 16px;
  position: relative;
}
.stb-password-policy li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--stb-accent);
}

.stb-forgot-link-wrap {
  margin-top: 14px;
}
.stb-forgot-link {
  font-size: 13px;
  color: var(--stb-accent);
  text-decoration: none;
  transition: opacity 0.15s;
}
.stb-forgot-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.compra-ingresso-interno {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid var(--stb-border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.compra-ingresso-interno a {
  text-decoration: none;
  background: var(--stb-accent2);
  transform: translateY(-1px);
  display: flex;
  max-width: 190px;
  text-align: center;
}
.compra-ingresso-interno a:hover {
  color: var(--stb-surface);
  background-color: #fff;
}

@media (max-width: 600px) {
  .stb-step-icon {
    width: 35px;
    height: 35px;
  }
  .stb-step-icon img {
    width: 17px;
  }
  .stb-wrapper {
    padding: 40px 0;
  }
  .stb-ticket-type {
    font-size: 16px;
  }
  .stb-ticket-price {
    font-size: 17px;
  }
  .stb-total-label {
    font-size: 15px;
  }
  .stb-total-value {
    font-size: 20px;
  }
  .stb-review-key {
    font-size: 18px;
  }
  .stb-review-val {
    font-size: 16px;
  }
}
