* {
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh; 
    background: url(img/body.png);
    position: relative;
    text-align: center;
    background-size: cover;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    display: flex;
    padding-top: 80px;
    overflow: hidden;
  }

  .container {
    width: 100%;
    max-width: 550px; 
    padding: 40px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 50px;
}
/* Back button styles */
.back-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 24px;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.back-btn:hover {
  color: #0e4efd;
  font-weight: bold; 
  transform: scaleY(1.1);
}

.back-btn i {
  font-size: 30px; /* Increase the size of the icon */
}

#login-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 60px 50px;
  overflow-y: scroll; 
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 500px;
  margin: auto;
  transform: scale(1.1);
  transition: transform 0.5s ease-in-out;
  opacity: 1;
  margin-bottom: 200px;
}

#register-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 60px 50px;
  overflow-y: scroll;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 500px;
  margin: auto;
  transform: scale(1.1);
  transition: transform 0.5s ease-in-out;
  opacity: 1;
  margin-bottom: 200px;
  min-height: 700px; 
}

#login-form::-webkit-scrollbar, #register-form::-webkit-scrollbar {
  display: none;  
}

#login-form, #register-form {
  -ms-overflow-style: none;  
  scrollbar-width: none; 
}

  .forgot-link {
    text-decoration: none;
  }
  
  #login-form h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }
  
  label {
    font-size: 16px;
  }
  
  .input-box input {
    font-size: 16px;
    padding: 14px 14px 14px 40px;
  }
  
  .input-box .icon {
    font-size: 18px;
  }
  
  .or-text {
    font-size: 15px;
    margin: 25px 0 15px;
    color: #555; 
  }
  
  .signup-link, .login-link {
    font-size: 16px;
    color: #5b86e5; 
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
.login-link:hover,  .signup-link:hover {
    color: #36d1dc; 
  }

  .login-container {
    width: 100%;
    max-width: 350px;
    text-align: center;
  }
  
  
  h2 {
    font-size: 29px;
    margin-bottom: 40px;
  }
  
  label {
    text-align: left;
    display: block;
    margin-bottom: 5px;
    margin-top: 15px;
    font-weight: 600;
    font-size: 16px;
  }
  
  .input-box {
    position: relative;
    margin-bottom: 10px;
  }
  
  
  .input-box .icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
    font-size: 18px;
  }  
  
  .input-box input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    font-size: 16px;
    padding: 14px 14px 14px 40px;
  }

  .view-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.5;
  }
  
  .forgot {
    text-align: center;
    margin: 15px 0;
  }
  
  .forgot a {
    text-decoration: none;
    color: #888;
    font-size: 13px;
  }
  
  .Img {
    width: 50px; 
    height: auto;
  }
  
  .signup-link {
    text-decoration: none;
    color: #5b86e5;
    font-weight: bold;
    font-size: 14px;
  }


  #register-form h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  label {
    font-size: 16px;
  }

  .input-box input {
    font-size: 16px;
    padding: 14px 14px 14px 40px;
  }

  .input-box .icon {
    font-size: 18px;
  }

  .login-btn {
    width: 50%;
    padding: 14px;
    background: linear-gradient(to right, #36d1dc, #5b86e5);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 12px;
    margin-bottom: 30px;
    margin-top: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
  }

  .login-btn:hover {
    background: linear-gradient(to right, #5b86e5, #36d1dc); /* Reverse gradient on hover */
    transform: scale(1.05); /* Slight scale up effect */
  }

  .or-text {
    font-size: 15px;
    margin: 25px 0 15px;
  }

  .signup-link {
    font-size: 16px;
  }
  
  .input-box select {
    font-size: 16px;
    padding: 14px 14px 14px 40px;
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
  }

  
  
   /* Modal Styling */
   .modal {
    display: none; 
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    text-align: center;
    border-radius: 10px;
  }

  .close-btn {
    color: #aaa;
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
  }

  .close-btn:hover {
    color: black;
  }

  
  