/* r1chqrd GitLab login - glass / blur theme */

body.login-page,
body.login-page > div {
  background: linear-gradient(135deg, #020617 0%, #050d24 35%, #0a1a44 65%, #050d24 100%) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
}

body.login-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(59,130,246,0.15) 0%, transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(37,99,235,0.12) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

body.login-page .bar {
  background: rgba(15, 23, 42, 0.4) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(148, 163, 184, 0.15) !important;
  border-radius: 18px !important;
  padding: 2.5rem 2rem !important;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  position: relative;
  z-index: 1;
}

body.login-page h1,
body.login-page h2 {
  color: #f1f5f9 !important;
  font-weight: 300 !important;
  letter-spacing: 0.03em !important;
  text-align: center !important;
  margin-bottom: 2rem !important;
}

body.login-page label,
body.login-page .gl-form-checkbox label,
body.login-page .custom-control-label {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  font-size: 0.875rem !important;
}

body.login-page .form-control,
body.login-page .gl-form-input {
  background: rgba(2, 6, 23, 0.5) !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  color: #f1f5f9 !important;
  border-radius: 10px !important;
  padding: 0.7rem 1rem !important;
  transition: all 0.2s ease !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

body.login-page .form-control:focus,
body.login-page .gl-form-input:focus {
  background: rgba(2, 6, 23, 0.75) !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
  outline: none !important;
}

body.login-page .form-control::placeholder {
  color: #64748b !important;
}

body.login-page .btn-confirm,
body.login-page .js-sign-in-button {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 0.8rem 1.5rem !important;
  border-radius: 10px !important;
  letter-spacing: 0.02em !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4) !important;
}

body.login-page .btn-confirm:hover,
body.login-page .js-sign-in-button:hover {
  background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.5) !important;
}

body.login-page a {
  color: #93c5fd !important;
  text-decoration: none !important;
}

body.login-page a:hover {
  color: #dbeafe !important;
  text-decoration: underline !important;
}

body.login-page .js-portrait-logo-detection {
  filter: brightness(0) invert(1) !important;
  opacity: 0.85;
}

body.login-page .footer-container,
body.login-page .footer-container a {
  color: #94a3b8 !important;
  position: relative;
  z-index: 1;
}

body.login-page .container,
body.login-page .content {
  position: relative;
  z-index: 1;
}

