/* Mon compte — extends site-shell */

.account-page {
  --account-soft: #effafe;
  --account-muted: #688499;
}

.account-page main {
  background: #fff;
}

.account-page h1,
.account-page h2,
.account-page h3 {
  font-family: "Poppins", "Figtree", sans-serif;
}

.account-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, .92), transparent 34%),
    linear-gradient(100deg, #effafe 0%, #f8fcfd 52%, #e8f7f9 100%);
}

.account-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 28px 0 24px;
}

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

.account-kicker {
  width: max-content;
  margin: 0 0 12px;
  padding: 6px 17px;
  color: #2d8198;
  background: #ddf5f8;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  line-height: 1;
  text-transform: uppercase;
}

.account-hero h1 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(40px, 3.8vw, 56px);
  font-weight: 600;
  letter-spacing: -2.2px;
  line-height: 1.04;
}

.account-hero h1 span {
  display: block;
  color: var(--cyan);
}

.account-hero-lead {
  max-width: 640px;
  margin: 0;
  color: #486d88;
  font-size: 17px;
  line-height: 1.42;
}

.account-hero .benefit-bar {
  position: relative;
  z-index: 3;
}

.account-hero .account-benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.account-login {
  padding: 0 0 28px;
}

.account-login-patient {
  padding-top: 34px;
}

.account-login-pro {
  padding-bottom: 42px;
}

.account-login .container {
  max-width: min(calc(100% - 40px), 760px);
}

.account-login-patient .account-card-patient {
  max-width: 760px;
}

.account-card {
  background: #fff;
  border: 1px solid #dcecef;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(7, 59, 107, .05);
}

.account-card-pro {
  padding: 28px 28px 30px;
}

.account-card-pro h2,
.account-card-patient h2 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.45px;
}

.account-card-intro {
  margin: 0 0 22px;
  color: var(--account-muted);
  font-size: 13px;
  line-height: 1.45;
}

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

.account-field label {
  display: block;
  margin-bottom: 6px;
  color: #335f7b;
  font-size: 12px;
  font-weight: 700;
}

.account-field input,
.account-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #cbdde3;
  border-radius: 7px;
  outline: none;
  font: inherit;
  font-size: 13px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.account-field input:focus,
.account-field select:focus {
  border-color: var(--cyan-dark);
  box-shadow: 0 0 0 3px rgba(8, 180, 194, .14);
}

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

.account-forgot {
  color: #167e96;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.account-submit {
  width: 100%;
  min-height: 52px;
  border-radius: 7px;
}

.account-form-status {
  min-height: 18px;
  margin: 0;
  color: #417289;
  font-size: 12px;
  line-height: 1.4;
}

.account-form-status.is-error {
  color: #a22e4d;
  font-weight: 600;
}

.account-card-patient {
  padding: 26px 24px 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(8, 174, 192, .08), transparent 42%),
    #fff;
}

.account-patient-badge {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  color: var(--cyan-dark);
  background: #ddf5f8;
  border-radius: 50%;
}

.account-patient-badge .icon {
  width: 26px;
  height: 26px;
}

.account-card-patient p {
  margin: 0 0 12px;
  color: #607f93;
  font-size: 13px;
  line-height: 1.45;
}

.account-store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid #e3f0f3;
}

.account-store-badges a {
  display: block;
  width: min(100%, 150px);
}

.account-store-badges img {
  display: block;
  width: 100%;
  height: auto;
}

.account-patient-actions {
  display: grid;
  gap: 10px;
}

.account-patient-actions .button,
.account-patient-actions .button.secondary {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}

.account-spaces {
  padding: 0 0 46px;
}

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

.account-section-head h2 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -.5px;
}

.account-section-head p {
  margin: 0;
  color: var(--account-muted);
  font-size: 14px;
}

.account-space-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.account-space-card {
  min-height: 100%;
  padding: 18px 18px 20px;
  display: grid;
  gap: 10px;
  background: #fff;
  border: 1px solid #e1eff3;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(7, 59, 107, .04);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.account-space-card:hover {
  border-color: #c5e3ea;
  box-shadow: 0 10px 24px rgba(7, 59, 107, .07);
  transform: translateY(-1px);
}

.account-space-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--cyan-dark);
  background: #e8f8fb;
  border-radius: 10px;
}

.account-space-icon .icon {
  width: 22px;
  height: 22px;
}

.account-space-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}

.account-space-card p {
  margin: 0;
  color: #617f95;
  font-size: 12px;
  line-height: 1.45;
}

.account-space-link {
  margin-top: auto;
  color: #167e96;
  font-size: 12px;
  font-weight: 700;
}

.account-help {
  padding: 0 0 56px;
}

.account-help-panel {
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 8% 50%, rgba(8, 174, 192, .1), transparent 18%),
    linear-gradient(90deg, #f1fbfd, #eaf8fb);
  border: 1px solid #d8edf2;
  border-radius: 16px;
}

.account-help-panel .icon {
  width: 34px;
  height: 34px;
  color: var(--cyan-dark);
}

.account-help-panel h2 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 650;
}

.account-help-panel p {
  margin: 0;
  color: #607f93;
  font-size: 13px;
  line-height: 1.45;
}

.account-help-panel .button {
  min-width: 210px;
}

@media (max-width: 1080px) {
  .account-space-grid {
    grid-template-columns: 1fr;
  }

  .account-help-panel {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .account-help-panel .button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 820px) {
  .account-hero-inner {
    min-height: 0;
    padding: 32px 0 20px;
    text-align: center;
  }

  .account-kicker {
    margin-inline: auto;
  }

  .account-hero .account-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-card-pro,
  .account-card-patient {
    padding-inline: 20px;
  }

  .account-help-panel {
    padding: 22px 20px;
  }
}

@media (max-width: 620px) {
  .account-hero .account-benefit-grid {
    grid-template-columns: 1fr;
  }
}
