/* Auth split layout. Source: lib/src/sass/custom/auth.scss */

html,
body {
  height: 100%;
  overflow: hidden;
}

.alida-auth {
  min-height: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
  background: #ffffff;
  font-family: Inter, Noto Sans, Helvetica, sans-serif;
}

.alida-auth-aside {
  display: none;
  position: relative;
  flex: 0 0 58%;
  width: 58%;
  padding: 3rem 2.25rem 1.25rem;
  color: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(1200px 700px at 85% 115%, rgba(36, 101, 229, 0.55) 0%, rgba(36, 101, 229, 0) 55%),
    radial-gradient(800px 480px at 0% 0%, rgba(36, 101, 229, 0.28) 0%, rgba(36, 101, 229, 0) 50%),
    linear-gradient(165deg, #071428 0%, #0b1f44 48%, #12356e 100%);
}

.alida-auth-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.alida-auth-aside__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  gap: 2rem;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.alida-auth-section {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.alida-auth-section--hero {
  flex: 0 0 auto;
  align-items: stretch;
  gap: 0.85rem;
  width: 100%;
  text-align: center;
  padding-bottom: 0;
}

.alida-auth-section--features {
  flex: 0 0 auto;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0;
}

.alida-auth-section--quotes {
  flex: 0 0 auto;
  gap: 1rem;
  padding-top: 0;
}

.alida-auth-section__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.alida-auth-section__label {
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.alida-auth-section__rule {
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.alida-auth-aside__headline {
  margin: 0;
  width: 100%;
  font-size: 2.55rem;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.alida-auth-aside__lede {
  margin: 0;
  width: 100%;
  font-size: 1.05rem;
  font-weight: 450;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}

.alida-auth-feature-reel {
  flex: 0 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.alida-auth-feature-reel__track {
  display: flex;
  gap: 0.55rem;
  width: max-content;
  animation: alida-auth-marquee-left 55s linear infinite;
}

.alida-auth-feature-reel:hover .alida-auth-feature-reel__track {
  animation-play-state: paused;
}

.alida-auth-tiles {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  grid-auto-columns: 13.5rem;
  gap: 0.55rem;
}

.alida-auth-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  min-height: 10.25rem;
  padding: 1.45rem 0.75rem;
  text-align: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.alida-auth-tile__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.75rem;
  height: 3.75rem;
  margin: 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(36, 101, 229, 0.28);
  color: #9db7ff;
}

.alida-auth-tile__badge i {
  font-size: 1.85rem;
  line-height: 1;
  color: inherit;
}

.alida-auth-tile h3 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.25;
  color: #ffffff;
}

.alida-auth-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.alida-auth-marquee__track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
}

.alida-auth-marquee--right {
  flex: 0 0 auto;
}

.alida-auth-marquee--right .alida-auth-marquee__track {
  gap: 1rem;
  animation: alida-auth-marquee-right 55s linear infinite;
}

.alida-auth-marquee:hover .alida-auth-marquee__track {
  animation-play-state: paused;
}

.alida-auth-quote-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 320px;
  width: 320px;
  margin: 0;
  padding: 1.15rem 1.15rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  box-shadow: 0 12px 32px rgba(3, 10, 28, 0.22);
}

.alida-auth-quote-card__stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.7rem;
  color: #f5b942;
}

.alida-auth-quote-card__stars svg {
  width: 16px;
  height: 16px;
  display: block;
}

.alida-auth-quote-card p {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #374151;
}

.alida-auth-quote-card footer {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
}

.alida-auth-quote-card__avatar {
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #2465e5;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
}

.alida-auth-quote-card footer strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #111827;
}

.alida-auth-quote-card footer em {
  display: block;
  font-style: normal;
  font-size: 0.6875rem;
  color: #6b7280;
}

@keyframes alida-auth-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes alida-auth-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .alida-auth-marquee__track,
  .alida-auth-feature-reel__track {
    animation: none;
  }
}

.alida-auth-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: #ffffff;
}

.alida-auth-form {
  width: 100%;
  max-width: 400px;
  margin-top: auto;
  margin-bottom: auto;
}

.alida-auth-form--wide {
  max-width: 480px;
}

.alida-auth-clinic {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.alida-auth-clinic img {
  display: block;
  max-height: 48px;
  width: auto;
}

.alida-auth-logo {
  display: block;
  height: 36px;
  width: auto;
  margin: 0 auto 1.75rem;
}

.alida-auth-heading {
  text-align: center;
}

.alida-auth-heading h1,
.alida-auth-heading h2 {
  margin: 0 0 0.35rem;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #111827;
  text-align: center;
}

.alida-auth-heading p {
  margin: 0 0 2.5rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #6b7280;
}

.alida-auth-sso {
  width: 100%;
  margin: 0;
}

.alida-auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  cursor: pointer;
}

.alida-auth-google:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.alida-auth-google__icon {
  height: 18px;
  width: 18px;
  margin-right: 0.75rem;
}

.alida-auth-or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: #9ca3af;
  font-size: 0.8125rem;
}

.alida-auth-or::before,
.alida-auth-or::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #e5e7eb;
}

.alida-auth .form-control,
.alida-auth .form-control-lg {
  min-height: 48px;
  padding: 0.75rem 0.875rem;
  border-radius: 8px;
  font-size: 0.9375rem;
}

.alida-auth .form-control:focus {
  border-color: #2465e5;
  box-shadow: 0 0 0 3px rgba(36, 101, 229, 0.15);
}

.alida-auth .btn-primary {
  min-height: 48px;
  border-radius: 8px;
  font-weight: 600;
}

.alida-auth-switch {
  margin: 0 0 1.75rem;
  font-size: 0.9375rem;
  color: #4b5563;
  text-align: center;
}

.alida-auth-switch a {
  font-weight: 600;
}

.alida-auth-legal {
  flex: 0 0 auto;
  width: 100%;
  max-width: 400px;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid #f3f4f6;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #6b7280;
  text-align: center;
}

.alida-auth-form--wide + .alida-auth-legal {
  max-width: 480px;
}

.alida-auth-legal a {
  color: #2465e5;
  text-decoration: underline;
}

.alida-auth-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

.alida-auth-links a {
  font-weight: 500;
}

.alida-auth .pin-mask {
  -webkit-text-security: disc;
  text-security: disc;
}

.alida-auth-otp {
  letter-spacing: 8px;
  text-transform: uppercase;
  font-weight: 700;
}

.alida-auth-otp::placeholder {
  letter-spacing: normal;
  font-weight: 400;
  text-transform: none;
}

@media (min-width: 992px) {
  .alida-auth-aside {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .alida-auth-main {
    flex: 0 0 42%;
    width: 42%;
    height: 100%;
    padding: 3rem 3.5rem;
  }
}

@media (min-width: 992px) and (max-height: 960px) {
  .alida-auth-aside {
    padding: 2rem 1.75rem 1.35rem;
  }

  .alida-auth-aside__inner {
    gap: 1.35rem;
  }

  .alida-auth-section--hero {
    padding-bottom: 0;
  }

  .alida-auth-section--features {
    padding: 0;
    gap: 1rem;
  }

  .alida-auth-section--quotes {
    padding-top: 0;
  }

  .alida-auth-aside__headline {
    font-size: 2rem;
  }

  .alida-auth-tiles {
    grid-auto-columns: 12.25rem;
    gap: 0.45rem;
  }

  .alida-auth-tile {
    gap: 0.75rem;
    min-height: 7.75rem;
    padding: 1rem 0.6rem;
  }

  .alida-auth-tile__badge {
    width: 3rem;
    height: 3rem;
    margin: 0;
  }

  .alida-auth-tile__badge i {
    font-size: 1.45rem;
  }

  .alida-auth-tile h3 {
    font-size: 0.8125rem;
  }
}

@media (min-width: 1400px) {
  .alida-auth-aside {
    flex-basis: 62%;
    width: 62%;
    padding: 3.5rem 3rem 1.25rem;
  }

  .alida-auth-main {
    flex-basis: 38%;
    width: 38%;
  }

  .alida-auth-aside__headline {
    font-size: 2.85rem;
  }
}

@media (max-width: 991.98px) {
  html,
  body {
    overflow: auto;
  }

  .alida-auth {
    height: auto;
    min-height: 100%;
    overflow: visible;
  }

  .alida-auth-main {
    min-height: 100vh;
    padding: 2.5rem 1.5rem;
    background: #ffffff;
  }

  .alida-auth-form {
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }
}
