.account-page-body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 12% 18%, #dceaff 0, transparent 35%),
    radial-gradient(ellipse at 84% 78%, #f8e9e3 0, transparent 34%),
    #f5f8ff;
}

.account-header .header-main {
  justify-content: space-between;
}

.account-header-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.account-header-links a {
  color: #405472;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.account-header-links a:hover {
  color: #155eef;
}

.account-page {
  min-height: calc(100vh - 160px);
  display: grid;
  align-items: center;
  padding-block: 56px;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
}

.account-intro {
  max-width: 560px;
}

.account-kicker {
  margin-bottom: 12px;
  color: #155eef;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
}

.account-intro h1 {
  margin: 0 0 18px;
  color: #172b50;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -2px;
}

.account-intro h1 span {
  color: #155eef;
}

.account-intro > p:not(.account-kicker) {
  max-width: 480px;
  color: #5e6f8a;
  font-size: 16px;
  line-height: 1.7;
}

.account-benefits {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.account-benefits > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.account-benefits > div > span {
  width: 24px;
  height: 24px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #1b7a50;
  background: #ddf5e8;
  font-size: 13px;
  font-weight: 900;
}

.account-benefits p {
  margin: 1px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.account-benefits strong {
  color: #263a5a;
}

.account-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #e4eaf5;
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 70px rgba(31, 57, 99, .12);
}

.account-card h2 {
  margin: 0 0 8px;
  color: #1a2e50;
  font-size: 27px;
  letter-spacing: -.7px;
}

.account-subtitle {
  margin: 0 0 24px;
  color: #6b7890;
  font-size: 13px;
  line-height: 1.55;
}

.account-form {
  display: grid;
  gap: 16px;
}

.account-form label {
  display: grid;
  gap: 8px;
  color: #3e4b63;
  font-size: 12px;
  font-weight: 750;
}

.account-form input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #d5deeb;
  border-radius: 10px;
  color: #172033;
  background: #fff;
  font: inherit;
  font-size: 14px;
}

.account-form input:focus {
  outline: 3px solid #155eef2b;
  border-color: #155eef;
}

.account-submit {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #155eef;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.account-submit:hover {
  color: #fff;
  background: #0c4bd1;
}

.account-switch {
  margin: 18px 0 0;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

.account-switch button {
  padding: 0;
  border: 0;
  color: #155eef;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.account-switch button:hover {
  text-decoration: underline;
}

.account-status {
  min-height: 20px;
  margin: 14px 0 0;
  color: #24744d;
  font-size: 13px;
  line-height: 1.45;
}

.account-status.error {
  color: #bd3434;
}

.customer-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.customer-heading .account-kicker {
  margin-bottom: 8px;
}

.account-signout {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #e0e7f2;
  border-radius: 9px;
  color: #405472;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.account-signout:hover {
  color: #155eef;
  border-color: #b7cafa;
}

.customer-orders {
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow: auto;
}

.customer-order {
  padding: 15px;
  border: 1px solid #e7edf6;
  border-radius: 12px;
  background: #fbfcff;
}

.customer-order-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #263a5a;
  font-size: 13px;
  font-weight: 800;
}

.customer-order p {
  margin: 9px 0 0;
  color: #66758e;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.customer-order-total {
  color: #1d376b !important;
  font-size: 14px !important;
  font-weight: 800;
}

.account-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px max(24px, calc((100% - 1180px) / 2));
  border-top: 1px solid #e5eaf2;
  color: #718099;
  background: rgba(255, 255, 255, .8);
  font-size: 12px;
}

.account-footer a {
  color: #1d376b;
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 800px) {
  .account-page {
    min-height: auto;
    padding-block: 42px;
  }

  .account-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .account-intro h1 {
    font-size: clamp(36px, 9vw, 54px);
  }

  .account-benefits {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .account-header-links {
    gap: 12px;
  }

  .account-header-links a {
    font-size: 11px;
  }

  .account-page {
    width: min(100% - 28px, 560px);
    padding-block: 30px;
  }

  .account-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .account-benefits {
    grid-template-columns: 1fr;
  }

  .account-footer {
    padding-inline: 16px;
  }
}
