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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  height: 100vh;
  background: radial-gradient(circle at top, #0d0d0d, #000000);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.login-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.login-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.25);
  border-radius: 20px;
  padding: 40px 35px;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 40px rgba(0, 235, 255, 0.2);
  animation: fadeIn 1s ease forwards;
  transform: translateY(20px);
  opacity: 0;
}

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

.title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #00eaff;
}

.subtitle {
  text-align: center;
  margin-bottom: 30px;
  font-size: 0.95rem;
  color: #b7ffff;
}

.input-box {
  position: relative;
  margin: 25px 0;
}

.input-box input {
  width: 100%;
  padding: 12px 40px 12px 10px;
  background: transparent;
  border: none;
  border-bottom: 2px solid #00eaff;
  color: #fff;
  font-size: 1rem;
  outline: none;
}

.input-box label {
  position: absolute;
  left: 10px;
  top: 12px;
  color: #b7ffff;
  font-size: 0.9rem;
  transition: 0.3s;
  pointer-events: none;
}

.input-box input:focus ~ label,
.input-box input:valid ~ label {
  top: -8px;
  font-size: 0.75rem;
  color: #00eaff;
}

.input-box ion-icon {
  position: absolute;
  right: 10px;
  top: 12px;
  font-size: 1.3rem;
  color: #00eaff;
}

.remember-line {
  font-size: 0.85rem;
  color: #ccffff;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.remember-line input {
  margin-right: 6px;
  accent-color: #00eaff;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #00c6ff, #00eaff);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.login-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
}

.error {
  text-align: center;
  color: #ff6b6b;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
