/* Global reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Body Setup with Gradient Background */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  animation: bgAnimation 8s ease-in-out infinite;
}

/* Gradient Animation for Background */
@keyframes bgAnimation {
  0% {
    background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
  }
  50% {
    background: linear-gradient(45deg, #ff7e5f 0%, #feb47b 100%);
  }
  100% {
    background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
  }
}

/* Form Container Style */
.header {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 15px;
  padding: 40px 50px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  color: #fff;
  width: 100%;
  max-width: 400px;
  transition: all 0.3s ease-in-out;
}

/* Form Hover Effect */
.header:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Header Styling */
.header h1 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 2px;
  color: #fff;
  animation: textFadeIn 1.5s ease-out;
}

/* Input box styling */
.Input-box {
  position: relative;
  width: 100%;
  height: 50px;
  margin: 20px 0;
  animation: inputFieldAnimation 1s ease-out;
}

.Input-box input {
  width: 100%;
  height: 100%;
  padding: 15px 25px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  outline: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.Input-box input:focus {
  border-color: #00b4d8;
  background-color: rgba(255, 255, 255, 0.2);
}

.Input-box i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 20px;
}

/* Checkbox and Link Styling */
.remember-forgot {
  display: flex;
  justify-content: space-between;
  color: #ccc;
  font-size: 14px;
}

.remember-forgot label {
  display: flex;
  align-items: center;
}

.remember-forgot a {
  color: #00b4d8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.remember-forgot a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Button Styling */
.header .button {
  width: 100%;
  margin-top: 10px;
  height: 45px;
  background-color: #00b4d8;
  border: none;
  border-radius: 30px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.header .button:hover {
  background-color: #0088a2;
  transform: scaley(5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Register Link */
.register-link {
  text-align: center;
  color: #fff;
  font-size: 14px;
  margin-top: 12px;
}

.register-link a {
  color: #00b4d8;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes textFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes inputFieldAnimation {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
