    .logincontainer {
      display: flex;
      width: 100%;
      max-width: 900px;
      background-color: #fff;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      flex-wrap: wrap;
      position: relative;
      margin: 40px auto;
      height: 500px;
      margin-bottom:60px;
    }

    .panel {
      flex: 1;
      padding: 40px;
      transition: all 0.5s ease-in-out;
      display: flex;
      flex-direction: column;
      justify-content: top;
    }

    .left-panel {
      /* background-color: #2874f0; */
      background-color: #f739bb !important;
      color: white;
      font-weight: bold;
      position: relative;
    }

    .left-panel h2 {
      font-size: 24px;
      margin-bottom: 20px;
      font-weight: bold;
    }

    .left-panel p {
      font-size: 18px;
    }

    .left-panel img {
      position: absolute;
      bottom: 60px;
      width: 400px;
      left: 50%;
      transform: translateX(-50%);
    }

    .form-panel {
      background-color: #fff;
    }

    .form-panel h2 {
      margin-bottom: 20px;
      font-size: 24px;
      color: #333;
    }

    form {
      width: 100%;
    }

   .floating-label-group {
  position: relative;
  margin-bottom: 25px;
}

.floating-label-group input {
  width: 100%;
  padding: 14px 14px 6px 40px; /* Left padding accounts for icon */
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  font-size: 16px;
  background-color: transparent;
}

.floating-label-group input:focus {
  /* border-bottom-color: #2874f0; */
  border-bottom-color: #FF5ACC;
}

.floating-label-group label {
  position: absolute;
  top: 8px;
  left: 40px;
  color: #999;
  font-size: 16px;
  pointer-events: none;
  transition: 0.2s ease all;
}

.floating-label-group input:focus + label,
.floating-label-group input:not(:placeholder-shown):valid + label {
  top: -10px;
  font-size: 12px;
  /* color: #2874f0; */
  color: #FF5ACC;
}

.form-group i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #777;
}


    .form-extra {
      display: flex;
      justify-content: space-between;
      font-size: 14px;
      color: #555;
      margin-bottom: 20px;
    }

    .form-extra a {
      color: #2874f0 !important;
      text-decoration: none;
    }
.form-extra a:hover {
      color: #2874f0 !important;
      text-decoration: none;
    }
    .btn {
      /* background-color: #fb641b; */
      background-color: #FF5ACC !important;
      color: white !important;
      border: none;
      width: 100%;
      padding: 14px;
      font-size: 16px;
      cursor: pointer;
      border-radius: 2px;
    }

    .btn:hover {
      /* background-color: #f25c07; */
      background-color: #f739bb !important;
    }

    .switch-text {
      position: absolute;
      bottom: 20px;
      width: 100%;
      text-align: left;
      font-size: 14px;
    }
    

    .switch-text a {
      color: #2874f0 !important;
      font-weight: bold;
      cursor: pointer;
      text-decoration: underline;
    }

    /* Toggled styles */
    .signup-active .left-panel {
      order: 1;
    }

    .signup-active .form-panel {
      order: 2;
    }

    .signup-active .left-panel h2 {
      content: "Looks like you are new Here!";
    }

    .signup-active .left-panel p {
      content: "Sign up with your details to get started. Join us to enjoy shopping.";
    }

    .signup-active .left-panel {
      background-color: #2874f0;
    }

    .signup-active .switch-text a {
      color: #fff;
    }

   /* Responsive layout: stack panels vertically on smaller screens */
@media (max-width: 768px) {
  .logincontainer {
    flex-direction: column;
    height: auto; /* Allow content height */
    padding: 15px;
  }

  .panel {
    padding: 30px 20px;
    height: auto;
  }

  .left-panel img {
    width: 100%;
    position: relative;
    bottom: 0;
    transform: none;
    left: auto;
    margin-top: 20px;
  }

  .switch-text {
    position: relative;
    margin-top: 20px;
    text-align: center;
  }

  .form-extra {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .floating-label-group input {
    padding-left: 14px; /* Reduce padding if icon not needed on mobile */
  }

  .form-group i {
    display: none; /* Hide icons on smaller screens if layout is tight */
  }

  .btn {
    font-size: 14px;
    padding: 12px;
  }
}

/* Extra small devices like phones */
@media (max-width: 480px) {
  .left-panel h2,
  .form-panel h2 {
    font-size: 20px;
  }

  .left-panel p {
    font-size: 14px;
  }

  .switch-text {
    font-size: 12px;
  }
}
