/* The next 2 lines of CSS are the ones that standardized the hamburger menu being appropriately set in upper right */
/* These 2 lines of CSS code a VERY important to having a consistent and clean interface on mobile devices */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; }


body {
      font-family: 'League Spartan', sans-serif;
      background-color: white;
      color: #333;
    }
 
   .logo-container {
      display: flex;
      align-items: center;
   }

   .logo-image {
      height: 40px; /* Adjust height as needed */
      margin-right: 10px; /* Space between image and text */
      margin-left: 10px; /* Space between text and image */
   }

   .nav-text {
      color: white;
      font-size: 24px;
      font-weight: bold;
   }

      .input-group {
        margin-bottom: 10px;
        display: flex;
        flex-direction: column;
    }

    .or-line {
        text-align: center;
        margin: 20px 0;
        font-weight: bold;
    }

    .form-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .form-row .input-group {
        margin-right: 10px;
    }

    #city-group {
        flex: 1 1 50%; /* City field is 50% of its original size */
    }

    #state-group {
        flex: 1 1 33.33%; /* State field is 33.33% of its original size */
    }

    #zip-group {
        flex: 1 1 25%; /* Zip field is 25% of its original size */
    }

    #location-group {
        display: flex;
        flex: 1 0 100%;
        margin-bottom: 20px;
    }

    .button-row {
        display: flex;
        justify-content: center;
        gap: 30px; /* Space between buttons */
        margin-top: 20px;
    }

    .button-row button {
        padding: 10px 30px;
        font-size: 16px;
        cursor: pointer;
    }

    form {
        max-width: 600px;
        margin: 0 auto;
        background: #f9f9f9;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    }

    /* Center the result div and its contents */
    #result {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    /* Style for the table */
    table {
        width: 100%;
        border-collapse: collapse;
        margin: 0 auto; /* Ensure table is centered */
    }

    table th, table td {
        padding: 10px;
        text-align: left;
        border: 1px solid #ddd;
    }

    /* Style for the table headers */
    table th {
        background-color: #6141ac; /* Change to the color of the buttons */
        color: white;
    }
   
   
  </style>
/* Reset some default styles */
body, h1, h2, p, ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: 'Roboto', sans-serif;
}

body {
  background-color: white;
  color: #333;
}

header {
  background-color: #FF7E00; /* The orange color */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Distribute space between logo and menu toggle */
  padding: 10px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Ensure space is distributed between the logo and menu toggle */
  width: 100%; /* Add this line to ensure the nav takes the full width of the header */
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-text {
  color: #fff;
  /* color: black; */
  font-size: 24px;
  /* font-size: 36px; */
  font-weight: bold;
  margin-left: 10px;
  /* margin-left: 0px; */
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
  margin-right: 60px; /* Same padding as header for alignment */
 
}

.logo {
  height: 60px; /* Adjust the height as necessary */
  vertical-align: middle; /* Aligns the logo vertically with the menu toggle */
}

.menu-toggle .bar1, .menu-toggle .bar2, .menu-toggle .bar3 {
  width: 100%;
  height: 4px;
  background-color: #fff;
  transition: 0.3s;
}

.sidebar {
  height: calc(100% - 60px); /* Adjust height to be under the navigation bar */
  width: 0;
  position: fixed;
  z-index: 1001;
  top: 60px; /* Position it below the navigation bar */
  right: 0; /* Open from the right */
  background-color: #FF7E00; /* Match the navigation bar color */
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 20px; /* Adjust padding to provide space from the top */
}

.sidebar a {
  padding: 10px 30px;
  text-decoration: none;
  font-size: 30px;
  color: #fff;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  background-color: #E87300;
}

.sidebar .close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 36px;
}

.sidebar.active {
  width: 250px;
}

.contact-form {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  width: 100%;
  margin-top: 80px;
  margin: 80px auto;
  text-align: center;
}

.contact-form h1, .contact-form h2 {
  margin-bottom: 20px;
  font-size: 24px;
  text-align: center;
}

.input-group {
  margin-bottom: 15px;
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
}

button[type="button"] {
  width: 100%;
  padding: 15px;
  background-color: #6141ac; /* Purple color */
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

button[type="button"]:hover {
  background-color: #4E348A; /* Darker purple for hover effect */
}

#inventory-list {
  margin-top: 30px;
}

#inventory {
  text-align: left;
}

#inventory li {
  background-color: #f9f9f9;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

/* Ensure everything fits well on mobile */
@media (max-width: 600px) {
  header {
    padding: 10px 15px;
  }

  .menu-toggle {
    margin-right: 15px; /* Adjust for smaller screens */
  }

  .sidebar {
    padding-top: 15px;
  }
}
#inventory-list {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  width: 100%;
  margin: 30px auto; /* Adjust margin to provide space between other elements */
  text-align: left; /* Align the text to the left to be consistent with the form */
}

#inventory-list h3 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-align: center;
}

#result {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #333;
  white-space: pre-wrap; /* Ensure the preformatted text wraps within the box */
}

#categoryresult {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #333;
  white-space: pre-wrap; /* Ensure the preformatted text wraps within the box */
}

#inventory-list pre {
  background-color: #f4f4f4;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}