.account-auth-page {
  --auth-accent: #9f432f;
  --auth-line: #ded8d4;
  background: #fff;
  color: #1a1817;
}
.account-auth-header[hidden],
.account-auth-page [hidden],
.account-auth-page > .landing-header,
.account-auth-page > .site-footer { display: none !important; }

.account-auth-header {
  display: grid;
  place-items: center;
  min-height: 66px;
  background: linear-gradient(135deg, #ad4c37, #953b29);
}
.account-auth-header img { display: block; width: 122px; height: auto; filter: brightness(0) invert(1); }
.account-auth-page .demo-account-content { width: 100%; max-width: 560px; margin: auto; padding: 22px 20px 36px; }
.account-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 25px; border-bottom: 1px solid var(--auth-line); }
.account-auth-tabs button {
  min-height: 48px;
  padding: 10px 8px 12px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: #fff;
  color: #595552;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.account-auth-tabs [aria-selected="true"] { color: var(--auth-accent); border-bottom-color: currentColor; }
.account-auth-page main h1 { margin: 0 0 10px; font-size: clamp(25px, 5vw, 32px); line-height: 1.18; letter-spacing: -.7px; }
.account-auth-intro { margin: 0 0 22px; line-height: 1.5; color: #53504e; }
.account-auth-page label, .account-auth-page legend { display: block; margin: 16px 0 8px; font-weight: 650; font-size: 14px; }
.account-auth-page input:not([type="radio"]) {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 12px 14px;
  border: 1.5px solid #cbc4bf;
  border-radius: 12px;
  background: #fff;
  color: #1a1817;
  font: inherit;
  font-size: 16px;
}
.account-auth-page input::placeholder { color: #6c6662; }
.account-auth-page :focus-visible { outline: 2px solid var(--auth-accent); outline-offset: 3px; }
.account-password-wrap { position: relative; }
.account-password-wrap input { padding-inline-end: 70px !important; }
.account-password-toggle {
  position: absolute;
  inset: 50% 7px auto auto;
  transform: translateY(-50%);
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--auth-accent);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.account-auth-primary, .account-guest {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  padding: 11px 16px;
  border: 1px solid var(--auth-accent);
  border-radius: 12px;
  background: var(--auth-accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.account-phone-action { border-radius: 999px; }
.account-auth-primary:hover { background: #873a2b; }
.account-guest { background: #fff; border-color: #d1c8c2; color: #272321; }
.account-guest:hover { background: #fff7f3; border-color: var(--auth-accent); }
.account-auth-divider { display: flex; align-items: center; gap: 13px; margin: 23px 0 15px; color: #55514f; font-size: 13px; }
.account-auth-divider::before, .account-auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--auth-line); }
.account-auth-page .provider-options { display: grid; gap: 11px; }
.account-auth-page .provider-option {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 57px;
  padding: 9px 16px;
  border: 1px solid var(--auth-line);
  border-radius: 999px;
  background: #fff;
  color: #1a1817;
  text-align: left;
  font-weight: 650;
  cursor: pointer;
}
.account-auth-page .provider-option:hover { border-color: #b29c91; }
.account-auth-page [data-provider="facebook"] { background: #f5f8ff; }
.account-auth-page .provider-mark { display: grid; place-items: center; width: 28px; flex: 0 0 28px; }
.account-auth-page .provider-mark svg { width: 100%; display: block; }
.account-auth-page .provider-arrow { margin-left: auto; font-size: 23px; line-height: 1; }
.account-role-field { margin: 0 0 17px; padding: 0; min-width: 0; border: 0; }
.account-role-field legend { padding: 0; margin-top: 0; }
.account-auth-page .role-options, .account-name-row { display: grid; gap: 9px; }
.account-auth-page .role-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.account-name-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.account-auth-page .role-option {
  position: relative;
  margin: 0;
  padding: 13px 5px;
  min-height: 132px;
  border: 1px solid var(--auth-line);
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
}
.account-auth-page .role-option input { position: absolute; opacity: 0; }
.account-auth-page .role-option:has(input:checked) { border-color: var(--auth-accent); background: #fff4ef; }
.account-auth-page .role-option:has(input:focus-visible) { outline: 2px solid var(--auth-accent); outline-offset: 2px; }
.account-auth-page .role-content { display: grid; gap: 6px; justify-items: center; }
.account-auth-page .role-content small { color: #5a5450; font-size: 11px; }
.account-auth-page .role-symbol { width: 44px; height: 46px; display: grid; align-items: center; color: var(--auth-accent); }
.account-auth-page .role-symbol svg { display: block; width: 100%; }
.account-phone-row { display: flex; gap: 9px; }
.account-phone-row > span { display: flex; align-items: center; gap: 7px; padding-inline: 10px; border: 1.5px solid #cbc4bf; border-radius: 12px; white-space: nowrap; font-size: 14px; }
.account-auth-back { display: flex; gap: 6px; align-items: center; margin-bottom: 13px; padding: 3px 0; border: 0; background: transparent; color: var(--auth-accent); font-weight: 700; cursor: pointer; }
.account-auth-status { margin: 11px 0 0; color: #833825; font-size: 14px; }
.account-auth-status:empty { display: none; }

@media (max-width: 390px) {
  .account-auth-page .demo-account-content { padding-inline: 16px; }
  .account-auth-page .role-options { gap: 6px; }
  .account-auth-page .role-option { min-height: 119px; }
}
