/* Container for the input search box */
.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5.5em; /* Move the input closer to the header */
  min-height: 80vh;
}

/* Container for the add and report input page */
.addreport-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3.5em; /* Move the input closer to the header */
  min-height: 80vh;
}

/* Container for the add and report input page */
.last-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5.5em; /* Move the input closer to the header */
  min-height: 80vh;
}

/* Search container with input and button stacked */
.search-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px; /* Adds some space between search button and results */
}

.action-container {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.title {
  color: #444444;
  margin: 1.5em 0 0 0;
  font-size: 1.875em;
  text-align: center;
}

.subtitle {
  color: #444444;
  margin: 0.25em 0 0 0;
  font-size: 1.0em;
  text-align: center;
}

.droprow {
  width: 50%;
  margin: 0 auto;
}

.limited-width {
  width: 60%;
  margin: 0 auto;
  text-align: center;
  word-wrap: break-word;
}

/* mobile phone */
@media (max-width: 768px) {
  .title {
      font-size: 1.5em; 
      margin: 0.125em 0; 
      padding: 0.125em; 
  }
  .subtitle {
      font-size: 1.0em; 
      margin: 0.125em 0; 
      padding: 0.125em;
  }

  .droprow {
    width: 100%;
    margin: 0 auto;
  }

  .addreport-column {
    flex: 0 1 100%;
    max-width: 100%; /* Make columns full width on smaller screens */
}

}

/* Styling for input field */
input[type="text"], input[type="email"] {
  padding: 7px;
  font-size: 15px;
  margin-bottom: 7px; /* Space between input and button */
  width: 350px; /* Adjust width as needed */
}

/* Styling for search button */
button {
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  width: 150px;
}

.action-button {
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  width: 150px; /* Adjust width as needed */
}

/* Search results container (hidden but space is reserved) */
#search-results {
  transition: opacity 0.5s ease, visibility 0.5s ease;
  height: 250px; /* Reserve space for results (adjust height as needed) */
}

/* Expanded state for results */
#search-results.expanded {
  visibility: visible;
  opacity: 1;
}

/* Styling for the search results text */
#search-results p {
  margin: 0;
  padding: 0.625em;
}

table {
  width: 100%; /* Set the width of the table */
  border: 0.0625em solid #444; /* Border around the table */
}

/* Table header styling */
th {
  background-color: #f2f2f2; /* Background color for header */
  padding: 0.625em; /* Padding inside header cells */
  border: 0.0625em solid #444; /* Border around header cells */
}

/* Table data cell styling */
td {
  padding: 0.625em; /* Padding inside data cells */
  border: 0.0625em solid #444; /* Border around data cells */
}

.add-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 400px;
  text-align: center;
}

.tall-dropdown {
  height: 40px;  /* Adjust the height value as needed */
}

.info-container {
  display: flex;
  flex-wrap: wrap; /* Allows the columns to wrap on smaller screens */
  justify-content: center; /* Centers the columns horizontally */
  padding: 20px;
}
