.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 78% 28%, rgba(69, 55, 120, .28), transparent 30%),
    radial-gradient(circle at 24% 68%, rgba(13, 67, 99, .42), transparent 34%),
    linear-gradient(135deg, #081425 0%, #101a33 100%);
}

.auth-login-card {
  width: min(420px, 100%);
  min-width: 0;
  min-height: 166px;
  border: 1px solid rgba(148, 163, 184, .26);
  border-radius: 18px;
  background: rgba(13, 23, 38, .78);
  box-shadow: 0 24px 70px rgba(2, 8, 23, .34);
  padding: 18px;
  color: #e8eef7;
  backdrop-filter: blur(18px);
}

.auth-login-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.auth-login-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-login-title img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
}

.auth-login-title strong {
  min-width: 0;
  color: #f8fafc;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.auth-screen-theme {
  min-height: 36px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 999px;
  background: rgba(15, 23, 42, .45);
  color: #eef2f8;
  padding: 7px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.auth-screen-theme:hover {
  border-color: rgba(203, 213, 225, .46);
}

.auth-login-body {
  display: grid;
  gap: 8px;
}

.auth-login-google-frame {
  width: 100%;
  min-width: 0;
  height: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.auth-screen-google-slot {
  width: 100%;
  max-width: 360px;
  height: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.auth-screen-google-slot iframe {
  max-width: 100% !important;
}

.auth-screen-google-slot iframe {
  display: block;
}

.auth-login-button,
.auth-login-secondary {
  min-height: 46px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 8px;
  background: rgba(30, 41, 59, .72);
  color: #eef2f8;
  padding: 11px 14px;
  font: inherit;
  font-size: 16px;
  font-weight: 950;
}

.auth-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.auth-login-button.is-disabled {
  color: #cbd5e1;
}

.auth-login-secondary {
  min-height: 38px;
  background: rgba(15, 23, 42, .38);
  color: #dbe7f0;
  font-size: 13px;
  cursor: pointer;
}

.auth-login-secondary:hover {
  border-color: rgba(203, 213, 225, .46);
}

.google-g {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #4285f4;
  font-size: 13px;
  font-weight: 950;
}

.auth-login-setup {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(216, 171, 116, .32);
  border-radius: 8px;
  background: rgba(120, 53, 15, .22);
  padding: 10px 12px;
}

.auth-login-setup.neutral {
  border-color: rgba(96, 165, 250, .3);
  background: rgba(30, 64, 175, .2);
}

.auth-login-setup strong {
  color: #fde68a;
  font-size: 13px;
}

.auth-login-setup.neutral strong {
  color: #bfdbfe;
}

.auth-login-setup span,
.auth-login-status,
.auth-login-note {
  color: #aebbd0;
  font-size: 12px;
  line-height: 1.45;
}

.auth-login-status {
  min-height: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: transparent;
  padding: 0;
  font-weight: 850;
}

.auth-login-status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
  opacity: .72;
}

.auth-login-status.is-error {
  color: #fecaca;
  width: 100%;
  border: 1px solid rgba(248, 113, 113, .28);
  border-radius: 8px;
  background: rgba(127, 29, 29, .22);
  padding: 8px 10px;
}

.auth-login-status.is-error::before {
  display: none;
}

.auth-login-note {
  margin: 14px 0 0;
  font-weight: 700;
}

body.auth-login-light .auth-screen {
  background:
    radial-gradient(circle at 78% 24%, rgba(161, 185, 168, .28), transparent 30%),
    radial-gradient(circle at 18% 70%, rgba(200, 223, 232, .42), transparent 34%),
    linear-gradient(135deg, #f8fbfa 0%, #eef4f7 100%);
}

body.auth-login-light .auth-login-card {
  border-color: rgba(180, 191, 203, .7);
  background: rgba(255, 255, 255, .9);
  color: #223044;
  box-shadow: 0 24px 70px rgba(56, 74, 95, .16);
}

body.auth-login-light .auth-login-title strong {
  color: #203147;
}

body.auth-login-light .auth-screen-theme,
body.auth-login-light .auth-login-button,
body.auth-login-light .auth-login-secondary {
  border-color: #d6e0ea;
  background: #f8fafc;
  color: #223044;
}

body.auth-login-light .auth-login-secondary:hover,
body.auth-login-light .auth-screen-theme:hover {
  border-color: #b7c6d6;
}

body.auth-login-light .auth-login-setup {
  border-color: #e4cfaa;
  background: #fff8ed;
}

body.auth-login-light .auth-login-setup strong {
  color: #7c4a03;
}

body.auth-login-light .auth-login-setup span,
body.auth-login-light .auth-login-status,
body.auth-login-light .auth-login-note {
  color: #607086;
}

body.auth-login-light .auth-login-status.is-error {
  color: #b42318;
  background: #fff1f0;
  border-color: #ffd0cc;
}
