body.nc-auth-screen {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 50% 8%, rgba(200, 28, 65, .09), transparent 58%),
    var(--nc-bg, #101116);
}
html[data-theme="light"] body.nc-auth-screen {
  background: radial-gradient(ellipse at 50% 10%, #f6e6e7, transparent 58%), #f5f3ef;
}
.nc-auth-screen .nc-auth-layout {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(90px, 14vh, 152px) 20px 40px;
}
.nc-auth-screen .nc-auth-card-slot { width: min(100%, 432px); }
.nc-auth-screen .nc-auth-panel { padding: clamp(22px, 5vw, 34px); }
.nc-auth-screen .nc-auth-head { margin-bottom: 22px; }
.nc-auth-screen .nc-auth-title {
  font-size: clamp(22px, 4.5vw, 27px);
  letter-spacing: -.045em;
  line-height: 1.15;
}
.nc-auth-screen .nc-auth-divider { margin-block: 18px; }
.nc-auth-screen .nc-auth-note { margin-top: 16px; }
.nc-auth-screen .nc-auth-form[hidden],
.nc-auth-screen [data-account-panel] [hidden] { display: none !important; }
.nc-account-panel { width: min(100%, 480px); }
.nc-account-panel h1 { margin: 0; font-size: 26px; letter-spacing: -.04em; }
.nc-account-panel .nc-field { margin-top: 14px; }
.nc-account-email { overflow-wrap: anywhere; }
.nc-account-separator { border: 0; border-top: 1px solid currentColor; opacity: .15; margin: 22px 0 16px; }
.nc-account-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.nc-account-picture { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* Split layout for the sign-in and signup routes. */
body.nc-auth-screen[data-auth-initial] { background: var(--auth-bg, #101116); }
html[data-theme="light"] body.nc-auth-screen[data-auth-initial] { --auth-bg: #fcfaf7; background: var(--auth-bg); }
.nc-auth-screen[data-auth-initial] .nc-auth-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(18px, 3.5vw, 66px);
  padding: 12px;
}
.nc-auth-art {
  width: 100%;
  min-height: min(67vh, 830px);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #321b1e;
}
.nc-auth-art img { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.nc-auth-screen[data-auth-initial] .nc-auth-card-slot {
  width: min(100%, 456px);
  align-self: center;
  padding: 26px 20px 40px;
}
.nc-auth-screen[data-auth-initial] .nc-auth-panel {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  animation: none;
}
.nc-auth-screen[data-auth-initial] .nc-auth-head { gap: 12px; margin-bottom: 28px; }
.nc-auth-screen[data-auth-initial] .nc-auth-title { font-size: clamp(24px, 3vw, 31px); }
.nc-auth-screen[data-auth-initial] .nc-auth-tabs {
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  border-radius: 0;
  padding: 0;
  background: transparent;
  margin-bottom: 20px;
}
.nc-auth-screen[data-auth-initial] .nc-auth-tab {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 2px solid transparent;
  min-height: 42px;
}
.nc-auth-screen[data-auth-initial] .nc-auth-tab.is-active { border-bottom-color: #d11e43; }
.nc-auth-screen[data-auth-initial] .nc-auth-submit { box-shadow: none; }
[data-google-popup] { overflow: hidden; border-radius: 8px; max-width: 400px; min-height: 40px; }
[data-google-popup] > div { max-width: 100%; }
@media (max-width: 760px) {
  .nc-auth-screen[data-auth-initial] .nc-auth-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 24px; }
  .nc-auth-art { display: none; }
  .nc-auth-screen[data-auth-initial] .nc-auth-card-slot { padding-inline: 14px; }
}
