/* Styles for the modal and overlay */
.modal {
    display: none;
    position: fixed;
    top:  0px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
  }
  
  .modal-content {
    background-color: #f4f4f4;
    padding: 15px;
    width: 300px;
    margin: 5.5% auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* Close button */
  .close-btn {
    float: right;
    font-size: 40px;
    font-weight: 800;
    cursor: pointer;
    color: red;
    margin-top: -3.1rem;
    margin-left: -1.5rem;
  }
  
  /* Login and Sign-up form specific styles */
  .login-form, .signup-form {
    max-width: 300px;
    padding: 13px;
    
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
  .login-form{
    margin-top: 0rem;
  }
  
  .login-form h2, .signup-form h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.7rem;
    font-weight: 600;
    margin-top: -3rem;
    color: #333;
  }
  
  
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    font-weight: 500;
    margin-top: -5px;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
  }
  .form-group label span{
    font-weight: 500;
    
    font-size: 1rem;
  }
  .form-group label select{
    margin-top: 10px;
    width: 70%;
    height: 27px;
  }
  @media(max-width:1250px)
  {
    .login-form h2, .signup-form h2 {
      font-size: 1.8rem;
      font-weight: 600;
      margin-top: -1.2rem;
    }
  }
  
  .form-group input {
    width: 100%;
    height: 27px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #555;
    margin-bottom: -.5rem;
  }
  
  .login-btn, .signup-btn {
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 3px;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s;
  }
  
  .login-btn:hover, .signup-btn:hover {
    background-color: #0056b3;
  }
  
  .login-form p, .signup-form p {
    text-align: center;
    margin-top: 10px;
    color: #555;
  }
  
  .login-form a, .signup-form a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
  }
  
  .login-form a:hover, .signup-form a:hover {
    text-decoration: underline;
  }