.account-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 86px;
  border-bottom: 1px solid rgba(220, 231, 238, 0.72);
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 106, 0, 0.09), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(0, 183, 232, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fafb 100%);
}

.account-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(17, 25, 35, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 25, 35, 0.014) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 74%, transparent 100%);
  pointer-events: none;
}

.account-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.72fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
}

.account-copy {
  max-width: 620px;
}

.account-title {
  max-width: 580px;
  margin-bottom: 20px;
  color: #18202a;
  font-size: clamp(2.68rem, 4.6vw, 4.35rem);
  line-height: 1.08;
  font-weight: 620;
}

.account-title span {
  display: block;
}

.account-lead {
  max-width: 560px;
  color: #5b6472;
  font-size: 1.08rem;
  line-height: 1.82;
}

.account-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.account-proof-list span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(220, 231, 238, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  color: #4f5c69;
  font-size: 0.9rem;
  font-weight: 680;
  box-shadow: 0 10px 24px rgba(35, 47, 59, 0.035);
}

.account-auth-card {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(220, 231, 238, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 68px rgba(35, 47, 59, 0.11);
  backdrop-filter: blur(14px);
}

.account-auth-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 246, 238, 0.66), transparent 52%);
  pointer-events: none;
}

.account-auth-head {
  margin-bottom: 18px;
}

.account-auth-head p {
  margin-bottom: 6px;
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 760;
}

.account-auth-head h2 {
  margin-bottom: 0;
  color: #18202a;
  font-size: 1.58rem;
  line-height: 1.2;
  font-weight: 680;
}

.account-status-banner {
  display: none;
  margin: 0 0 18px;
  padding: 14px 15px;
  border-radius: var(--radius-sm);
  color: #4f5c69;
  font-size: 0.94rem;
  line-height: 1.58;
  font-weight: 680;
}

.account-status-banner.is-visible {
  display: block;
}

.account-status-banner.is-info {
  border: 1px solid rgba(220, 231, 238, 0.9);
  background: rgba(247, 250, 251, 0.96);
}

.account-status-banner.is-error {
  border: 1px solid rgba(216, 95, 24, 0.18);
  background: #fff4ec;
  color: #b94800;
}

.account-status-banner.is-success {
  border: 1px solid rgba(27, 163, 112, 0.18);
  background: #eefaf5;
  color: #176b4d;
}

.account-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 20px;
  padding: 5px;
  border: 1px solid rgba(220, 231, 238, 0.86);
  border-radius: var(--radius);
  background: rgba(247, 250, 251, 0.86);
}

.account-tab {
  min-height: 38px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #52606d;
  font-weight: 720;
}

.account-tab:hover,
.account-tab:focus-visible {
  color: var(--primary-dark);
  outline: none;
}

.account-tab.is-active {
  background: #ffffff;
  color: #d85f18;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 22px rgba(35, 47, 59, 0.07);
}

.account-social-login {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.account-social-login[hidden],
.account-divider[hidden] {
  display: none;
}

.account-google-render,
.account-google-button {
  min-height: 44px;
}

.account-google-render > div {
  width: 100% !important;
}

.account-google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 1px solid rgba(220, 231, 238, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: #24303d;
  font-size: 0.94rem;
  font-weight: 720;
  box-shadow: 0 10px 26px rgba(35, 47, 59, 0.045);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.account-google-button:hover,
.account-google-button:focus-visible {
  border-color: rgba(255, 106, 0, 0.24);
  box-shadow: 0 14px 32px rgba(35, 47, 59, 0.07);
  transform: translateY(-1px);
  outline: none;
}

.account-google-button:disabled {
  opacity: 0.68;
  pointer-events: none;
}

.account-google-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(220, 231, 238, 0.95);
  border-radius: 50%;
  background: #ffffff;
  color: #d85f18;
  font-size: 0.86rem;
  font-weight: 780;
}

.account-google-message {
  margin-top: 0;
}

.account-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #7a8794;
  font-size: 0.82rem;
  font-weight: 680;
}

.account-divider::before,
.account-divider::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background: rgba(220, 231, 238, 0.86);
}

.account-form {
  display: none;
  gap: 14px;
}

.account-form.is-active {
  display: grid;
}

.account-form .form-field label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 0.92rem;
}

.account-form .form-field label span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 620;
}

.account-form input {
  background: rgba(255, 255, 255, 0.94);
}

.account-form input:focus {
  border-color: rgba(255, 106, 0, 0.46);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
  outline: none;
}

.account-form-note {
  margin: 2px 0 0;
  color: #65717f;
  font-size: 0.9rem;
  line-height: 1.58;
}

.account-submit {
  width: 100%;
  margin-top: 4px;
  border-radius: var(--radius);
}

.account-submit.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.account-message {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: #4f5c69;
  font-size: 0.9rem;
  line-height: 1.55;
}

.account-message.is-visible {
  display: block;
}

.account-message.is-info {
  border: 1px solid rgba(220, 231, 238, 0.9);
  background: rgba(247, 250, 251, 0.94);
}

.account-message.is-error {
  border: 1px solid rgba(216, 95, 24, 0.18);
  background: #fff4ec;
  color: #b94800;
}

.account-message.is-success {
  border: 1px solid rgba(27, 163, 112, 0.18);
  background: #eefaf5;
  color: #176b4d;
}

@media (max-width: 980px) {
  .account-hero {
    padding: 48px 0 62px;
  }

  .account-shell {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .account-copy {
    max-width: 720px;
  }

  .account-auth-card {
    max-width: 560px;
  }
}

@media (max-width: 620px) {
  .account-hero {
    padding: 34px 0 46px;
  }

  .account-title {
    font-size: clamp(2.04rem, 10vw, 2.72rem);
  }

  .account-lead {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .account-proof-list {
    gap: 8px;
  }

  .account-proof-list span {
    min-height: 34px;
    font-size: 0.82rem;
  }

  .account-auth-card {
    padding: 18px;
  }
}
