

.container {
  position: relative;
  width: 100%;
  background-color: #fff;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  
}

.forms-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow-y: auto;
}

.signin-signup {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 75%;
  width: 50%;
  transition: 1s 0.7s ease-in-out;
  display: grid;
  grid-template-columns: 1fr;
  z-index: 5;
  max-height: 95%;
  overflow-y: auto;
}

.sign-up-form, .sign-in-form{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem 5rem;
  transition: all 0.2s 0.7s;
  height: 100%;
  overflow-y: auto;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

form.sign-up-form {
  opacity: 0;
  z-index: 1;
}

form.sign-in-form {
  z-index: 2;
  overflow: hidden;
}
/* Custom scrollbar styles */
.forms-container::-webkit-scrollbar,
.signin-signup::-webkit-scrollbar {
  width: 2px; /* Width of the scrollbar */
}

.forms-container::-webkit-scrollbar-track,
.signin-signup::-webkit-scrollbar-track {
  background: #f1f1f1; /* Background of the scrollbar track */
  border-radius: 10px; /* Rounded corners for track */
}

.forms-container::-webkit-scrollbar-thumb,
.signin-signup::-webkit-scrollbar-thumb {
  background: #888; /* Scrollbar thumb color */
  border-radius: 10px; /* Rounded corners for thumb */
  border: 2px solid #fff; /* Optional border for thumb */
}

.forms-container::-webkit-scrollbar-thumb:hover,
.signin-signup::-webkit-scrollbar-thumb:hover {
  background: #555; /* Darker color on hover */
}

/* Optional styling for scrollbar on Firefox */
.forms-container,
.signin-signup {
  scrollbar-width:thin; /* Makes the scrollbar thinner */
  scrollbar-color: #888 #f1f1f1; /* Thumb color and track color */
}

/* Add general styling for overflow areas */
.forms-container,
.signin-signup {
  scroll-behavior: smooth; /* Smooth scrolling effect */
  padding-right: 8px; /* Prevent content overlap with the scrollbar */
}

.title {
  font-size: 1.4rem;
  color: #444;
  margin-bottom: 10px;
}

.input-field {
  display: flex;
  align-items: center;
  max-width: 380px;
  width: 100%;
  background-color: #f0f0f0;
  margin: 5px 0;
  /* height: 50px; */
  border-radius: 6px;
  display: grid;
  grid-template-columns:  5% 75%;
  padding: 10px;
  position: relative;
  border: 1px solid rgba(133, 133, 133, 0.127);
    /* box-shadow: rgba(50, 50, 93, 0.25) -2px 2px 2px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;     */
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    
}
.input-field:hover{
  border: 1px solid rgb(133, 133, 133);
}

.input-field i {
  text-align: center;
  /* line-height: 55px; */
  color: #2d2d2d;
  transition: 0.5s;
  font-size: 14px;
}

.input-field input {
  background: none;
  outline: none;
  border: none;
  line-height: 1;
  font-weight: 600;
  font-size: 14px;
  color: #2d2d2d;
  margin-left:10px ;
  width: 100%;
}

.input-field input::placeholder {
  color: #505050;
  font-weight: 500;
}
.forradio{
  display: flex;
  flex-direction: column;
}
.forradio p{
  width: 100%;
  font-size: 14px;
}
.radio-group {
  display: flex;
  flex-wrap: wrap;
  
  gap: 1px;
  width: 100%;
  /* margin-top: 10px; */
}

.radio-group .radio-content {
  display: flex;
  /* align-items: center; */
  justify-content: start;
  gap: 8px;
  font-size: 14px;
  width: 178px;
  width: max-content;
}

.radio-group input[type="radio"] {
  transform: scale(1);
  /* margin-right: 5px; */
  cursor: pointer;
  font-size: 14px;
  width: max-content;
}
/* .forradio .radio-group{


} */


/* terms and cond */
.terms-and-conditions{
  font-size: 14px;
  display: flex;
  gap: 6px;
}
.social-text {
  padding: 0.7rem 0;
  font-size: 1rem;
}

.social-media {
  display: flex;
  justify-content: center;
}

.social-icon {
  height: 46px;
  width: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0.45rem;
  color: #333;
  border-radius: 50%;
  border: 1px solid #333;
  text-decoration: none;
  font-size: 1.1rem;
  transition: 0.3s;
}

.social-icon:hover {
  color: #4481eb;
  border-color: #4481eb;
}

.sign-btn {
  width: 150px;
  background-color: #5995fd;
  border: none;
  outline: none;
  height: 49px;
  border-radius: 49px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  margin: 10px 0;
  cursor: pointer;
  transition: 0.5s;
}

.sign-btn:hover {
  background-color: #4d84e2;
}
.or-line-main{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 5px;
}
.or-line-main .or-line{
  border: 1px solid rgb(43, 43, 43);
  width: 40px;
  position: relative;
  top: 2px;
}
.google-login{
  border: 1px solid grey;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px 10px;
  border-radius: 20px;
  cursor: pointer;
}
.google-login:hover{
  background-color: #e2e2e2;
}
.google-login>img{
  height: 30px;
}
.google-login>span{
  font-weight: 500;
  font-size: 14px;
  color: rgb(54, 54, 54);
}

.panels-container {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.container:before {
  content: "";
  position: absolute;
  height: 2000px;
  width: 2000px;
  top: -10%;
  right: 48%;
  transform: translateY(-50%);
  background-image: linear-gradient(-45deg, #eb5744 0%, #04befe 100%);
  transition: 1.8s ease-in-out;
  border-radius: 50%;
  z-index: 6;
}

.image {
  max-width: 120px;
  width: 100%;
  margin-top: 10px;
  transition: transform 1.1s ease-in-out;
  transition-delay: 0.4s;
}

.panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 6;
  gap: 20px;
}

.left-panel {
  pointer-events: all;
  padding: 3rem 17% 2rem 12%;
  /* border: 1px solid red; */
}

.right-panel {
  pointer-events: none;
  padding: 3rem 12% 2rem 17%;
}

.panel .content {
  color: #fff;
  transition: transform 0.9s ease-in-out;
  transition-delay: 0.6s;
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  /* border: 1px solid black; */

}
.panel h3 {
  font-weight: 600;
  line-height: 1;
  font-size: 1.5rem;
}

.panel p {
  font-size: 0.95rem;
  padding: 0.7rem 0;
  /* width: 100%; */
  /* border: 1px solid black; */
}

.transparent {
  margin: 0;
  background: none;
  border: 2px solid #fff;
  width: 130px;
  height: 41px;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 20px;
  color: white;
  cursor: pointer;
}

.right-panel .image,
.right-panel .content {
  transform: translateX(800px);
}

/* ANIMATION */

.container.sign-up-mode:before {
  transform: translate(100%, -50%);
  right: 52%;
}

.container.sign-up-mode .left-panel .image,
.container.sign-up-mode .left-panel .content {
  transform: translateX(-800px);
}

.container.sign-up-mode .signin-signup {
  left: 25%;
}

.container.sign-up-mode form.sign-up-form {
  opacity: 1;
  z-index: 2;
}

.container.sign-up-mode form.sign-in-form {
  opacity: 0;
  z-index: 1;
}

.container.sign-up-mode .right-panel .image,
.container.sign-up-mode .right-panel .content {
  transform: translateX(0%);
}

.container.sign-up-mode .left-panel {
  pointer-events: none;
}

.container.sign-up-mode .right-panel {
  pointer-events: all;
}

@media (max-width: 870px) {
  .container {
    min-height: 800px;
    height: 100vh;
  }
  .signin-signup {
    width: 100%;
    top: 50%;
    transform: translate(-50%, -100%);
    transition: 1s 0.8s ease-in-out;
  }

  .signin-signup,
  .container.sign-up-mode .signin-signup {
    left: 50%;
  }

  .panels-container {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 2fr 1fr;
  }

  .panel {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 2.5rem 8%;
    grid-column: 1 / 2;
  }

  .right-panel {
    grid-row: 3 / 4;
  }

  .left-panel {
    grid-row: 1 / 2;
  }

  .image {
    width: 200px;
    transition: transform 0.9s ease-in-out;
    transition-delay: 0.6s;
  }

  .panel .content {
    padding-right: 15%;
    transition: transform 0.9s ease-in-out;
    transition-delay: 0.8s;
  }

  .panel h3 {
    font-size: 1.2rem;
  }

  .panel p {
    font-size: 0.7rem;
    padding: 0.5rem 0;
  }

  .btn.transparent {
    width: 110px;
    height: 35px;
    font-size: 0.7rem;
  }

  .container:before {
    width: 1100px;
    height: 1100px;
    transform: translateX(-50%);
    left: 30%;
    bottom: 68%;
    right: initial;
    top: initial;
    transition: 2s ease-in-out;
  }

  .container.sign-up-mode:before {
    transform: translate(-50%, 100%);
    bottom: 32%;
    right: initial;
  }

  .container.sign-up-mode .left-panel .image,
  .container.sign-up-mode .left-panel .content {
    transform: translateY(-300px);
  }

  .container.sign-up-mode .right-panel .image,
  .container.sign-up-mode .right-panel .content {
    transform: translateY(0px);
  }

  .right-panel .image,
  .right-panel .content {
    transform: translateY(300px);
  }

  .container.sign-up-mode .signin-signup {
    top: 1%;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 570px) {
  .container{
    height: 100vh;
    
  }
  form {
    padding: 0 1rem;
    height: 100%;
  }
  .sign-up-form, .sign-in-form{
    
    padding: 0.1rem 1rem;
    
  }
  .signin-signup {
    width: 100%;
    top: 80%;
    transform: translate(-50%, -100%);
    transition: 1s 0.8s ease-in-out;
  }
  .image {
    /* display: none; */
    max-width: 40px;
    width: 100%;
  }
  .panel .content {
    padding: 4.1rem 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
  }
  .left-panel .content{
    padding: 2.1rem 0.5rem;
  }
  .container {
    padding: 0.1rem 0.5rem;
  }

  .container:before {
    bottom: 72%;
    left: 50%;
  }

  .container.sign-up-mode:before {
    bottom: 28%;
    left: 50%;
  }
  .panel {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 0.1rem 0px;
    grid-column: 1 / 2;
  }
  .input-field {
    margin: 7px 0px;
    padding: 6px 10px;
  }
  .radio-group .radio-content {
    display: flex;
    /* align-items: center; */
    justify-content: start;
    gap: 8px;
    font-size: 14px;
    width: 128px;
    
  }
}



/* Style for error messages */
.error-message {
  color: red; 
  font-size: 12px; 
  font-family: Arial, sans-serif; 
  margin-top: -5px;
  margin-bottom: 0px; 
  padding-left: 5px;
  display: block;
}



/* Optional: Style the error icon */
.input-field.error i {
  color: red; 
}
.success-message{
  color: green;
  font-size: 12px;
}
.verify-button, .resend-button{
  background-color: green;
  outline: none;
  border: none;
  padding:2px 4px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  margin: 5px;
  color: white;
  font-weight: 500;
  border: 1px solid #44444463;
}
.verify-button:hover{
  background-color: #025a05;
  }
.resend-button{
  background-color: lightskyblue;
  color: black;
}
.resend-button:hover{
  background-color: #ef5b05;
  }
  .otp-box{
    border: 1px solid #333;
    padding: 2px;
    /* padding-left: 5px; */
    border-radius: 4px;
    font-size: 12px;
    outline: none;
    max-width: 120px;
    width: 100%;
  }
  .input-field {
    position: relative;
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.input-field i.toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: color 0.3s;
}

.input-field i.toggle-password:hover {
    color: #00399d;
}



.notification-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.notification-box {
  background: linear-gradient(145deg, #ffffff, #f1f1f1);
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 90%;
  max-width: 400px;
  padding: 25px;
  animation: slideIn 0.5s ease-out;
}

.notification-box p {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
}

#notification-close-btn {
  padding: 4px 8px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

#notification-close-btn:hover {
  background-color: #218838;
  transform: scale(1.05);
  box-shadow: 0 5px 10px rgba(40, 167, 69, 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

