.light-mode .action-btn:hover {
  background-color: #7c001f;
  color: #fff !important;
}
.dark-mode .action-btn:hover {
  background-color: #7c001f !important;
  color: #fff !important;
}

table.dataTable thead > tr > th.sorting:before,
table.dataTable thead > tr > th.sorting_asc:before,
table.dataTable thead > tr > th.sorting_desc:before,
table.dataTable thead > tr > th.sorting_asc_disabled:before,
table.dataTable thead > tr > th.sorting_desc_disabled:before,
table.dataTable thead > tr > td.sorting:before,
table.dataTable thead > tr > td.sorting_asc:before,
table.dataTable thead > tr > td.sorting_desc:before,
table.dataTable thead > tr > td.sorting_asc_disabled:before,
table.dataTable thead > tr > td.sorting_desc_disabled:before {
  bottom: 50%;
  content: "▲";
  content: "▲" / "";
}
table.dataTable thead > tr > th.sorting:before,
table.dataTable thead > tr > th.sorting:after,
table.dataTable thead > tr > th.sorting_asc:before,
table.dataTable thead > tr > th.sorting_asc:after,
table.dataTable thead > tr > th.sorting_desc:before,
table.dataTable thead > tr > th.sorting_desc:after,
table.dataTable thead > tr > th.sorting_asc_disabled:before,
table.dataTable thead > tr > th.sorting_asc_disabled:after,
table.dataTable thead > tr > th.sorting_desc_disabled:before,
table.dataTable thead > tr > th.sorting_desc_disabled:after,
table.dataTable thead > tr > td.sorting:before,
table.dataTable thead > tr > td.sorting:after,
table.dataTable thead > tr > td.sorting_asc:before,
table.dataTable thead > tr > td.sorting_asc:after,
table.dataTable thead > tr > td.sorting_desc:before,
table.dataTable thead > tr > td.sorting_desc:after,
table.dataTable thead > tr > td.sorting_asc_disabled:before,
table.dataTable thead > tr > td.sorting_asc_disabled:after,
table.dataTable thead > tr > td.sorting_desc_disabled:before,
table.dataTable thead > tr > td.sorting_desc_disabled:after {
  position: absolute;
  display: block;
  opacity: 0.125;
  right: 10px;
  line-height: 9px;
  font-size: 0.8em;
}

table.dataTable thead > tr > th.sorting:after,
table.dataTable thead > tr > th.sorting_asc:after,
table.dataTable thead > tr > th.sorting_desc:after,
table.dataTable thead > tr > th.sorting_asc_disabled:after,
table.dataTable thead > tr > th.sorting_desc_disabled:after,
table.dataTable thead > tr > td.sorting:after,
table.dataTable thead > tr > td.sorting_asc:after,
table.dataTable thead > tr > td.sorting_desc:after,
table.dataTable thead > tr > td.sorting_asc_disabled:after,
table.dataTable thead > tr > td.sorting_desc_disabled:after {
  top: 50%;
  content: "▼";
  content: "▼" / "";
}
table.dataTable thead > tr > th.sorting:before,
table.dataTable thead > tr > th.sorting:after,
table.dataTable thead > tr > th.sorting_asc:before,
table.dataTable thead > tr > th.sorting_asc:after,
table.dataTable thead > tr > th.sorting_desc:before,
table.dataTable thead > tr > th.sorting_desc:after,
table.dataTable thead > tr > th.sorting_asc_disabled:before,
table.dataTable thead > tr > th.sorting_asc_disabled:after,
table.dataTable thead > tr > th.sorting_desc_disabled:before,
table.dataTable thead > tr > th.sorting_desc_disabled:after,
table.dataTable thead > tr > td.sorting:before,
table.dataTable thead > tr > td.sorting:after,
table.dataTable thead > tr > td.sorting_asc:before,
table.dataTable thead > tr > td.sorting_asc:after,
table.dataTable thead > tr > td.sorting_desc:before,
table.dataTable thead > tr > td.sorting_desc:after,
table.dataTable thead > tr > td.sorting_asc_disabled:before,
table.dataTable thead > tr > td.sorting_asc_disabled:after,
table.dataTable thead > tr > td.sorting_desc_disabled:before,
table.dataTable thead > tr > td.sorting_desc_disabled:after {
  position: absolute;
  display: block;
  opacity: 0.125;
  right: 10px;
  line-height: 9px;
  font-size: 0.8em;
}
table.table-bordered.dataTable thead tr:first-child th,
table.table-bordered.dataTable thead tr:first-child td {
  border-top-width: 1px;
}
table.dataTable thead > tr > th.sorting,
table.dataTable thead > tr > th.sorting_asc,
table.dataTable thead > tr > th.sorting_desc,
table.dataTable thead > tr > th.sorting_asc_disabled,
table.dataTable thead > tr > th.sorting_desc_disabled,
table.dataTable thead > tr > td.sorting,
table.dataTable thead > tr > td.sorting_asc,
table.dataTable thead > tr > td.sorting_desc,
table.dataTable thead > tr > td.sorting_asc_disabled,
table.dataTable thead > tr > td.sorting_desc_disabled {
  cursor: pointer;
  position: relative;
  padding-right: 26px;
}
table.table-bordered.dataTable th,
table.table-bordered.dataTable td {
  border-bottom-width: 1px;
}
table.table-bordered.dataTable th,
table.table-bordered.dataTable td {
  border-left-width: 0;
}

table.dataTable thead > tr > th.sorting_asc:before,
table.dataTable thead > tr > th.sorting_desc:after,
table.dataTable thead > tr > td.sorting_asc:before,
table.dataTable thead > tr > td.sorting_desc:after {
  opacity: 0.6;
}

.capacity-report-container {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filters-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.filter-group {
  margin-bottom: 15px;
}

.filter-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.filter-group label.required::after {
  content: " *";
  color: #dc3545;
}

.form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.venue-checkbox-group {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  background: #fff;
}

.venue-checkbox {
  display: block;
  margin-bottom: 8px;
}

.venue-checkbox input {
  margin-right: 8px;
}

.generate-btn {
  background: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.generate-btn:hover {
  background: #0056b3;
}

.report-section {
  margin-top: 30px;
}

/* Venue Table Styling */
.venue-section {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 6px;
}

.venue-title {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  /* 19.2px */
  letter-spacing: 0.24px;
  text-transform: capitalize;

  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  background: #f8f9fa;
}
.venue-title-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}
.capacity-table {
  width: 100%;
}

.capacity-table th,
.capacity-table td {
  border: 1px solid #eaecf0;
  text-align: center;
  height: 52px;
  background: #fff;
}
.capacity-table td {
  padding: 8px;
}

.capacity-table .level-cell {
  padding: 20px;
  border-right: 1px solid #eaecf0;
  border-bottom: 1px solid #eaecf0;
  border-left: 1px solid #eaecf0;
  background: #f8f9fa;

  color: #2e2e2e;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
}

/* Capacity Color Coding */
.capacity-red {
  background-color: #ff4444 !important;
  color: white;
  font-weight: bold;
}

.capacity-amber {
  background-color: #ffa500 !important;
  color: white;
  font-weight: bold;
}

.capacity-green {
  background-color: #28a745 !important;
  color: white;
  font-weight: bold;
}

.capacity-purple {
  background-color: #8b5cf6 !important;
  color: white;
  font-weight: bold;
}

.no-data {
  color: #6c757d;
  font-style: italic;
  text-align: center;
  padding: 40px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin: 20px 0;
}

.venue-no-data {
  color: #6c757d;
  font-style: italic;
  text-align: center;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 0 0 8px 8px;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  margin-bottom: 20px;
}

.legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;

  color: #525252;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 10px;
}

.legend-color {
  width: 15px;
  height: 15px;
  border-radius: 3px;
}

/* Total row and column styling */
.totals-row {
  font-weight: bold !important;
}

.grand-total {
  font-weight: bold !important;
}

.info-cell {
  padding: 8px;
}
.totals-info-cell {
  background: #f8f9fa !important;
}

.info-cell .inner-cell {
  display: flex;
  justify-content: space-evenly;
  background: url("../image/BgCard.svg") no-repeat center bottom;
  color: white !important;
  font-weight: bold !important;
  padding: 12px 12px;
  width: 130px;
  font-size: 16px;
  font-style: normal;
  border-radius: 8px;
  justify-self: center;
}

.info-cell .totals-column {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #2e2e2e;
  font-size: 16px;
  font-style: normal;
  line-height: 120%;
  padding: 8px;
  width: 130px;
  height: 36px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .capacity-table {
    font-size: 10px;
  }

  .venue-title {
    font-size: 16px;
    padding: 12px 15px;
  }
}

table td,
table th {
  vertical-align: middle !important;
}
