/* Public booking access only. No changes to staff login or the booking workspace. */
.auth-booking-page {
  --auth-espresso: #301d14;
  --auth-copper: #985025;
  --auth-paper: #fffcf8;
  --auth-muted: #675b53;
  display: block !important;
  min-height: 100svh;
  padding: 0 !important;
}

.auth-booking-page .auth-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  min-height: 100svh;
  height: auto;
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top, 0px)) 20px max(24px, env(safe-area-inset-bottom, 0px));
  gap: 24px;
}

.auth-booking-page .auth-brand {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: center;
  color: var(--ink);
  overflow: visible;
}
.auth-booking-page .auth-brand::after { content: none; }
.auth-booking-page .auth-logo-wrap {
  box-sizing: border-box;
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  padding: 0;
  flex: 0 0 auto;
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px;
  background: var(--auth-paper);
  box-shadow: none;
}
.auth-booking-page .auth-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  flex: 0 0 auto;
  border-radius: inherit;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  filter: none;
}
body.auth-booking-page .auth-tagline {
  position: static;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  font-size: 1.125rem !important;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.auth-booking-page .auth-brand-copy { display: none; }
.auth-booking-page .auth-access { width: 100%; min-width: 0; }
.auth-booking-page .auth-card {
  width: 100%;
  margin: 0;
  padding: 28px 24px;
  border-radius: 24px;
  background: var(--auth-paper);
  animation: none;
}
.auth-booking-page .auth-card h2 {
  margin: 28px 0 8px;
  color: var(--ink);
  text-align: left;
  font: 700 clamp(1.5rem, 2.4vw, 2rem)/1.2 "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: -.04em;
}
.auth-booking-page .auth-card .auth-sub {
  margin: 0 0 28px;
  color: var(--auth-muted);
  text-align: left;
  font-size: 1rem !important;
  font-weight: 400;
  line-height: 1.6 !important;
}
.auth-booking-page .auth-tabs { padding: 4px; gap: 8px; margin: 0; }
.auth-booking-page .auth-tab { min-height: 48px; }
.auth-booking-page .auth-field { margin: 0 0 20px; }
.auth-booking-page .auth-field label {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: .875rem !important;
  line-height: 1.5 !important;
}
.auth-booking-page .auth-field input { min-height: 54px !important; font-weight: 400 !important; }
.auth-booking-page .auth-remember { min-height: 44px; margin: 4px 0 20px; font-size: .875rem; }
.auth-booking-page .auth-remember input { min-height: 20px; width: 20px; height: 20px; }
.auth-booking-page .btn-auth { min-height: 54px; background: var(--auth-copper); border-radius: 12px; }
.auth-booking-page .btn-auth:hover { transform: none; }
.auth-booking-page .auth-links { margin-top: 20px; gap: 12px; font-size: .9375rem; }
.auth-booking-page .auth-links a, .auth-booking-page .auth-link-btn { color: var(--auth-copper); }
.auth-booking-page .auth-links > span { text-align: center; }
.auth-booking-page .auth-msg { margin-top: 12px; font-size: .875rem !important; }
.auth-booking-page .auth-foot { margin: 24px 0 0; animation: none; }
.auth-booking-page .auth-foot .auth-privacy { display:inline-flex;align-items:center;min-height:44px;padding:4px 0; }
.auth-booking-page .auth-social { margin: 0; gap: 16px; }
.auth-booking-page :is(button, a):focus-visible { outline: 2px solid var(--auth-copper); outline-offset: 4px; }
.auth-booking-page .auth-overlay { align-items: center; overflow-y: auto; }

@media (min-width: 1024px) {
  .auth-booking-page .auth-shell {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    align-items: stretch;
    max-width: none;
    padding: 0;
    gap: 0;
  }
  .auth-booking-page .auth-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100svh;
    padding: clamp(40px, 4.8vw, 96px);
    text-align: left;
    color: var(--auth-paper);
    background: var(--auth-espresso);
  }
  .auth-booking-page .auth-logo-wrap { margin: 0 0 20px; width: 112px; height: 112px; }
  body.auth-booking-page .auth-tagline { color: var(--auth-paper); font-size: 1.375rem !important; }
  .auth-booking-page .auth-brand-copy {
    display: block;
    width: 100%;
    max-width: 720px;
    margin: auto 0;
    padding-block: 56px;
  }
  .auth-booking-page .auth-brand-copy h2 {
    max-width: 12ch;
    margin: 0 0 28px;
    color: var(--auth-paper);
    font-size: clamp(2.75rem, 4.2vw, 5rem);
    font-weight: 650;
    letter-spacing: -.055em;
    line-height: 1.1;
    text-wrap: balance;
  }
  body.auth-booking-page .auth-brand-copy > p {
    max-width: 44ch;
    color: #e6d8ce;
    font-size: 1.125rem !important;
    font-weight: 400;
    line-height: 1.75 !important;
  }
  .auth-booking-page .auth-brand-copy > div { display: grid; margin-top: 36px; gap: 16px; }
  body.auth-booking-page .auth-brand-copy b { color: var(--auth-paper); font-size: .9375rem !important; font-weight: 500; }
  .auth-booking-page .auth-brand-copy .auth-icon { color: #e5b58e; }
  .auth-booking-page .auth-access {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(40px, 5vw, 96px);
    background: var(--auth-paper);
  }
  .auth-booking-page .auth-card { max-width: 600px; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .auth-booking-page .auth-foot { width: 100%; max-width: 600px; margin: 32px 0 0; }
  .auth-booking-page .auth-social { justify-content: flex-start; }
  .auth-booking-page #form-cadastro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
  .auth-booking-page #form-cadastro > .auth-field { min-width: 0; margin: 0; }
  .auth-booking-page #form-cadastro > :is(.auth-field:first-child, .auth-actions, .auth-msg, .auth-links) { grid-column: 1 / -1; }
  .auth-booking-page #form-cadastro > .auth-msg { margin: 0; }
  .auth-booking-page #form-cadastro > .auth-links { margin-top: 0; }
}

@media (max-width: 374px) {
  .auth-booking-page .auth-shell { padding-inline: 12px; gap: 20px; }
  .auth-booking-page .auth-card { padding: 24px 16px; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .auth-booking-page .auth-brand, .auth-booking-page .auth-access { padding: 32px; }
  .auth-booking-page .auth-brand-copy { padding-block: 32px; }
  .auth-booking-page .auth-brand-copy h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); }
  .auth-booking-page .auth-brand-copy > div { margin-top: 24px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-booking-page *, .auth-booking-page *::before, .auth-booking-page *::after { animation: none; transition: none; }
}
