html,
body {
  font-family: "IBM Plex Sans", sans-serif;
}

.auth-gate {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(175, 83, 44, 0.28), transparent 60%),
    radial-gradient(900px 500px at 90% 100%, rgba(124, 29, 29, 0.24), transparent 60%),
    #07090d;
}

.auth-card {
  width: min(92vw, 560px);
  border-radius: 24px;
  padding: 34px 34px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(12, 20, 34, 0.96), rgba(7, 11, 20, 0.96));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.auth-logo {
  width: 148px;
  height: 148px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: rgba(11, 20, 34, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.auth-logo.no-logo::after {
  content: "DQ";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #d7e3f2;
}

.auth-title {
  margin: 0 0 8px 0;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.8rem);
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.auth-subtitle {
  margin: 0 0 20px 0;
  color: #c3cfde;
  font-size: 1.05rem;
}

.auth-signin-wrap {
  display: flex;
  justify-content: center;
}

.auth-error {
  min-height: 20px;
  margin: 12px 0 0 0;
  color: #ef4444;
  font-size: 0.92rem;
}

.navbar,
.navbar-brand,
.input-group-text,
.btn,
label {
  font-family: "IBM Plex Sans", sans-serif;
}

.navbar-brand {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-weight: 600;
}

.user-auth-wrap {
  min-width: 0;
}

.auth-user-text {
  max-width: min(24vw, 220px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.1;
}

#_dash-devtools,
.dash-debug-menu,
.dash-debug-menu__outer {
  display: none !important;
}
