/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f0f5f9; /* Light gray background #f4f4f4 */
}

header {
  background-color: #ffffff; /*ffffff */
  color: #666363; /* Dark gray text color */
  padding: 20px; /* Increase padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
  font-family: Arial, sans-serif !important;
}

#claim-search input {
  padding: 10px; /* Increase padding */
  border: 1px solid #ccc; /* Light gray border */
  border-radius: 5px; /* Add border radius */
}

#container {
  display: flex;
  flex: 1;
  background-color: #fff; /* White background for the container */
  margin: 20px; /* Add margin */
  border-radius: 5px; /* Add border radius */
  overflow: hidden; /* Hide overflowing content */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add shadow */
}

#assigned-claims {
  flex: 1;
  overflow-y: auto;
  padding: 20px; /* Add padding */
}

aside {
  width: 200px;
  background-color: #f9f9f9; /* Lighter gray background */
  padding: 20px; /* Add padding */
}

aside div {
  margin-bottom: 10px;
  padding: 10px;
  background-color: #d8ebf3; /* Light gray background e0e0e0 */
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: #080808;
}

aside div:hover {
  background-color: #ffd600; /* Darker gray on hover */
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0; /* Add margin */
  border-radius: 5px; /* Add border radius */
  overflow: hidden; /* Hide overflowing content */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add shadow */
}

th,
td {
  padding: 12px; /* Increase padding */
  border-bottom: 1px solid #ddd; /* Light gray border */
  text-align: left;
  color: #080808;
  font-family: Arial, sans-serif !important;
}

td {
  min-width: 150px
}

th {
  background-color: #f9f9f9; /* Light gray background for header */
  font-weight: bold; /* Bold font weight */
  color: #080808;
  font-family: Arial, sans-serif !important;
}

/* Add hover effect to table rows */
tr:hover {
  background-color: #f5f5f5; /* Light gray background on hover */
}

.attachment {
  display: inline-block; /* Use flexbox layout */
  flex-direction: row; /* Stack elements vertically */
  align-items: center; /* Center items horizontally */
  justify-content: center; /* Center items horizontally */
  margin-right: 10px;
}

.attachment-icon {
  width: 30px; /* Adjust the width as needed */
  height: 30px;
}

.attachment-name {
  /* Add any necessary styling for the attachment name */
  margin-top: 5px; /* Adjust the margin to create space between the icon and the name */
  font-size: 13px;
  max-width: 120px;
  word-wrap: break-word; /* Allow long words to be broken and wrap onto the next line */
  overflow: hidden;
  text-align: center;
  padding-right: 7px;
  display: block;
}

.highlight {
  /* Define the styles to highlight the attachmentIcon */
  /* For example: */
  border: 2px solid rgb(28, 52, 54); /* Add a yellow border */
  background-color: lightyellow; /* Change background color to light yellow */
}

/* Style the search input */
#search {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  max-width: 300px; /* Limit width */
}

/* Style the sorting options */
#sortingOptions {
  display: flex;
  align-items: center;
}

#sortOrderContainer {
  margin-left: 20px; /* Add spacing */
}

#sortOrderContainer button {
  padding: 8px 16px; /* Adjust button padding */
  margin-left: 10px; /* Add spacing between button and select */
  border: none;
  background-color: #007bff; /* Blue button background */
  color: #fff; /* White text color */
  border-radius: 5px; /* Add border radius */
  cursor: pointer;
}

#sortOrderContainer button:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

/* Style the header image */
#header-image {
  border-radius: 5px;
  max-width: 1400px; /* Ensure image fits container */
  width: 300px;
  height: 100px; /* Maintain aspect ratio */
  opacity: 1;
}

/* Adjustments for sidebar */
@media screen and (max-width: 768px) {
  aside {
    display: none;
  }
}

.dropdown-container {
  margin-bottom: 20px; /* Adjust as needed */
  display: flex;
  justify-content: space-between; /* Align items to the beginning and end of the container */
  align-items: center; /* Center items vertically */
}

/* Style the select element */
.dropdown-container select {
  padding: 8px 12px; /* Adjust as needed */
  font-size: 16px; /* Adjust as needed */
  border: 1px solid #ccc; /* Border color */
  border-radius: 4px; /* Rounded corners */
  background-color: #fff; /* Background color */
  color: #333; /* Text color */
  cursor: pointer; /* Cursor style */
  outline: none; /* Remove outline */
}

/* Style the options within the select element */
.dropdown-container select option {
  padding: 8px 12px; /* Adjust as needed */
  background-color: #fff; /* Background color */
  color: #333; /* Text color */
}

/* Style the select element when hovered */
.dropdown-container select:hover {
  border-color: #666; /* Border color on hover */
}

/* Style the select element when focused */
.dropdown-container select:focus {
  border-color: #0091ea; /* Border color when focused */
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1); /* Add a shadow when focused */
}
/* Button container */
.button-container {
  display: flex;
  gap: 10px;
}

/* Button styles */
.button-container button {
  padding: 10px 20px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
}

/* Toggle styles for pressed buttons */
.button-container button.active {
  background-color: #007bff; /* Change to the desired color when pressed */
  color: #fff; /* Change to the desired text color when pressed */
}
