html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Roboto', sans-serif;
}

.root {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.login-page {
  min-height: 100%;
  width: 100%;
  padding: 72px 32px;
  background: radial-gradient(circle at 15% 20%, rgba(0, 229, 255, 0.18) 0%, rgba(0, 27, 61, 0) 45%),
              radial-gradient(circle at 82% 15%, rgba(120, 0, 255, 0.16) 0%, rgba(2, 9, 21, 0) 42%),
              linear-gradient(135deg, #01060f 0%, #041022 38%, #020915 100%);
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.login-page::before,
body.login-page::after {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  pointer-events: none;
}

body.login-page::before {
  background: rgba(0, 229, 255, 0.35);
  top: -160px;
  left: -180px;
}

body.login-page::after {
  background: rgba(120, 0, 255, 0.28);
  bottom: -220px;
  right: -140px;
}

body.login-page > * {
  position: relative;
  z-index: 1;
}

.login-page .login-panel {
  width: min(480px, calc(100% - 64px));
  padding: 48px 44px;
  border-radius: 28px;
  background: rgba(7, 19, 36, 0.82);
  color: #f4faff;
  border: 1px solid rgba(0, 229, 255, 0.18);
  box-shadow: 0 32px 80px -36px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(22px);
}

.login-page .login-panel .MuiTypography-root {
  color: inherit;
}

.login-page .login-logo {
  display: block;
  margin: 0 auto 8px;
  width: 210px;
}

.login-page .MuiDivider-root {
  background-color: rgba(255, 255, 255, 0.08);
}

.login-page .MuiLink-root {
  color: #7dd3fc;
  font-weight: 500;
  transition: color 0.2s ease;
}

.login-page .MuiLink-root:hover {
  color: #ffffff;
}

.login-page .MuiAlert-root {
  background: rgba(229, 57, 53, 0.12);
  color: #ff8a80;
  border: 1px solid rgba(255, 138, 128, 0.3);
}

.login-page .MuiAlert-icon {
  color: #ff8a80;
}

.login-page .MuiAlert-action .MuiIconButton-root {
  color: #ff8a80;
}

.login-page .login-panel .MuiButton-root {
  border-radius: 999px;
}

@media (max-width: 768px) {
  body.login-page {
    padding: 56px 24px;
  }

  .login-page .login-panel {
    width: calc(100% - 40px);
    padding: 36px 28px;
  }

  .login-page .login-logo {
    width: 180px;
  }
}

@media (max-width: 480px) {
  body.login-page {
    padding: 48px 18px;
  }

  .login-page .login-panel {
    width: calc(100% - 24px);
    padding: 32px 22px;
  }

  .login-page .login-logo {
    width: 150px;
  }
}
