.account-page {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
}

.account-page > .site-footer {
  flex-shrink: 0;
}

.account-landscape {
  display: flex;
  min-height: 760px;
  flex: 1 0 auto;
  flex-direction: column;
  background-color: #ede2d4;
  background-image: linear-gradient(90deg, rgb(244 239 232 / 18%), rgb(244 239 232 / 62%)), url("../images/cabinet-wellness-background.png");
  background-position: center;
  background-size: cover;
}

.account-page .site-header {
  position: relative;
}

.account-main {
  display: grid;
  flex: 1;
  place-items: center;
  padding-top: 12px;
  padding-bottom: 72px;
}

.account-card {
  width: min(100%, 570px);
  padding: 40px 46px 42px;
  border: 1px solid rgb(255 255 255 / 74%);
  border-radius: 24px;
  background: rgb(244 239 232 / 76%);
  box-shadow: 0 14px 42px rgb(55 42 29 / 15%);
  backdrop-filter: blur(18px);
}

.account-heading {
  margin-bottom: 26px;
  text-align: center;
}

.account-heading p {
  margin-bottom: 7px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.account-heading h1 {
  margin-bottom: 10px;
  font-size: clamp(42px, 6vw, 60px);
  line-height: 1;
}

.account-heading span {
  display: block;
  color: var(--muted);
  font-size: 15px;
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 28px;
  border-bottom: 1px solid rgb(23 23 20 / 18%);
}

.account-tabs button {
  position: relative;
  min-height: 48px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.account-tabs button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  opacity: 0;
  transform: scaleX(.5);
  transition: opacity .2s ease, transform .2s ease;
}

.account-tabs button[aria-selected="true"] {
  color: var(--green-deep);
}

.account-tabs button[aria-selected="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.account-panel[hidden] {
  display: none;
}

.account-form {
  display: grid;
  gap: 17px;
}

.account-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 14px;
}

.account-field,
.account-checkbox {
  display: grid;
  gap: 7px;
  font-size: 14px;
}

.account-field > span {
  font-weight: 600;
}

.account-field input {
  width: 100%;
  height: 52px;
  border: 1px solid rgb(23 23 20 / 22%);
  border-radius: 27px;
  padding: 0 18px;
  color: var(--ink);
  background: rgb(255 252 248 / 76%);
  font-size: 15px;
}

.account-field input::placeholder {
  color: #85857c;
}

.account-password {
  position: relative;
}

.account-password input {
  padding-right: 88px;
}

.account-password button {
  position: absolute;
  top: 50%;
  right: 17px;
  border: 0;
  padding: 5px;
  color: var(--green);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  transform: translateY(-50%);
}

.account-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.account-checkbox {
  display: flex;
  align-items: flex-start;
  grid-template-columns: auto 1fr;
  gap: 9px;
  color: var(--muted);
  line-height: 1.35;
}

.account-checkbox input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--green);
}

.account-options a,
.account-checkbox a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-submit {
  width: 100%;
  margin-top: 3px;
}

.account-note,
.account-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.account-status {
  min-height: 18px;
  margin-top: 16px;
  color: var(--green-deep);
  font-weight: 600;
}

@media (max-width: 720px) {
  .account-landscape {
    min-height: 0;
    background-position: 42% center;
  }

  .account-main {
    width: min(100% - 28px, 570px);
    padding-top: 0;
    padding-bottom: 36px;
  }

  .account-card {
    padding: 30px 22px 32px;
    border-radius: 20px;
  }

  .account-heading h1 {
    font-size: 42px;
  }

  .account-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .account-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
