/* /public/css/admin.css */
.table {
  width: 100%;
  margin-top: 20px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

#addEmployeeModal,
#addSiteCSVModal,
#addDoneCSVModal,
#spinnerModal {
  z-index: 1050;
}

#addSiteModal {
  z-index: 1050;
}

.modal-lg {
  max-width: 80% !important;
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* hands on table css*/

div#siteTable {
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: -50vw;
  margin-right: -50vw;
}

.htCenter {
  word-break: break-all;
}

span.volume_issue_part {
  display: inline-block;
  color: white;
  margin: 7px 7px;
  cursor: pointer;
  border-radius: 10px;
  padding: 8px 10px;
}

span.volume_issue_part:hover {
  background-color: #5568c7; /* Lighter blue on hover for visual feedback */
  transform: scale(1.05); /* Slightly increase size on hover */
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover for depth */
}

tbody tr.selecting,
tbody tr.selected {
  background-color: #f0f0f0; /* Highlight color */
}

table.dataTable {
  width: 100% !important;
}

table.dataTable td {
  word-wrap: break-word;
  white-space: normal;
  vertical-align: top;
  max-width: 250px;
}

.ag-theme-alpine .ag-cell {
  white-space: normal !important;
  line-height: 1.5 !important; /* Adjust line-height if necessary */
}

.count {
  padding-left: 5px;
  background: yellow;
  border-radius: 20%;
  font-size: x-large;
}

/* Sticky header */
#freeSiteTable thead th {
  position: sticky;
  top: 0;
  background-color: #fff; /* Optional: Set background color */
  z-index: 10; /* Ensure it stays above table body */
  border-bottom: 2px solid #ddd; /* Optional: Add a border for visual separation */
}

/* Optional styling for the table */
#freeSiteTable {
  width: 100%;
  border-collapse: collapse;
}

#freeSiteTable th,
#freeSiteTable td {
  padding: 10px;
  text-align: left;
}

#freeSiteTable thead th {
  background-color: #f2f2f2; /* Optional: Header background color */
}

.country-badge {
  display: inline-block;
  padding: 2px 8px;
  margin: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  background-color: #e9ecef;
  border-radius: 12px;
  color: #495057;
  white-space: nowrap;
}

.country-badge:hover {
  background-color: #dee2e6;
}

.countries-cell {
  line-height: 2;
  max-width: 400px;
}

/* Add more region-specific styles as needed */
