.ahis-auth-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 620px at 0% 0%, rgba(35, 106, 77, .15), transparent 58%),
    radial-gradient(760px 580px at 100% 8%, rgba(11, 48, 83, .10), transparent 56%),
    linear-gradient(180deg, #f7f9fb 0%, #eef3f5 100%);
  color: #163049;
  font-family: "Segoe UI", "Noto Sans", sans-serif;
}

.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, .94fr) minmax(320px, 1.06fr);
  gap: 1.5rem;
  align-items: stretch;
  padding: clamp(1rem, 2vw, 1.75rem);
}

.auth-panel {
  border: 1px solid rgba(17, 42, 63, .08);
  border-radius: 2rem;
  box-shadow: 0 20px 60px rgba(15, 34, 52, .08);
  overflow: hidden;
}

.auth-panel--brand {
  background:
    linear-gradient(155deg, rgba(12, 39, 68, .99) 0%, rgba(18, 77, 59, .97) 100%);
  color: #fff;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  position: relative;
}

.auth-panel--brand::before,
.auth-panel--brand::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.auth-panel--brand::before {
  inset: -10% auto auto -8%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 68%);
}

.auth-panel--brand::after {
  inset: auto -10% -18% auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 70%);
}

.auth-brand-shell {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.auth-panel--brand .auth-eyebrow,
.auth-panel--brand .auth-title,
.auth-panel--brand .auth-subtitle,
.auth-panel--brand .auth-brand-meta__item,
.auth-panel--brand .auth-brand__org,
.auth-panel--brand .auth-brand__app {
  position: relative;
  z-index: 1;
}

.auth-brand-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-brand__logo {
  width: 82px;
  height: 82px;
  border-radius: 1.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  overflow: hidden;
  font-size: 1.2rem;
  letter-spacing: .08em;
}

.auth-brand__logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.auth-brand__copy {
  display: grid;
  gap: .25rem;
}

.auth-brand__org {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .74rem;
  opacity: .78;
  font-weight: 700;
}

.auth-brand__app {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem .95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  width: fit-content;
}

.auth-hero {
  display: grid;
  align-content: center;
  gap: 1rem;
  max-width: 33rem;
}

.auth-hero__kicker {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .7);
}

.auth-title {
  font-size: clamp(2.2rem, 3vw, 3.8rem);
  font-weight: 800;
  line-height: 1.04;
  color: #fff;
  margin: 0;
  max-width: 12ch;
}

.auth-subtitle {
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  margin: 0;
  max-width: 34rem;
}

.auth-brand-meta {
  display: grid;
  gap: .85rem;
  max-width: 34rem;
}

.auth-brand-meta__item {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .95rem 1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .88);
  font-size: .96rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.auth-brand-meta__item i {
  font-size: 1rem;
  color: #d1ebdd;
}

.auth-panel--form {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,250,251,.98) 100%);
  padding: clamp(1rem, 2vw, 1.4rem);
  display: grid;
  place-items: center;
}

.auth-interaction-stack {
  width: min(100%, 780px);
  display: grid;
  gap: 1rem;
}

.auth-section-card,
.auth-login-card {
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(17, 42, 63, .08);
  border-radius: 1.75rem;
  box-shadow: 0 18px 38px rgba(18, 42, 60, .06);
}

.auth-section-card {
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

.auth-section-card--services {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(249, 251, 252, .98) 100%);
}

.auth-login-card {
  padding: clamp(1.35rem, 2vw, 2rem);
  position: relative;
}

.auth-login-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1f7a4d 0%, #2c8c6b 48%, rgba(44, 140, 107, 0) 100%);
}

.auth-section-head,
.auth-form-card__header {
  display: grid;
  gap: .45rem;
}

.auth-section-kicker {
  color: #507083;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .76rem;
  font-weight: 700;
}

.auth-section-title,
.auth-form-title {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 800;
  color: #112a3f;
}

.auth-section-subtitle,
.auth-form-subtitle {
  color: #647789;
  margin: 0;
}

.auth-service-grid {
  margin-top: 1.25rem;
}

.auth-service {
  min-height: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.25rem;
  border-radius: 1.35rem;
  text-decoration: none;
  color: #16324f;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
  border: 1px solid rgba(22, 50, 79, .12);
  box-shadow: 0 8px 18px rgba(17, 42, 63, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.auth-service:hover,
.auth-service:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(17, 42, 63, .10);
  border-color: rgba(27, 112, 72, .32);
}

.auth-service:focus-visible {
  outline: 0;
  box-shadow:
    0 18px 28px rgba(17, 42, 63, .10),
    0 0 0 .22rem rgba(27, 112, 72, .12);
}

.auth-service--highlight {
  background: linear-gradient(160deg, #eef7f0 0%, #f9fcfa 100%);
  border-color: rgba(27, 112, 72, .2);
}

.auth-service__media {
  display: flex;
}

.auth-service__icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: #eef3f6;
  color: #17384f;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.auth-service--highlight .auth-service__icon {
  background: rgba(27, 112, 72, .12);
  color: #1b7048;
}

.auth-service__body {
  display: grid;
  gap: .4rem;
  min-width: 0;
}

.auth-service__eyebrow {
  color: #6a7e8f;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 700;
}

.auth-service__title {
  font-weight: 800;
  line-height: 1.3;
  font-size: 1.08rem;
  letter-spacing: -.01em;
}

.auth-service__text {
  font-size: .9rem;
  color: #607284;
  line-height: 1.45;
}

.auth-service__cta {
  margin-top: .35rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #1b7048;
  font-weight: 700;
  font-size: .92rem;
}

.auth-service__cta i {
  transition: transform .18s ease;
}

.auth-service:hover .auth-service__cta i,
.auth-service:focus-visible .auth-service__cta i {
  transform: translateX(2px);
}

.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  border-radius: 1rem;
  margin: 1.25rem 0 0;
}

.auth-form {
  margin-top: 1.5rem;
}

.auth-form-label {
  color: #18354e;
  font-weight: 700;
  margin-bottom: .55rem;
}

.auth-input-group {
  border: 1px solid rgba(17, 42, 63, .12);
  border-radius: 1rem;
  background: #f8fafb;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.auth-input-group .input-group-text {
  background: transparent;
  border: 0;
  color: #5c7082;
  padding-left: 1rem;
}

.auth-input-group .form-control {
  border: 0;
  background: transparent;
  min-height: 3.2rem;
  padding: .85rem 1rem .85rem .25rem;
  color: #112a3f;
  box-shadow: none;
  font-size: .98rem;
}

.auth-input-group:focus-within {
  border-color: rgba(27, 112, 72, .5);
  box-shadow: 0 0 0 .25rem rgba(27, 112, 72, .10);
  background: #fff;
}

.auth-input-group .form-control::placeholder {
  color: #90a0ae;
}

.auth-form-actions {
  margin-top: 1.25rem;
}

.auth-submit-btn {
  width: 100%;
  min-height: 3.5rem;
  border: 0;
  border-radius: 1rem;
  background: linear-gradient(180deg, #1e7b4d 0%, #185f3b 100%);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  box-shadow: 0 14px 26px rgba(25, 102, 63, .22);
  letter-spacing: .01em;
}

.auth-submit-btn:hover,
.auth-submit-btn:focus-visible {
  background: linear-gradient(180deg, #248655 0%, #1d7247 100%);
  color: #fff;
}

.auth-submit-btn:focus-visible {
  box-shadow:
    0 14px 26px rgba(25, 102, 63, .22),
    0 0 0 .25rem rgba(27, 112, 72, .16);
}

.auth-form .btn {
  width: 100%;
}

@media (max-width: 991.98px) {
  .auth-layout {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .auth-brand-shell {
    grid-template-rows: auto auto auto;
  }

  .auth-panel--brand {
    min-height: auto;
  }

  .auth-title {
    max-width: 14ch;
  }
}

@media (max-width: 575.98px) {
  .auth-layout {
    gap: 1rem;
    padding: .75rem;
  }

  .auth-panel {
    border-radius: 1.5rem;
  }

  .auth-panel--brand,
  .auth-section-card,
  .auth-login-card {
    padding: 1.2rem;
  }

  .auth-brand-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-brand {
    gap: .85rem;
  }

  .auth-brand__logo {
    width: 64px;
    height: 64px;
  }

  .auth-title {
    max-width: none;
    font-size: 2rem;
  }

  .auth-brand-meta__item {
    font-size: .92rem;
  }

  .auth-service {
    padding: 1rem;
  }

  .auth-submit-btn {
    min-height: 3.35rem;
  }
}
