body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(to right, #00b8e6, #0077b6);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: #333;
}

.login-container {
  width: 350px;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  margin: 100px auto;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

.login-container h2 {
  animation: fadeInUp 1s ease;
}

.login-container h2 span {
  color: #00b8e6;
}

.form-group {
  text-align: left;
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
  color: #0077b6;
}

.form-group input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 15px;
  transition: border 0.3s;
}

.form-group input:focus {
  border-color: #00b8e6;
}

.btn-login {
  background-color: #00b8e6;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.btn-login:hover {
  background-color: #009fd4;
  transform: scale(1.05);
}

.register-text {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
  animation: fadeInUp 1.4s ease;
}

.register-text a {
  color: #00b8e6;
  text-decoration: none;
  font-weight: 600;
}

.register-text a:hover {
  text-decoration: underline;
}
.back-home {
  margin-top: 15px;
  animation: fadeInUp 1.4s ease;
}

.back-home a {
  color: #0077b6;
  text-decoration: none;
  font-weight: 500;
}

.back-home a:hover {
  text-decoration: underline;
}
.welcome-message {
  background: #00b8e6;
  color: white;
  text-align: center;
  padding: 12px;
  font-weight: 600;
  font-size: 16px;
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.error-message {
  background: #ff4d4f;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 600;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
  }
}
.error-message {
  background: #ff4d4f;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 600;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
