*,
*:before,
*:after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-color: #f4f4f9;
  height: 100vh;
}
.custom-background {
  width: 430px;
  height: 520px;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
}
.custom-background .custom-shape {
  height: 200px;
  width: 200px;
  position: absolute;
  border-radius: 50%;
  animation: floatAnimation 5s infinite ease-in-out alternate;
}
.custom-shape:first-child {
  background: linear-gradient(#a1c4fd, #c2e9fb);
  left: -80px;
  top: -80px;
  animation-delay: 0s;
}
.custom-shape:last-child {
  background: linear-gradient(to right, #ff9a9e, #fad0c4);
  right: -30px;
  bottom: -80px;
  animation-delay: 2s;
}
@keyframes floatAnimation {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(30px);
  }
}
.custom-login-form {
  height: fit-content;
  width: 400px;
  background: rgba(255, 255, 255, 0.6);
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  border-radius: 10px;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 50px 35px;
  text-align: center;
}
.custom-login-form {
  font-family: "Poppins", sans-serif;
  color: #333;
  letter-spacing: 0.5px;
  outline: none;
  border: none;
}
.custom-login-form h3 {
  font-size: 32px;
  font-weight: 500;
  line-height: 42px;
  text-align: center;
  color: #333;
}
.custom-label {
  display: block;
  margin-top: 30px;
  font-size: 16px;
  font-weight: 500;
  color: #444;
  text-align: left;
}
.custom-input {
  display: block;
  height: 50px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 5px;
  padding: 0 10px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 300;
  border: 1px solid #ddd;
  color: #333;
}
::placeholder {
  color: #999;
}
.custom-forgot-password {
  display: block;
  text-align: right;
  margin-top: 10px;
  font-size: 14px;
  color: #5a67d8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}
.custom-forgot-password:hover {
  color: #434190;
  text-decoration: underline;
}
.custom-button {
  margin-top: 30px;
  width: 100%;
  background-color: #5a67d8;
  color: #fff;
  padding: 15px 0;
  font-size: 18px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
.custom-button:hover {
  background-color: #434190;
}
.custom-social {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}
.custom-social div {
  width: 48%;
  border-radius: 5px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.05);
  color: #333;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
  cursor: pointer;
}
.custom-social div:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.custom-social .custom-fb {
  background-color: #3b5998;
  color: #fff;
}
.custom-social .custom-fb:hover {
  background-color: #2d4373;
}
.custom-social .custom-go {
  background-color: #db4437;
  color: #fff;
}
.custom-social .custom-go:hover {
  background-color: #c1351d;
}
.custom-social i {
  margin-right: 5px;
}
.custom-signup {
  margin-top: 20px;
  font-size: 14px;
}
.custom-signup a {
  color: #5a67d8;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease-in-out;
}
.custom-signup a:hover {
  text-decoration: underline;
  color: #434190;
}

/* Eye button  */
.custom-input-wrapper {
  position: relative;
  width: 100%;
}
.custom-password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
}
.custom-password-toggle:hover {
  color: #333;
}

@media (max-width: 500px) {
  .custom-background {
    width: 95%;
    overflow: hidden;
    /* display: none; */
  }
  .custom-social {
    flex-direction: column;
    gap: 10px;
}
  .custom-login-form {
    width: 95%;
    padding: 40px 25px;
  }
  .custom-social .custom-go {
    width: 100%;
  }
  .custom-social .custom-fb {
    width: 100%;
  }
  .custom-button {
    margin-top: 15px;
  }
  .custom-label {
    margin-top: 15px;
  }
}
