.container {
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
  }
  .input-wrapper {
    display: flex;
    gap: 10px;
  }
  .input-container {
    display: flex;
    flex-direction: column;
    width: max-content;
  }
  .error {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
  }
  #firstname {
    width: 35vh;
  }
  #lastname {
    width: 35vh;
  }
  #email {
    width: 40vh;
  }
  #phone {
    width: 30vh;
  }

  #province {
    width: 35vh;
  }
  #city {
    width: 35vh;
  }
  #barangay {
    width: 40vh;
  }
  #postal_code {
    width: 30vh;
  }
  .terms-container {
    text-align: center;
  }
  .terms-container a {
    width: 100%;
  }
  .terms-container input {
    width: 20px;
    height: 20px;
    cursor: pointer;
  }
  .terms-container label {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 14px;
  }
  h1 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
  }
  .address input {
    width: 100%;
    display: inline-block;
  }
  .okay-term {
    padding: 10px;
    background-color: #555;
  }
  p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    text-align: left;
  }
  
  form {
    display: flex;
    flex-direction: column;
  }
  .main-section{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
  }
  
  input {
    margin-bottom: 5px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
  }
  .input{
    margin-bottom: 5px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
  }
  .password-wrapper {
    position: relative;
  }
  
  .password-wrapper input {
    width: 100%;
    padding-right: 40px; /* Extra space for the eye icon */
  }
  
  .toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
  }
  .fas {
    margin-top: 15px;
  }
  .toggle-password i {
    font-size: 20px;
    color: #666;
    margin-bottom: 12px;
  }
  button {
    padding: 10px;
    font-size: 16px;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  button:hover {
    background-color: #555;
  }
  a {
    text-align: center;
    display: block;
    color: #333;
    text-decoration: none;
  }
  /*sign up modal*/
  .error { color: red; font-size: 0.8em; margin-top: 5px; margin-top: 0;
    margin-bottom: 8px;}
    input{
        margin-bottom: 3px;
    } 
    body.modal-active {
        opacity: 0.5;
        pointer-events: none; /* Prevent interactions with the body */
    }
    .modal {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: white;
        padding: 20px;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        max-width: 90vw; 
        max-height: 90vh; 
        overflow-y: auto;
        border-radius: 8px;
        scrollbar-width: thin;
    }
    .modal h2, .modal h3 {
        margin: 10px 0;
        font-size: 1.5em;
        word-wrap: break-word; 
    }
    .modal p {
     margin: 8px 0;
    line-height: 1.6; 
    font-size: 1em;
  }
    .modal.active {
        display: block;
    }
    .modal button {
        margin-top: 10px;
        padding: 8px 12px;
        background-color: #333;
        color: white;
        border: none;
        cursor: pointer;
        font-size: 1em;
        border-radius: 4px;
    }
    .toggle-password i{
        margin-top: 10px;
    }
    /* label {
        display: inline-flex;
        align-items: center;
    }
    label a {
        display: inline;
    } */
  
    button {
        margin-top: 15px;
        padding: 8px 12px;
        background-color: #333;
        color: white;
        border: none;
        cursor: pointer;
        font-size: 1em;
        border-radius: 4px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
  
  @media (max-width: 768px) {
    .container {
      width: 100%;
      padding: 2vh;

    }
    .input-wrapper {
      flex-direction: column;
    }
    .input-container {
      width: 100%;
    }
    #firstname {
      width: 100%;
    }
    #lastname {
      width: 100%;
    }
    #email {
      width: 100%;
    }
    #phone {
      width: 100%;
    }

    #province {
      width: 100%;
    }
    #city {
      width: 100%;
    }
    #barangay {
      width: 100%;
    }
    #postal_code {
      width: 100%;
    }
    .input{
      margin-bottom: 5px;
      padding: 4px;
      font-size: 14px;
    }
    input {
      margin-bottom: 5px;
      padding: 4px;
      font-size: 14px;
    }
    .modal {
      width: 100%;
    }

    
}