* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: linear-gradient(135deg, #c9eaff, #eaf6ff);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  width: 100%;
  max-width: 600px;
  padding: 20px;
}

.login-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 60px 120px;
  text-align: center;
  transition: .3s;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.input-group,
.button-group button {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger delays */
.input-group:nth-child(1) {
  animation-delay: 0.8s;
}
.input-group:nth-child(2) {
  animation-delay: 0.75s;
}
.button-group button:first-child {
  animation-delay: 1s;
}
.button-group button:last-child {
  animation-delay: 1s;
}

.logo img {
  height: 60px;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease-out forwards;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 600;
  transition: .3s;
  animation: fadeInUp 1.0s ease-out forwards;
}

p {
  font-size: 0.95rem;
  margin-bottom: 30px;
  color: #555;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
}

.input-group input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: none;
  border-radius: 10px;
  background: #f0f4f8;
  font-size: 1rem;
  transition: background 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.098);
}

.input-group input:focus {
  outline: none;
  background: #e6f0fa;
}

.button-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background-color: #0077b6;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

#register-btn {
  background-color: #90e0ef;
  color: #000;
}

button:hover {
  opacity: 0.9;
}
@media (max-width: 768px) {
  .login-card {
    padding: 40px 30px;
  }
  h2{
    font-size: 1.4rem;
  }
}