body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f2f2f2; /* Light grey background */
}

.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #8e4a49;
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

.container {
  width: 80%;
  margin: 20px auto;
}

.section-box {
  background-color: #ffffff; /* White background for boxes */
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.section-box h2 {
  margin-top: 0;
}

.section-box table {
  width: 95%; /* Set the table width to 95% */
  margin: 0 auto; /* Center the table within the box */
}

.section-box table th, .section-box table td {
  padding: 10px; /* Add padding to table cells */
}

.section-box tbody tr:nth-child(even) {
  background-color: #f2f2f2; /* Light grey background for even rows */
}

.section-box tbody tr:nth-child(odd) {
  background-color: #ffffff; /* White background for odd rows */
}

.section-box {
  position: relative;
  padding-top: 10px;
}

.section-box .minimize-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #8e4a49;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  padding: 5px 10px;
}

.section-box .minimize-btn:hover {
  background-color: #6e3b3a;
}

.hidden-content {
  display: none;
}


.search-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}
.search-container select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  margin-left: 10px;
}


.search-container input[type="text"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  margin-right: 10px;
}

.search-container input[type="submit"], .search-container button {
  padding: 10px 20px;
  background-color: #8e4a49;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.search-container input[type="submit"]:hover, .search-container button:hover {
  background-color: #6e3b3a;
}

.search-container a {
  text-decoration: none;
}

.search-container button {
  margin-left: 10px;
}

.right {
    float:right;
}

.edit-icon {
    text-align: center;
    font-size:2rem;
    color:#8e4a49
} 

.edit-icon:hover {
    color: #6e3b3a;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination a, .pagination span {
  padding: 10px 15px;
  margin: 0 5px;
  text-decoration: none;
  background-color: #8e4a49;
  color: white;
  border-radius: 4px;
}

.pagination a:hover {
  background-color: #6e3b3a;
}

.pagination .current {
  background-color: #6e3b3a;
}












.button {
  background-color: #8e4a49;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border: none;
  border-radius: 4px;
}

.button:hover {
  background-color: #6e3b3a;
}

.right {
    float:right;
}

.flex-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 1 calc(33.333% - 20px);
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    flex: 1 1 100%;
    text-align: center;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    height: 100px;
}

.section-box {
  background-color: white;
  border: 1px solid #ddd;
  padding: 20px;
  margin: 20px auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  width: 80%;
}

.white-background {
    background-color: white;
}

.button {
  background-color: #8e4a49;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border: none;
  border-radius: 4px;
}

.custom-file-input {
    display: none;
}

.custom-file-input + label {
    background-color: #8e4a49;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

.custom-file-input + label:hover {
    background-color: #6e3b3a;
}

.delete-button {
    background-color: red;
}

.delete-button:hover  {
    background-color: darkred;
}

footer {
  text-align: center;
  padding: 3px;
  background-color: #333;
  color: white;
  bottom:0px;
}