.form-group {
  position: relative;
  margin-bottom: 1.5rem;
  font-family: "Optimistic Text Medium";
}

.form-group label {
  position: absolute;
  left: 1rem;
  top: 30%;
  transform: translateY(10%);
  transition: top 0.2s ease-out, font-size 0.2s ease-out;
  pointer-events: none;
  color: rgb(162 172 180);
  display: inline;
  font-size: 15px;
  overflow-wrap: break-word;
  font-family: "Optimistic Text Medium";
}

.form-group input {
  width: calc(100% - 40px);
  /* Adjusted to accommodate icon width */
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 13px;
  /* Added padding for the icon */
}

.form-group input:focus ~ label,
.form-group input:valid ~ label {
  top: 0;
  font-size: 12px;
  color: #333;
}

#fbbody,
.fbook {
  background-color: rgb(240 246 255);
  margin: 0 auto;
  text-align: center;
  height: 100vh;
  padding: 20px;
}

#igbody,
.instacss {
  margin: 0 auto;
  text-align: center;
  height: 100vh;
  padding: 20px;
}

.toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 24px;
  /* Adjust icon width */
  height: 24px;
  /* Adjust icon height */
  background-image: url("/img/hide.png");
  /* Replace with your icon path */
  background-size: cover;
  background-repeat: no-repeat;

  mask-size: cover;
  object-position: 10000px 10000px;
  object-fit: cover;
  overflow: hidden;
}

.clear-input {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 24px;
  /* Adjust icon width */
  height: 24px;
  /* Adjust icon height */
  background-image: url("/img/cancel.png");
  /* Path to your image file */
  background-size: cover;
  display: none;
  /* Initially hide the clear icon */
}

/* Instagram css begins */
