/* Clinic v4.3.26 — patient login/register responsive stage */
body.public-shell.auth-public-page {
  --auth-ink: var(--vc-ink, #082a32);
  --auth-muted: var(--vc-muted, #60777c);
  --auth-primary: var(--vc-primary, var(--primary, #08738d));
  --auth-primary-dark: var(--vc-primary-dark, #07556c);
  --auth-line: var(--vc-line, #d7e5e7);
  --auth-soft: color-mix(in srgb, var(--auth-primary) 8%, #f6fbfc);
  background:
    radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--auth-primary) 14%, transparent) 0 17rem, transparent 17.1rem),
    linear-gradient(135deg, #eef8f8 0%, #f8fbfc 42%, #edf5f7 100%);
}

body.public-shell.auth-public-page .meet-site-main {
  display: flex;
  flex: 1 0 auto;
  width: 100%;
  min-width: 0;
  background: transparent;
}

.patient-auth-stage {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(650px, calc(100dvh - 128px), 860px);
  padding: clamp(42px, 6vw, 82px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 16%, color-mix(in srgb, var(--auth-primary) 7%, transparent) 0 13rem, transparent 13.1rem),
    radial-gradient(circle at 18% 88%, rgba(255,255,255,.88) 0 18rem, transparent 18.1rem),
    linear-gradient(135deg, rgba(233,247,247,.96), rgba(250,252,253,.96) 48%, rgba(235,244,247,.96));
}

.patient-auth-stage::before,
.patient-auth-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.patient-auth-stage::before {
  width: 360px;
  height: 360px;
  top: -190px;
  right: -90px;
  border: 1px solid color-mix(in srgb, var(--auth-primary) 15%, transparent);
  box-shadow: 0 0 0 54px color-mix(in srgb, var(--auth-primary) 3%, transparent);
}

.patient-auth-stage::after {
  width: 220px;
  height: 220px;
  left: 7%;
  bottom: -135px;
  background: color-mix(in srgb, var(--auth-primary) 5%, transparent);
}

.patient-auth-container {
  width: min(1220px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
}

.patient-auth-layout {
  display: grid;
  grid-template-columns: minmax(330px, .82fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(38px, 6vw, 92px);
  width: 100%;
  min-width: 0;
}

.patient-auth-layout--register {
  grid-template-columns: minmax(300px, .68fr) minmax(560px, 1.22fr);
}

.patient-auth-intro {
  width: min(100%, 520px);
  min-width: 0;
  margin-inline: auto;
  color: var(--auth-ink);
}

.patient-auth-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 18px;
  padding: 8px 18px;
  border: 1px solid color-mix(in srgb, var(--auth-primary) 28%, #fff);
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  color: var(--auth-primary-dark);
  box-shadow: 0 10px 30px rgba(17,74,84,.07);
  font-size: .86rem;
  font-weight: 900;
}

.patient-auth-intro h1 {
  margin: 0 0 16px;
  color: var(--auth-ink);
  font-size: clamp(2.25rem, 4.2vw, 4.35rem);
  font-weight: 950;
  line-height: 1.25;
  letter-spacing: -.05em;
}

.patient-auth-intro > p {
  max-width: 570px;
  margin: 0;
  color: var(--auth-muted);
  font-size: clamp(.98rem, 1.35vw, 1.16rem);
  line-height: 2.05;
}

.patient-auth-benefits {
  display: grid;
  gap: 11px;
  margin-top: 28px;
}

.patient-auth-benefits > span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: color-mix(in srgb, var(--auth-ink) 86%, #64748b);
  font-size: .88rem;
  font-weight: 780;
}

.patient-auth-benefits svg,
.patient-auth-benefits b {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 11px;
  background: rgba(255,255,255,.86);
  color: var(--auth-primary);
  box-shadow: 0 8px 24px rgba(11,84,96,.08);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  font-size: .78rem;
}

.patient-auth-form-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

body.public-shell.auth-public-page .patient-auth-card {
  width: min(100%, 510px);
  max-width: 510px;
  margin: 0 auto;
  border: 1px solid rgba(188,211,214,.88) !important;
  border-top: 1px solid rgba(188,211,214,.88) !important;
  border-radius: 25px !important;
  background: rgba(255,255,255,.96);
  box-shadow: 0 30px 80px rgba(16,74,85,.14) !important;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

body.public-shell.auth-public-page .patient-auth-card--register {
  width: min(100%, 690px);
  max-width: 690px;
}

body.public-shell.auth-public-page .patient-auth-card .auth-card-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  padding: 24px 27px;
  text-align: right;
  background: linear-gradient(135deg, #f4fbfa, #eaf6f5);
}

body.public-shell.auth-public-page .patient-auth-card .auth-card-brand > div:last-child {
  min-width: 0;
}

body.public-shell.auth-public-page .patient-auth-card .auth-card-brand h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.5;
}

body.public-shell.auth-public-page .patient-auth-card .auth-card-brand p {
  margin: 3px 0 0;
  font-size: .78rem;
}

body.public-shell.auth-public-page .patient-auth-card .auth-card-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  margin: 0;
  border-radius: 17px;
}

body.public-shell.auth-public-page .patient-auth-card .auth-card-icon svg {
  width: 27px;
  height: 27px;
}

body.public-shell.auth-public-page .patient-auth-card .auth-card-body {
  padding: 27px;
}

body.public-shell.auth-public-page .patient-auth-card .form-label {
  margin-bottom: 8px;
  color: color-mix(in srgb, var(--auth-ink) 88%, #64748b);
  font-size: .84rem;
  font-weight: 850;
}

body.public-shell.auth-public-page .patient-auth-card .form-control,
body.public-shell.auth-public-page .patient-auth-card .form-select {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cbdcdf;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

body.public-shell.auth-public-page .patient-auth-card .form-control:focus,
body.public-shell.auth-public-page .patient-auth-card .form-select:focus {
  border-color: var(--auth-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--auth-primary) 12%, transparent);
}

body.public-shell.auth-public-page .patient-auth-card .btn-primary {
  min-height: 50px;
  border-radius: 14px;
  font-weight: 900;
}

body.public-shell.auth-public-page .patient-auth-card .auth-subtabs {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  margin-bottom: 22px;
}

body.public-shell.auth-public-page .patient-auth-card .form-check {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 28px;
  padding-right: 0;
}

body.public-shell.auth-public-page .patient-auth-card .form-check-input {
  position: static;
  flex: 0 0 18px;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

body.public-shell.auth-public-page .patient-auth-card .form-check-label {
  margin: 0;
  font-size: .82rem;
}

body.public-shell.auth-public-page .patient-auth-card .auth-footer-link {
  margin-top: 18px;
}

@media (max-width: 991.98px) {
  .patient-auth-stage {
    min-height: auto;
    align-items: flex-start;
    padding: 38px 0 120px;
  }

  .patient-auth-container {
    width: min(760px, calc(100% - 32px));
  }

  .patient-auth-layout,
  .patient-auth-layout--register {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .patient-auth-intro {
    width: min(100%, 650px);
    text-align: center;
  }

  .patient-auth-intro > p {
    margin-inline: auto;
  }

  .patient-auth-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
  }

  .patient-auth-benefits > span {
    justify-content: center;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(203,220,223,.75);
    border-radius: 14px;
    background: rgba(255,255,255,.66);
    font-size: .76rem;
  }
}

@media (max-width: 767.98px) {
  body.public-shell.auth-public-page .meet-site-main {
    display: block;
  }

  .patient-auth-stage {
    min-height: 0;
    padding: 22px 0 calc(102px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 8% 0, color-mix(in srgb, var(--auth-primary) 9%, transparent) 0 9rem, transparent 9.1rem),
      linear-gradient(180deg, #eef8f8 0%, #f8fbfc 38%, #f3f8f9 100%);
  }

  .patient-auth-stage::before {
    width: 210px;
    height: 210px;
    top: -130px;
    right: -80px;
    box-shadow: 0 0 0 30px color-mix(in srgb, var(--auth-primary) 3%, transparent);
  }

  .patient-auth-stage::after {
    display: none;
  }

  .patient-auth-container {
    width: calc(100% - 24px);
    max-width: 560px;
    padding-inline: 0;
  }

  .patient-auth-layout,
  .patient-auth-layout--register {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .patient-auth-intro {
    width: 100%;
    margin: 0 auto;
    padding-inline: 6px;
    text-align: center;
  }

  .patient-auth-eyebrow {
    min-height: 36px;
    margin-bottom: 11px;
    padding: 6px 14px;
    font-size: .76rem;
  }

  .patient-auth-intro h1 {
    margin-bottom: 9px;
    font-size: clamp(1.75rem, 8.2vw, 2.35rem);
    line-height: 1.35;
    letter-spacing: -.04em;
  }

  .patient-auth-intro > p {
    max-width: 440px;
    font-size: .82rem;
    line-height: 1.9;
  }

  .patient-auth-benefits {
    display: none;
  }

  .patient-auth-form-wrap {
    justify-content: center;
    width: 100%;
    margin-inline: auto;
  }

  body.public-shell.auth-public-page .patient-auth-card,
  body.public-shell.auth-public-page .patient-auth-card--register {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    border-radius: 20px !important;
  }

  body.public-shell.auth-public-page .patient-auth-card .auth-card-brand {
    gap: 12px;
    padding: 18px 17px;
  }

  body.public-shell.auth-public-page .patient-auth-card .auth-card-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  body.public-shell.auth-public-page .patient-auth-card .auth-card-icon svg {
    width: 24px;
    height: 24px;
  }

  body.public-shell.auth-public-page .patient-auth-card .auth-card-brand h2 {
    font-size: 1rem;
  }

  body.public-shell.auth-public-page .patient-auth-card .auth-card-brand p {
    font-size: .7rem;
  }

  body.public-shell.auth-public-page .patient-auth-card .auth-card-body {
    padding: 19px 16px 21px;
  }

  body.public-shell.auth-public-page .patient-auth-card .auth-subtabs {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    margin-bottom: 18px;
  }

  body.public-shell.auth-public-page .patient-auth-card .auth-subtabs .nav-link {
    min-height: 42px;
    font-size: .78rem;
  }

  body.public-shell.auth-public-page .patient-auth-card .form-control,
  body.public-shell.auth-public-page .patient-auth-card .form-select {
    min-height: 48px;
    border-radius: 13px;
    font-size: 16px;
  }

  body.public-shell.auth-public-page .patient-auth-card .row.g-3 {
    --bs-gutter-y: .85rem;
  }

  body.public-shell.auth-public-page .patient-auth-card .alert {
    font-size: .74rem;
    line-height: 1.75;
  }
}

@media (max-width: 359.98px) {
  .patient-auth-container {
    width: calc(100% - 16px);
  }

  body.public-shell.auth-public-page .patient-auth-card .auth-card-body {
    padding-inline: 13px;
  }
}
