/* ---------- GLOBAL STYLES ---------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #000428, #004e92);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* ---------- NAVBAR ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(250, 247, 247, 0.97);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  z-index: 1000;
}

nav h1 {
  color: #00c6ff;
  font-size: 22px;
  font-weight: 600;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #00c6ff;
}

/* Adjust body layout for navbar height */
body {
  background: linear-gradient(135deg, #000428, #004e92);
  min-height: 100vh;
  margin-top: 80px; /* So navbar doesn’t overlap content */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------- LOGIN BOX ---------- */
.login-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.login-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 40px 30px;
  width: 350px;
  color: #fff;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1.2s ease;
}

.login-box h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 25px;
}

/* ---------- FORM STYLING ---------- */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #eee;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-group input:focus {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 10px #00c6ff;
}

/* ---------- BUTTON ---------- */
.login-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

/* ---------- LINKS ---------- */
.extra {
  margin-top: 20px;
  font-size: 14px;
}

.extra a {
  color: #00c6ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.extra a:hover {
  color: #fff;
}

/* ---------- ANIMATION ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 480px) {
  .login-box {
    width: 100%;
    max-width: 320px;
    padding: 30px 20px;
  }

  .login-box h2 {
    font-size: 22px;
  }

  .form-group input {
    font-size: 14px;
  }

  .login-btn {
    font-size: 15px;
  }
}
