/* =========================
   GLOBAL RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, sans-serif;
}

/* =========================
   BODY
========================= */
body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0b1220, #1f1f2e);
  color: #ffffff;
  overflow: hidden;
}

/* =========================
   LOGIN WRAPPER
========================= */
.login-wrapper {
  position: relative;
  width: 380px;
  padding: 40px 34px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow:
    0 25px 50px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.1);
  animation: float 4s ease-in-out infinite;
}

/* =========================
   TITLE
========================= */
.login-wrapper h2 {
  text-align: center;
  margin-bottom: 28px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* =========================
   INPUT GROUP
========================= */
.input-group {
  position: relative;
  margin-bottom: 18px;
}

.input-group i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 16px;
}

.input-group input {
  width: 100%;
  padding: 14px 16px 14px 40px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.input-group input::placeholder {
  color: rgba(255,255,255,0.6);
}

.input-group input:focus {
  outline: none;
  border-color: #38bdf8;
  background: rgba(255,255,255,0.2);
}

/* =========================
   LOGIN BUTTON
========================= */
button {
  width: 100%;
  padding: 16px;
  margin-top: 12px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0,0,0,0.45);
}

button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 6px 15px rgba(0,0,0,0.35);
}

/* =========================
   EXTRA LINKS
========================= */
.extra-links {
  text-align: center;
  margin-top: 14px;
}

.extra-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.extra-links a:hover {
  color: #38bdf8;
}

/* =========================
   FLOATING ANIMATION
========================= */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 420px) {
  .login-wrapper {
    width: 92%;
    padding: 32px 26px;
  }
}
