/* Dedicated account experience. Separate filename prevents stale Bluehost cache. */
.account-page.active {
  display: block;
  min-height: calc(100vh - 76px);
  padding: clamp(34px, 5vw, 72px) 24px;
  background:
    radial-gradient(circle at 14% 12%, rgba(95, 145, 173, .18), transparent 34%),
    radial-gradient(circle at 88% 88%, rgba(22, 38, 48, .08), transparent 30%),
    #eef2f4;
}

.account-shell {
  width: min(1120px, 100%);
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(460px, 1.08fr);
  overflow: hidden;
  border: 1px solid rgba(22, 38, 48, .11);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(9, 22, 31, .16), 0 4px 14px rgba(9, 22, 31, .06);
}

.account-aside {
  position: relative;
  isolation: isolate;
  padding: clamp(42px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(150deg, #09131c 0%, #132836 58%, #1d4154 100%);
}

.account-aside::before,
.account-aside::after {
  content: '';
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(166, 205, 224, .18);
  border-radius: 50%;
}

.account-aside::before {
  width: 430px;
  height: 430px;
  right: -255px;
  top: -180px;
  box-shadow: 0 0 0 44px rgba(166, 205, 224, .035), 0 0 0 88px rgba(166, 205, 224, .025);
}

.account-aside::after {
  width: 250px;
  height: 250px;
  left: -170px;
  bottom: -120px;
}

.account-aside .brand {
  width: fit-content;
  font-size: 20px;
}

.account-aside .brand-monogram {
  border-color: rgba(255, 255, 255, .42);
  color: #d8edf7;
  background: rgba(255, 255, 255, .04);
}

.account-aside .eyebrow {
  margin-bottom: 16px;
  color: #91bed3;
  font-size: 12px;
  letter-spacing: .17em;
}

.account-aside h1 {
  max-width: 380px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(40px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: -.05em;
}

.account-aside p {
  max-width: 410px;
  margin: 0;
  color: #c5d2da;
  font-size: 16px;
  line-height: 1.65;
}

.account-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-aside li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #dce5ea;
  font-size: 14px;
}

.account-aside li:last-child { border-bottom: 0; }

.account-aside li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(145, 190, 211, .45);
  border-radius: 50%;
  color: #b9dfef;
  font-size: 12px;
}

.account-card {
  min-width: 0;
  padding: clamp(44px, 6vw, 76px);
  display: flex;
  flex-direction: column;
  background: #fff;
}

#auth-forms,
.account-session {
  width: 100%;
  max-width: 470px;
  margin: auto;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 0 42px;
  padding: 5px;
  border: 1px solid #dbe2e6;
  border-radius: 12px;
  background: #f2f5f6;
}

.auth-tabs button {
  min-height: 44px;
  padding: 10px 15px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #667680;
  font-size: 14px;
  font-weight: 700;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.auth-tabs button.active {
  color: #122632;
  background: #fff;
  box-shadow: 0 3px 12px rgba(18, 38, 50, .1);
}

#auth-forms .auth-form,
#reset-session .auth-form { display: none !important; }

#auth-forms .auth-form.active,
#reset-session .auth-form.active { display: block !important; }

.auth-form .eyebrow,
.account-session .eyebrow {
  margin: 0 0 11px;
  color: #527f96;
  font-size: 11px;
  letter-spacing: .16em;
}

.auth-form h2,
.account-session h2 {
  margin: 0 0 30px;
  color: #10222d;
  font-size: clamp(29px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.auth-form > label {
  display: block;
  margin: 0 0 20px;
  color: #263b47;
  font-size: 14px;
  font-weight: 700;
}

.auth-form input[type='email'],
.auth-form input[type='password'],
.auth-form input[type='text'] {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  padding: 13px 15px;
  border: 1px solid #cbd5da;
  border-radius: 9px;
  outline: 0;
  color: #10222d;
  background: #fff;
  font-size: 16px;
  box-shadow: 0 1px 2px rgba(16, 34, 45, .03);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.auth-form input::placeholder { color: #99a5ac; }

.auth-form input:focus {
  border-color: #5f91ad;
  box-shadow: 0 0 0 4px rgba(95, 145, 173, .14);
}

.auth-row {
  margin: 2px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.check-label {
  margin: 0 !important;
  display: flex !important;
  align-items: flex-start;
  gap: 9px;
  color: #687781 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.45;
}

.check-label input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  flex: 0 0 16px;
  accent-color: #426f88;
}

.terms { margin: 6px 0 24px !important; }

.text-button {
  padding: 5px 0;
  border: 0;
  color: #426f88;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.text-button:hover { color: #173f55; }

.account-card .button.wide {
  min-height: 52px;
  border-radius: 9px;
  color: #fff;
  background: #203f50;
  box-shadow: 0 10px 24px rgba(32, 63, 80, .2);
}

.account-card .button.wide:hover {
  background: #2d5a70;
  box-shadow: 0 12px 28px rgba(32, 63, 80, .25);
}

.auth-message {
  min-height: 24px;
  margin: 18px 0 0;
  color: #5e6d76;
  font-size: 13px;
  line-height: 1.5;
}

.auth-message.error { color: #a33b36; }
.auth-message.success { color: #18745d; }
.auth-message.setup { color: #426f88; }

.account-session > p:not(.eyebrow) {
  color: #687781;
  font-size: 16px;
  line-height: 1.6;
}

.account-status { color: #18745d !important; }

.session-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.session-actions .button { min-height: 48px; }
.session-actions .button.ghost { color: #426f88; }

.security-line {
  width: 100%;
  margin-top: auto;
  padding-top: 34px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: #7c8990;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.security-line span::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #5f91ad;
  vertical-align: 1px;
}

@media (max-width: 900px) {
  .account-page.active { padding: 24px; }
  .account-shell { grid-template-columns: 1fr; }
  .account-aside { min-height: auto; padding: 38px; gap: 32px; }
  .account-aside h1 { font-size: 40px; }
  .account-aside ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .account-card { min-height: 620px; padding: 48px 38px; }
}

@media (max-width: 560px) {
  .account-page.active { padding: 0; }
  .account-shell { border: 0; border-radius: 0; box-shadow: none; }
  .account-aside { padding: 32px 22px; }
  .account-aside h1 { font-size: 36px; }
  .account-aside ul { grid-template-columns: 1fr; }
  .account-card { min-height: 610px; padding: 40px 22px; }
  .auth-tabs { margin-bottom: 34px; }
  .auth-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .security-line { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-tabs button,
  .auth-form input { transition: none; }
}
