html, body {
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
}
/* Sparkle effect background */
body::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("https://www.transparenttextures.com/patterns/stardust.png");
  opacity: 0.4;
  animation: sparkle 12s linear infinite;
}
@keyframes sparkle {
  0% { background-position: 0 0; }
  100% { background-position: 1000px 1000px; }
}
.glassmorphism {
  backdrop-filter: blur(5px) saturate(100%);
  -webkit-backdrop-filter: blur(10px) saturate(100%);
  background-color: rgba(47, 67, 97, 0.25);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);
  /* Keep your width */
  width: 100%;
  max-width: 800px;
  padding: 30px 30px 0px;
  /* Center trick */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.unblur {
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
}
.btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}
.btn-secondary, .btn-secondary:hover {
  outline: none;
  border: none;
  font-weight: bold;
  color: white;
  background-color: black;
  box-shadow: white;
}
.btn-block {
  display: block;
  width: 100%;
}
.btn-group-sm>.btn, .btn-sm {
  padding: .25rem .5rem;
  font-size: .875rem;
  line-height: 1.5;
  border-radius: .2rem;
}
.btn-secondary {
  color: #000000ff;
  background-color: #fff;
  border-color: #000000ff;
}
.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-control {
  border-radius: 10px;
  border: 1px solid #ffffff33;
  background: #0f3460;
  color: #fff;
}
.form-control::placeholder {
  color: #ddd;
}
.btn-login {
  background: linear-gradient(135deg, #4a90e2, #0f3460);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 5px;
  margin-top: 12px;
  transition: all 0.3s ease-in-out;
}
.btn-login:hover {
  background: linear-gradient(135deg, #0f3460, #4a90e2);
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
  color: #fff;
}
.footer-text {
  margin-top: 20px;
  font-size: 12px;
  color: #bbb;
}
.footer-text strong {
  color: #fff;
}
@media (max-width: 576px) {
  .glassmorphism {
    width: 95%;
    padding: 15px;
  }
  .login-logo img {
    max-width: 70% !important;
  }
}