/* Ama SI for Doctors: the look of the design (navy and dusk hero, purple → orange accents, white cards). */
:root {
  --navy: #0b1230;
  --navy-2: #151d4a;
  --ink: #0f1733;
  --muted: #56607d;
  --faint: #8a93ad;
  --line: #e4e7f0;
  --bg: #f5f7fc;
  --panel: #ffffff;
  --purple: #6d3df2;
  --purple-2: #8b5cf6;
  --blue: #1f6ff2;
  --orange: #f7931e;
  --green: #12a46b;
  --red: #e5484d;
  --amber: #c27a00;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 51, 0.05), 0 10px 28px rgba(15, 23, 51, 0.08);
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
}
p {
  margin: 0;
}
a {
  color: var(--blue);
}
.boot {
  padding: 40px;
  color: var(--muted);
}
svg.i {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
svg.i.big {
  width: 44px;
  height: 44px;
  color: var(--purple);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn:focus-visible,
.nav a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(109, 61, 242, 0.35);
  outline-offset: 2px;
}
.btn.big {
  height: 52px;
  padding: 0 24px;
  font-size: 16px;
}
.btn.wide {
  width: 100%;
}
.btn.purple {
  color: #fff;
  background: linear-gradient(90deg, #6d3df2, #8b5cf6 55%, #f97316);
  box-shadow: 0 8px 20px rgba(109, 61, 242, 0.3);
}
.btn.blue-orange {
  color: #fff;
  background: linear-gradient(90deg, #1f6ff2, #6d5cf6 55%, #f7931e);
  box-shadow: 0 8px 20px rgba(31, 111, 242, 0.25);
}
.btn.ghost {
  color: var(--purple);
  background: #fff;
  border-color: #d9cffd;
}
.btn.outline-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.75);
}
.btn.green {
  color: #fff;
  background: var(--green);
}
.btn.blue {
  color: #fff;
  background: var(--blue);
}
.btn.link,
button.link {
  border: none;
  background: none;
  color: var(--red);
  font: inherit;
  cursor: pointer;
  padding: 0 0 0 8px;
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}
.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.brand-name {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.si,
.grad {
  background: linear-gradient(90deg, #ff4fa3, #a14cff 55%, #4a6bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-for {
  font-size: 18px;
  color: var(--muted);
  margin-left: 6px;
}
.nav {
  display: flex;
  gap: 26px;
  margin-left: 18px;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a.on,
.nav a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.who {
  display: flex;
  flex-direction: column;
  text-align: right;
  line-height: 1.25;
}
.who small {
  color: var(--muted);
}

/* hero */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 70% at 70% 30%, rgba(214, 108, 140, 0.35), transparent 70%),
    radial-gradient(ellipse 50% 60% at 15% 100%, rgba(80, 60, 220, 0.35), transparent 70%),
    linear-gradient(120deg, #0b1230 0%, #141a48 45%, #3a2350 75%, #2a1838 100%);
  overflow: hidden;
}
.hero-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 26px 28px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
}
.hero-copy {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(38px, 4.3vw, 58px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lead {
  font-size: 19px;
  opacity: 0.95;
  max-width: 34ch;
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tick {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #8b7cf6;
}
.tick svg.i {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-facts {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.hero-facts div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-facts svg.i {
  width: 26px;
  height: 26px;
}
.hero-facts span {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.3;
}
.hero-facts b {
  font-size: 15px;
  opacity: 1;
}
.hero-photo {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  margin: -26px -40px -28px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: 45% 20%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 80%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 80%, transparent 100%);
}
.hero-cards {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.95fr);
  gap: 14px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* form cards */
.form-card {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(5, 10, 40, 0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-margin-top: 90px;
}
.form-card h2 {
  font-size: 19px;
}
.form-card.login h2,
.form-card.login > .sub {
  text-align: center;
}
.sub {
  color: var(--muted);
  font-size: 13.5px;
}
.stepper {
  list-style: none;
  margin: 4px 0 2px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.stepper::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--line);
}
.stepper li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}
.stepper span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef0f6;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}
.stepper svg.i {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}
.stepper li.on span {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(109, 61, 242, 0.15);
}
.stepper li.done span {
  background: var(--green);
  color: #fff;
}
.stepper small {
  font-size: 10.5px;
  text-align: center;
  line-height: 1.2;
  color: var(--muted);
}
.stepper li.on small {
  color: var(--ink);
  font-weight: 600;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.field:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 242, 0.12);
}
.field > svg.i {
  color: var(--muted);
}
.field-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 6px;
}
.field small,
.select small {
  display: block;
  width: 100%;
  font-size: 11.5px;
  color: var(--muted);
}
.field small i {
  color: var(--red);
  font-style: normal;
}
.field input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 0;
  font: inherit;
  font-size: 14.5px;
  background: none;
}
.flag {
  font-size: 15px;
}
.eye {
  border: none;
  background: none;
  cursor: pointer;
  color: var(--muted);
  display: grid;
  padding: 4px;
}
.select {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
select,
textarea,
.select input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14.5px;
  background: #fff;
  color: var(--ink);
}
textarea {
  resize: vertical;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.choices {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  margin: 0;
  padding: 8px 12px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.choices legend {
  font-size: 11.5px;
  color: var(--muted);
  padding: 0 4px;
}
.choices label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
}
input[type='checkbox'] {
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
}
.agree {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.switch,
.row-between {
  font-size: 13px;
  text-align: center;
  color: var(--muted);
}
.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faint {
  color: var(--faint);
  font-size: 13px;
}
.notice {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
}
.notice.error {
  background: #fde8e8;
  color: #b42318;
}
.notice.info {
  background: #e9f1fe;
  color: #1557d6;
}

/* sections */
.content {
  max-width: 1480px;
  margin: 0 auto;
  padding: 18px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.strip {
  max-width: 1480px;
  margin: 0 auto;
  padding: 18px 28px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  scroll-margin-top: 90px;
}
.feature {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.feature b {
  display: block;
  margin-bottom: 2px;
}
.feature p {
  color: var(--muted);
  font-size: 14px;
}
.feature-icon,
.step-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  color: #fff;
}
.feature-icon svg.i,
.step-icon svg.i {
  width: 26px;
  height: 26px;
}
.purple {
  background: linear-gradient(145deg, #8b5cf6, #6d3df2);
}
.pink {
  background: linear-gradient(145deg, #f472b6, #e83e8c);
}
.green {
  background: linear-gradient(145deg, #34d399, #12a46b);
}
.blue {
  background: linear-gradient(145deg, #3b8bff, #1f5fe0);
}
.orange {
  background: linear-gradient(145deg, #ffb347, #f2711c);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  scroll-margin-top: 90px;
}
.card h2 {
  font-size: 22px;
  margin-bottom: 6px;
}
.two {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.steps {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.steps .step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.steps p {
  color: var(--muted);
  font-size: 14px;
}
.why {
  background: linear-gradient(160deg, #eef3ff, #f3eeff);
}
.checks {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.dot-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  margin-top: 1px;
}
.dot-check svg.i {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}
.spec-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 10px;
}
.spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
}
.spec svg.i {
  width: 26px;
  height: 26px;
  color: var(--blue);
}
.faqs details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.faqs details:last-child {
  border-bottom: none;
}
.faqs summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}
.faqs summary::-webkit-details-marker,
.faqs summary::marker {
  display: none;
  content: '';
}
.faqs details[open] summary svg {
  transform: rotate(180deg);
}
.faqs details p {
  margin-top: 8px;
  color: var(--muted);
}
.foot {
  max-width: 1480px;
  margin: 0 auto;
  padding: 20px 28px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.foot .brand-name {
  font-size: 22px;
}
.foot .brand img {
  width: 34px;
  height: 34px;
}

/* dashboard */
.dash {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.banner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  color: #fff;
}
.banner svg.i {
  width: 26px;
  height: 26px;
}
.banner b {
  font-size: 16px;
}
.banner p {
  opacity: 0.95;
}
.banner .note {
  margin-top: 6px;
  font-weight: 600;
}
.banner.amber {
  background: linear-gradient(120deg, #f59e0b, #f97316);
}
.banner.red {
  background: linear-gradient(120deg, #e5484d, #c2410c);
}
.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  font: inherit;
  padding: 10px 14px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.tabs button.on {
  color: var(--purple);
  border-bottom-color: var(--purple);
  font-weight: 650;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.docs-split {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}
.list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
}
.list h3 {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 10px 4px 4px;
}
.appt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  background: none;
  border-radius: 12px;
  padding: 10px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.appt:hover {
  background: var(--bg);
}
.appt.on {
  background: #f1ecff;
}
.appt-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.appt-main small {
  color: var(--muted);
}
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ece6ff;
  color: var(--purple);
  font-weight: 700;
}
.avatar.big {
  width: 54px;
  height: 54px;
  font-size: 20px;
}
.unread {
  margin-left: 8px;
  font-size: 11px;
  background: var(--red);
  color: #fff;
  padding: 1px 6px;
  border-radius: 999px;
}
.pill {
  font-size: 12px;
  font-weight: 650;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  color: #fff;
}
.pill.amber {
  background: #f59e0b;
}
.pill.grey {
  background: #94a3b8;
}
.pill.red {
  background: var(--red);
}
.detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.detail-head > div {
  flex: 1;
}
.detail h3 {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}
.symptoms {
  background: var(--bg);
  border-radius: 12px;
  padding: 12px 14px;
  white-space: pre-wrap;
}
.shared {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.shared table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
  font-size: 14px;
}
.shared td {
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
}
.shared td:last-child {
  text-align: right;
  font-weight: 600;
}
td.warning {
  color: var(--amber);
}
td.danger {
  color: var(--red);
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
  padding: 4px 2px;
}
.msg {
  max-width: 78%;
  padding: 10px 12px;
  border-radius: 14px;
  white-space: pre-wrap;
}
.msg small {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  opacity: 0.75;
}
.msg.user {
  align-self: flex-start;
  background: var(--bg);
}
.msg.doctor {
  align-self: flex-end;
  background: var(--purple);
  color: #fff;
}
.composer {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.composer .btn {
  height: 46px;
  padding: 0 14px;
}
.profile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
}
.docs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.doc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.doc-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #ece6ff;
  color: var(--purple);
}
.doc-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.doc-file a {
  word-break: break-all;
}
.upload input {
  display: none;
}
.review {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}
.review td {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.review td:first-child {
  color: var(--muted);
  width: 40%;
}
.empty,
.empty-state {
  color: var(--muted);
  padding: 30px;
  text-align: center;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 50;
  max-width: calc(100vw - 32px);
}
.toast.error {
  background: #b42318;
}

/* narrower screens */
@media (max-width: 1280px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  }
  .hero-cards {
    grid-column: 1 / -1;
  }
  .nav {
    display: none;
  }
}
@media (max-width: 960px) {
  .hero-inner,
  .hero-cards,
  .two,
  .split,
  .docs-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-photo {
    display: none;
  }
  .strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brand-for {
    display: none;
  }
}
@media (max-width: 600px) {
  .top-inner,
  .hero-inner,
  .content,
  .strip,
  .dash,
  .foot {
    padding-left: 16px;
    padding-right: 16px;
  }
  .top-actions .btn.ghost {
    display: none;
  }
  .brand-name {
    font-size: 24px;
  }
  .strip,
  .steps,
  .pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- landing page (2): a full-width hero with the doctor's photo, and a tabbed sign-in card ---- */
.iconlink {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.iconlink:hover {
  background: var(--bg);
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--bg);
  font-weight: 600;
}
.hero2 {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 70% at 12% 100%, rgba(120, 70, 230, 0.4), transparent 70%),
    linear-gradient(110deg, #0b1230 0%, #151a4a 40%, #3a2350 100%);
}
.hero2-photo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32%;
  width: 46%;
}
.hero2-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 20%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 74%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 74%, transparent 100%);
}
.hero2-inner {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  padding: 26px 28px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 24px;
  align-items: center;
  min-height: 500px;
}
.hero2-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 560px;
}
.hero2 h1 {
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.pillbadge {
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 14px;
}
.hero2-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  gap: 26px;
  margin-top: 10px;
}
.hero2-facts div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero2-facts svg.i {
  width: 28px;
  height: 28px;
}
.hero2-facts span {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  opacity: 0.92;
  line-height: 1.3;
}
.hero2-facts b {
  font-size: 19px;
}
.auth {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(5, 10, 40, 0.4);
  overflow: hidden;
  scroll-margin-top: 90px;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #eef0f7;
}
.auth-tabs button {
  border: none;
  background: none;
  padding: 15px 10px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  color: #6b7393;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}
.auth-tabs button.on {
  background: #fff;
  color: #6d3df2;
  border-bottom-color: #6d3df2;
}
.auth-body {
  padding: 20px 26px 22px;
  max-height: 640px;
  overflow-y: auto;
}
.auth-body > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.auth-body h2 {
  text-align: center;
  font-size: 22px;
}
.auth-body .sub {
  text-align: center;
}
.auth .remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.auth .remember input {
  width: 18px;
  height: 18px;
  accent-color: #6d3df2;
}
.auth .switch {
  text-align: center;
  font-weight: 600;
}
.auth .switch a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6d3df2;
  text-decoration: none;
}
.steps.arrows li {
  position: relative;
}
.steps.arrows li:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -18px;
  top: 18px;
  color: #b8bdd2;
  font-size: 22px;
}
.doctors .docs-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-height: 170px;
  margin-top: 12px;
}
.doc-card {
  flex: 1;
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
}
.doc-card img,
.doc-initials {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.doc-initials {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #6d3df2, #f97316);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
}
.doc-card > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.doc-card small {
  color: var(--muted);
}
.doc-card p {
  font-style: italic;
  color: #36405f;
}
.verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #12a46b;
  font-weight: 650;
  font-size: 13px;
}
.verified svg.i {
  width: 15px;
  height: 15px;
}
.carousel-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  flex: none;
}
.docs-carousel .dots {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.docs-carousel .dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d3d6e4;
}
.docs-carousel .dots i.on {
  background: #6d3df2;
}
.doc-first {
  display: flex;
  gap: 16px;
  align-items: center;
}
.doc-first p {
  color: var(--muted);
  margin-top: 4px;
}
.spec-grid svg.i {
  color: #6d3df2;
}
@media (max-width: 1100px) {
  .hero2-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero2-photo {
    left: 40%;
    width: 60%;
    opacity: 0.45;
  }
  .auth {
    max-width: 520px;
  }
  .steps.arrows li::after {
    display: none;
  }
}
@media (max-width: 600px) {
  .hero2-inner {
    padding: 20px 16px;
  }
  .hero2-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lang {
    display: none;
  }
  .auth-body {
    padding: 16px;
  }
}
