html,
body {
  height: 100%;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

/* ================= BACKGROUND ================= */
.force-center {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: radial-gradient(circle at top, #1e3a8a, #0b1220 65%);
  overflow: hidden;
}

/* soft bluish glow */
.force-center::before,
.force-center::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
  z-index: 0;
}

.force-center::before {
  background: #60a5fa;
  top: -180px;
  left: -180px;
}

.force-center::after {
  background: #3b82f6;
  bottom: -180px;
  right: -180px;
}

/* ================= CARD ================= */
.login-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 35px;
  color: #fff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  z-index: 1;
  animation: fadeUp 0.6s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= HEADER ================= */
.login-banner {
  text-align: center;
  margin-bottom: 25px;
}

.login-banner h1 {
  font-size: 20px;
  margin: 0;
  font-weight: 600;
  color: #93c5fd;
}

.login-banner p {
  font-size: 13px;
  margin-top: 5px;
  opacity: 0.8;
}

/* divider */
.login-banner::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
  opacity: 0.6;
}

/* ================= INPUTS ================= */
.form-group {
  position: relative;
  margin-bottom: 18px;
}

.form-control {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  outline: none;
}

.form-control::placeholder {
  color: transparent;
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: 0.2s;
  pointer-events: none;
}

/* floating effect */
.form-control:focus + label,
.form-control:not(:placeholder-shown) + label {
  top: -8px;
  left: 10px;
  font-size: 11px;
  color: #93c5fd;
}

/* ================= PASSWORD ================= */
.password-wrap {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
}

/* ================= BUTTON ================= */
.btn-login {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
  color: white;
  transition: 0.25s;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
  .login-card {
    padding: 25px;
  }
}

.login-logo {
  text-align: center;
  margin-bottom: 10px;
}

.login-logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 18px;

  /* soft glass effect */
  /* background: rgba(255, 255, 255, 0.08); */
  padding: 10px;

  /* glow */
  /* box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25); */

  /* float animation */
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.login-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.footer-title {
  font-weight: 600;
  color: #93c5fd;
  letter-spacing: 0.5px;
}

.footer-sub {
  font-size: 11px;
  opacity: 0.7;
}

.footer-dev {
  margin-top: 5px;
  font-size: 11px;
  opacity: 0.8;
}
