/* Product shell and classes passed through Clerk's supported appearance API. */
.auth-page {
  --wtk-font-reading-serif: ui-serif, "New York", "Noto Serif", Georgia, serif;
  --auth-on-accent: light-dark(#fff, #111);
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--wtk-font-reading-serif);
  line-height: 1.5;
}
html:has(.auth-page) { font-size: 96.875%; }
.auth-brand { border-top: 4px solid var(--ourmenu); border-bottom: 1px solid var(--sep); }
.auth-brand > div { max-width: 1120px; margin-inline: auto; padding: 16px 20px; }
.auth-brand a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.auth-panel { box-sizing: border-box; width: calc(100% - 40px); max-width: 400px; margin: 64px auto 48px; padding: 0; }
.auth-panel .auth-terms { margin: 24px 0 0; color: var(--text-2); font-size: 0.875rem; line-height: 1.5; }
.auth-panel .auth-terms a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.auth-panel [data-auth-status]:empty { display: none; }
.auth-panel [data-auth-status] { margin-block: 24px 0; }
.auth-panel .auth-clerk-root, .auth-panel .auth-clerk-box { width: 100%; max-width: 100%; }
.auth-panel .auth-clerk-box, .auth-panel .auth-clerk-card { background: transparent; box-shadow: none; border: 0; border-radius: 0; }
.auth-panel .auth-clerk-card { padding: 0; gap: 24px; }
.auth-panel .auth-clerk-header { text-align: start; }
.auth-panel .auth-clerk-title { color: var(--text); font-family: inherit; font-size: var(--wtk-type-editor-title, 1.75rem); font-weight: 700; line-height: 1.2; letter-spacing: normal; }
.auth-panel .auth-clerk-subtitle { color: var(--text-2); font-size: 1rem; }
.auth-panel .auth-clerk-label { font: inherit; }
.auth-panel .auth-clerk-input { box-sizing: border-box; min-height: 44px; font: inherit; font-size: max(16px, 1rem); background: var(--surface); color: var(--text); border: 1px solid var(--sep); padding: 10px 12px; }
.auth-panel .auth-clerk-primary { min-height: 44px; font: inherit; font-weight: 600; background: var(--ourmenu); background-image: none; color: var(--auth-on-accent); box-shadow: none; text-transform: none; }
.auth-panel .auth-clerk-primary::before, .auth-panel .auth-clerk-primary::after { background-image: none; box-shadow: none; }
.auth-panel .auth-clerk-codes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; gap: 8px; }
.auth-panel .auth-clerk-code-container { min-width: 0; width: 100%; }
.auth-panel .auth-clerk-code-field, .auth-panel .auth-clerk-code-container > [data-input-otp-container] { width: 100%; }
.auth-panel .auth-clerk-code { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; height: 44px; padding: 8px 0; font: inherit; font-size: max(16px, 1rem); color: var(--text); background: var(--surface); border: 1px solid var(--sep); border-radius: 6px; }
/* Keep the complete provider footer visible, including Secured by Clerk. */
.auth-panel .auth-clerk-footer { margin-top: 32px; padding: 16px 0 0; border-top: 1px solid var(--sep); background: transparent; border-radius: 0; }
@media (max-width: 700px) {
  .auth-panel { margin-top: 32px; }
  .auth-brand > div { padding-block: 12px; }
}
