html.local-authelia-login-route body,
html.local-authelia-login-route #root,
html.local-authelia-login-route #root > div {
  background:
    radial-gradient(circle at 72% 22%, rgba(10, 132, 255, 0.22) 0%, rgba(10, 132, 255, 0) 30%),
    linear-gradient(180deg, rgba(2, 8, 14, 0.28) 0%, rgba(2, 8, 14, 0.52) 100%),
    linear-gradient(90deg, rgba(4, 12, 20, 0.62) 0%, rgba(4, 12, 20, 0.2) 48%, rgba(4, 12, 20, 0.78) 100%),
    url('/login-background-gsoc.png') center center / cover no-repeat fixed,
    #07131d !important;
}

html.local-authelia-login-route body {
  color: #f8fafc;
}

html.local-authelia-login-route #root,
html.local-authelia-login-route #root > div {
  min-height: 100vh;
}

html.local-authelia-login-route #root > div {
  position: relative;
  background-color: transparent !important;
}

html.local-authelia-login-route #root > div::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(10, 132, 255, 0.18) 0%, rgba(10, 132, 255, 0) 28%),
    linear-gradient(180deg, rgba(2, 8, 14, 0.2) 0%, rgba(2, 8, 14, 0.48) 100%);
  pointer-events: none;
  z-index: 0;
}

html.local-authelia-login-route #root > div > * {
  position: relative;
  z-index: 1;
}

html.local-authelia-login-route #root [class*="MuiPaper-root"],
html.local-authelia-login-route #root [class*="MuiCard-root"] {
  background: rgba(7, 19, 29, 0.72) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38) !important;
}

html.local-authelia-login-route #root [class*="MuiTypography-root"],
html.local-authelia-login-route #root label,
html.local-authelia-login-route #root p,
html.local-authelia-login-route #root span,
html.local-authelia-login-route #root button,
html.local-authelia-login-route #root a {
  color: inherit;
}

html.local-authelia-login-route #root input {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

html.local-authelia-login-route #root input::placeholder {
  color: rgba(248, 250, 252, 0.72) !important;
}

html.local-authelia-login-route #root input[inputmode="numeric"],
html.local-authelia-login-route #root input[autocomplete="one-time-code"],
html.local-authelia-login-route #root input[maxlength="1"] {
  background: rgba(255, 255, 255, 0.96) !important;
  border-radius: 10px !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  text-align: center;
  font-weight: 700;
  text-shadow: none !important;
  caret-color: #60a5fa !important;
}

html.local-authelia-login-route #root input[inputmode="numeric"]::placeholder,
html.local-authelia-login-route #root input[autocomplete="one-time-code"]::placeholder,
html.local-authelia-login-route #root input[maxlength="1"]::placeholder {
  color: rgba(15, 23, 42, 0.35) !important;
  -webkit-text-fill-color: rgba(15, 23, 42, 0.35) !important;
}

html.local-authelia-login-route #reset-password-button,
html.local-authelia-login-route #root a[href$="/reset-password"],
html.local-authelia-login-route #root a[href="https://www.authelia.com"],
html.local-authelia-login-route #root footer {
  display: none !important;
}

@media (max-width: 920px) {
  html.local-authelia-login-route body,
  html.local-authelia-login-route #root,
  html.local-authelia-login-route #root > div {
    background:
      radial-gradient(circle at 50% 20%, rgba(10, 132, 255, 0.18) 0%, rgba(10, 132, 255, 0) 32%),
      linear-gradient(180deg, rgba(2, 8, 14, 0.34) 0%, rgba(2, 8, 14, 0.6) 100%),
      linear-gradient(90deg, rgba(4, 12, 20, 0.62) 0%, rgba(4, 12, 20, 0.2) 48%, rgba(4, 12, 20, 0.78) 100%),
      url('/login-background-gsoc.png') center center / cover no-repeat fixed,
      #07131d !important;
  }
}

@media (max-width: 640px) {
  html.local-authelia-login-route body,
  html.local-authelia-login-route #root,
  html.local-authelia-login-route #root > div {
    background:
      linear-gradient(180deg, rgba(2, 8, 14, 0.18) 0%, rgba(2, 8, 14, 0.42) 42%, rgba(2, 8, 14, 0.76) 100%),
      radial-gradient(circle at 50% 18%, rgba(10, 132, 255, 0.14) 0%, rgba(10, 132, 255, 0) 26%),
      linear-gradient(90deg, rgba(4, 12, 20, 0.62) 0%, rgba(4, 12, 20, 0.2) 48%, rgba(4, 12, 20, 0.78) 100%),
      url('/login-background-gsoc.png') center center / cover no-repeat fixed,
      #07131d !important;
  }
}
