Frontend/src/Pages/Prisoner Management/PrisonerManagement.css
/* Table container styling for scrollable table */
.table-container {
  overflow:hidden;
  max-width: 1500px;
  margin: 0 auto;
  padding-bottom: 10px;
  /* Reduced padding to bring elements closer */
  margin-bottom: 0;
  /* Removed margin below table */
  margin-top:5px;
  height: 600px

}

.content {
  padding-right: 2%;
}

/* Scrollable table body */
.table-container table {
  width: 100%;
  border-collapse: collapse;
}

.table-container table tbody {
  display: block;
  max-height: 300px;
  /* Set the max height for scrolling */
  width: 100%;
}

.table-container table thead,
.table-container table tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

/* Optional: Styling the scrollbar */
.table-container table tbody::-webkit-scrollbar {
  width: 8px;
}

.table-container table tbody::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

.table-container table tbody::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

/* Search container adjustments */
.search-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  /* Further reduced margin between search and list */
  color: #252320;
}

/* Search input styles */
.search-container input[type="text"] {

  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 65%;
}

/* Filter dropdown styles */
.search-container select {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: rgb(10, 10, 9);
  color: #985151;
}

/* Prisoner list adjustments */
.prisoner-list {
  list-style-type: none;
  padding: 0;
  margin-top: 0px;
  /* Removed margin to bring list closer to the table */
  max-width: 1500px;
  margin: 0 auto;
  /* Center-align the list with the table */
}

/* Prisoner list item styles */
.prisoner-list li {
  padding: 15px;
  background-color: rgb(167, 164, 161);
  color: #fff;
  margin-bottom: 10px;
  /* Reduced margin between list items */
  border: 1px solid #ddd;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

/* Hover effect for prisoner list items */
.prisoner-list li:hover {
  background-color: #252320;
}

/* Operations button container */
.Operations {
  margin-top: 20px;
  /* Adjusted margin */
  display: flex;
  justify-content: center;
  gap: 15px;
  /* Space between buttons */
}

/* General button styles */
.Operations button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  /* Prevent button text from wrapping */
}

/* Add button styles */
.Add {
  background-color: #28a745;
  color: white;
}

/* Delete button styles */
.Delete {
  background-color: #dc3545;
  color: white;
}

/* Update button styles */
.Update {
  background-color: #007bff;
  color: white;
}

/* Button hover effect */
.Operations button:hover {
  opacity: 0.8;
}

.search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

/* Search input field */
.search-input {
  width: 300px;
  height: 40px;
  padding: 0 15px;
  margin-bottom: 1%;
  border: 2px solid #e4e4e4;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  transition: all 0.5s ease-in-out;
}

/* Add a subtle shadow to input for a modern look */
.search-input:focus {
  border-color: #007bff;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

/* Search button */
.search-button {
  margin-left: 10px;
  width: 120px;
  height: 50px;
  border-radius: 10px;
  border: none;
  background-color: #5b8cc0;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.5s ease-in-out;
}

/* Hover effect for button */
.search-button:hover {
  background-color: #0056b3;
}

.para1 {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.options {
  width: 120px;
  height: 50px;
  border-radius: 20px;
  /* Rounded corners to match the search button */
  background-color: #f8f9fa;
  /* Light background color for a clean look */
  border: 2px solid #e4e4e4;
  /* Same border style as the input field */
  padding: 10px;
  /* Add padding for spacing */
  font-size: 16px;
  /* Make the text size consistent with the rest */
  cursor: pointer;
  /* Indicate that this is clickable */
  transition: all 0.3s ease-in-out;
  /* Smooth transition effect */
}

/* Hover effect for .options */
.options:hover {
  background-color: #007bff;
  /* Change background to the same color as the button */
  color: white;
  /* Change text color to white when hovered */
  border-color: #007bff;
  /* Border changes to match the background */
}
/* Search container adjustments */
.search-container {
  display: flex; 
  align-items: center; /* Align items vertically in the center */
  margin-bottom: 5px; /* Space below the search container */
  color: #252320;
  width: 100%; /* Set a width for the search container */
  margin-left: 0%; /* Center the container */
  height: 5%;
  justify-content:space-between;
}

.searchbar{
  width:40%;
  margin-bottom: 0.7%;
  margin-right: 30%;
}
/* Search input styles */
.searchbar input[type="text"] {
  font-size: 16px; /* Font size for the input */
  border: 1px solid #ccc; /* Border styling */
  border-radius: 10px; /* Rounded corners */
  border-left: 0%;
  margin-left: 0%;
  height:70%;
  width:30%;
}

/* Checkbox container styling */
.checkbox-container {
  margin-left: 10px; /* Space between search input and checkbox */
  padding-left: 30px;
  align-items: center; /* Align checkbox and label vertically */
  display: flex; /* Use flex to keep items in line */
}

/* Checkbox styling */
.checkbox-container input[type="checkbox"] {
  width: 20px; /* Size of the checkbox */
  height: 20px; /* Size of the checkbox */
  margin-right: 8px; /* Space between checkbox and label */
  cursor: pointer; /* Change cursor to pointer on hover */
}

/* Label styling */
.checkbox-container label {
  font-size: 18px; /* Font size of the label */
  color: #252320; /* Color of the label text */
  cursor: pointer; /* Change cursor to pointer for the label */
}