#tza-connect-form[hidden],
#tza-account-panel[hidden],
#tza-login-form[hidden],
#tza-register-form[hidden],
#tza-merchant-setup[hidden] {
  display: none !important;
}
.tza-header-auth {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 48px;
  padding: 8px 16px;
  background: #08090d;
  border-bottom: 1px solid #1e293b;
  box-sizing: border-box;
}
.tza-header-auth.is-docked {
  position: static;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  margin-left: 8px;
}
body.tza-has-authbar:not(:has(.tza-header-auth.is-docked)) {
  padding-top: 48px;
}
body.tza-has-authbar:not(:has(.tza-header-auth.is-docked)) header.sticky {
  top: 48px;
}
body.tza-has-authbar header.sticky > div {
  height: auto;
  min-height: 4rem;
  flex-wrap: wrap;
  row-gap: 8px;
}
.tza-who {
  margin-right: auto;
  color: #e2e8f0;
  font: 700 13px "Plus Jakarta Sans", system-ui, sans-serif;
}
.tza-header-auth button,
.tza-menu-auth button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  font: 700 13px "Plus Jakarta Sans", system-ui, sans-serif;
  cursor: pointer;
}
.tza-header-auth button.customer,
.tza-menu-auth button.customer {
  background: #10b981;
  color: #052e16;
}
.tza-header-auth button.merchant,
.tza-menu-auth button.merchant {
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid #334155;
}
.tza-header-auth button.logout,
.tza-menu-auth button.logout {
  background: #e11d48;
  color: #fff;
}
.tza-menu-auth {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid #1e293b;
}
.tza-menu-auth button {
  width: 100%;
  border-radius: 8px;
  text-align: left;
}
.tza-role-pick {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.tza-role-pick button {
  flex: 1;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid #1e293b;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font-weight: 700;
}
.tza-role-pick button.is-active {
  background: #10b98122;
  border-color: #10b98166;
  color: #6ee7b7;
}
#tza-role-note {
  margin-top: -4px;
}
.tza-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  margin: 0;
  padding: 10px 16px;
  background: #451a03;
  color: #ffedd5;
  font: 500 13px "Plus Jakarta Sans", system-ui, sans-serif;
  text-align: center;
}
.tza-banner a {
  color: #fdba74;
}
.tza-banner[hidden] {
  display: none !important;
}
.tza-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.tza-auth-overlay[hidden] {
  display: none !important;
}
.tza-auth-card {
  width: min(460px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  background:
    radial-gradient(120px 80px at 12% 0%, rgba(16, 185, 129, 0.28), transparent 70%),
    radial-gradient(160px 100px at 100% 8%, rgba(56, 189, 248, 0.18), transparent 70%),
    #0c1018;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 22px 22px 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.tza-auth-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.25);
}
.tza-gmark {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  border-radius: 50%;
  background: #fff;
  color: #1a73e8;
  font-weight: 800;
}
.tza-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 4px;
  color: #64748b;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tza-or::before,
.tza-or::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #243044;
}
#tza-reset-form[hidden],
#tza-login-form[hidden],
#tza-register-form[hidden] {
  display: none !important;
}
#tza-auth-root[data-intent="customer"] #tza-login-form h2 {
  display: none;
}
.tza-auth-error.is-ok {
  color: #6ee7b7;
}
#tza-google-panel[hidden] {
  display: none !important;
}
.tza-google {
  width: 100%;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #dadce0;
  background: #fff;
  color: #1f2937;
  font: 700 15px "Plus Jakarta Sans", system-ui, sans-serif;
  cursor: pointer;
}
.tza-auth-tabs[hidden] {
  display: none !important;
}
.tza-auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.tza-auth-tabs button {
  flex: 1;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid #1e293b;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
}
.tza-auth-tabs button.is-active {
  background: #10b98122;
  border-color: #10b98166;
  color: #6ee7b7;
}
.tza-auth-card h2 {
  margin: 0 0 6px;
  font: 800 22px Outfit, sans-serif;
  color: #fff;
}
.tza-auth-card p {
  margin: 0 0 14px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.45;
}
.tza-auth-card label {
  display: block;
  margin: 10px 0 6px;
  font-size: 12px;
  color: #94a3b8;
}
.tza-auth-card input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #090a0f;
  color: #fff;
  font: 500 14px "Plus Jakarta Sans", system-ui, sans-serif;
}
.tza-auth-card input[name="anonKey"],
.tza-auth-card input[name="url"] {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
}
.tza-auth-card form > button:not(.tza-auth-link) {
  width: 100%;
  margin-top: 16px;
  padding: 11px;
  border: 0;
  border-radius: 10px;
  background: #10b981;
  color: #052e16;
  font-weight: 700;
  cursor: pointer;
}
#tza-send-code {
  position: relative;
  z-index: 3;
  min-height: 48px;
  touch-action: manipulation;
}
#tza-send-code:disabled {
  opacity: 0.65;
}
.tza-auth-error {
  margin-top: 12px;
  color: #fca5a5;
  font-size: 13px;
}
.tza-auth-error[hidden] {
  display: none !important;
}
.tza-auth-close,
.tza-auth-link {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: transparent;
  border: 0;
  color: #64748b;
  cursor: pointer;
  text-align: center;
  font: 500 13px "Plus Jakarta Sans", system-ui, sans-serif;
  text-decoration: none;
}
.tza-auth-link:hover,
.tza-auth-close:hover {
  color: #cbd5e1;
}
.tza-setup-body {
  margin: 0;
  background: #090a0f;
  color: #e2e8f0;
  font: 500 15px "Plus Jakarta Sans", system-ui, sans-serif;
}
.tza-setup {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}
.tza-kicker {
  margin: 0 0 8px;
  color: #34d399;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tza-setup h1 {
  margin: 0 0 12px;
  font: 800 36px Outfit, sans-serif;
  color: #fff;
}
.tza-lead {
  color: #94a3b8;
  line-height: 1.5;
}
.tza-setup ol {
  padding-left: 18px;
  line-height: 1.55;
}
.tza-setup li {
  margin: 0 0 12px;
}
.tza-setup a {
  color: #6ee7b7;
}
.tza-setup code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #d1fae5;
  word-break: break-all;
}
.tza-setup-back {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #10b981;
  color: #052e16 !important;
  text-decoration: none;
  font-weight: 700;
}
