/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}

h1 {
  text-align: center;
  margin: 20px 0;
}

/* Style for the form */
form {
  background-color: #fff;
  width: 80%;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

label {
  display: block;
  font-weight: bold;
  margin: 10px 0;
}

input[type="text"],
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type="date"] {
    width:20%; 
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

input[type="submit"] {
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #0056b3;
}

/* Style for the cards */
.card {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  width: 48%; /* Set a specific width to fit two cards in a row */
  display: inline-block;
  margin-right: 2%; /* Add some space between cards */
  box-sizing: border-box;
}

/* Style for the search bar and buttons */
#searchInput {
  width: 30%; /* Adjust the width to your preference */
  margin-left: 25%;
  margin-right: 1%;
  border: 1px solid #ccc;
  border-radius: 4px;
  display: inline-block;
  /* margin: 0 auto;  */
}

#searchResults {
  max-width: 1600px;
  overflow: scroll;
  margin: 5%;
}

button {
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 10px; /* Add margin to separate the input and button */
}
button:hover {
  background-color: #0056b3;
}

/* style.css */
table {
  border-collapse: collapse;
  width: 100%;
  /* margin: 5%; */
}

table,
th,
td {
  border: 1px solid #ddd;
}

th,
td {
  padding: 8px;
  text-align: left;
  min-width: 140px;
}

th {
  background-color: #f2f2f2;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr:hover {
  background-color: #ddd;
}

/* Your existing styles ... */

/* Style the date-fields container as a flex container */
.date-fields {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping to the next line if needed */
}

/* Add styles to date labels and inputs within the container */
.date-fields label,
.date-fields input[type="date"] {
    margin-right: 20px; /* Adjust the spacing between labels and inputs */
    margin-bottom: 10px; /* Adjust the vertical spacing */
}
