@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(120deg, #537692, #001b2e);
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.container {
  animation: fadeIn 1s ease forwards;
}

.login-box {
  width: 380px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 50px 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(12px);
  text-align: center;
}

.login-box h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 30px;
}

.input-field {
  position: relative;
  margin-bottom: 25px;
}

.input-field input {
  width: 100%;
  padding: 14px 12px;
  border: none;
  border-radius: 10px;
  background: #e8effb;
  font-size: 15px;
  outline: none;
  transition: all 0.3s;
}

.input-field input:focus {
  background: #eef2f7;
  box-shadow: 0 0 0 3px rgba(100, 180, 255, 0.3);
}

.input-field label {
  position: absolute;
  left: 12px;
  top: 14px;
  color: #999;
  font-size: 15px;
  pointer-events: none;
  transition: 0.2s ease all;
}

.input-field input:focus ~ label,
.input-field input:valid ~ label {
  top: -10px;
  left: 10px;
  font-size: 13px;
  color: #4facfe;
  background: #fff;
  padding: 0 4px;
  border-radius: 4px;
}

.btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #537692, #001b2e);
  color: white;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #7fa2bb, #2f4f66);
  box-shadow: 0 8px 20px rgba(89, 120, 145, 0.45);
}

.error {
  color: #e63946;
  margin-top: 20px;
  font-size: 14px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer note */
.footer-text {
  text-align: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #777;
}