/*---Primary Colors---*/
.pc-bg-1 {
  background-color: #181100 !important;
}
.pc-bg-2 {
  background-color: #d8a222 !important;
}
.pc-bg-3 {
  background-color: #000 !important;
}
.pc-bg-4 {
  background-color: #000 !important;
}
.pc-bg-5 {
  background-color: #000 !important;
}
.pc-bg-white {
  background-color: #fff !important;
}
.pc-bg-black {
  background-color: #000 !important;
}
.pc-header-1 {
  background-color: #000 !important;
}
.pc-header-2 {
  background-color: #000 !important;
}
.pc-header-3 {
  background-color: #000 !important;
}
.pc-header-white {
  background-color: #fff !important;
}
.pc-header-black {
  background-color: #000 !important;
}
.pc-txt-1 {
  color: #fff !important;
}
.pc-txt-2 {
  color: #fff !important;
}
.pc-txt-3 {
  color: #009688 !important;
}
.pc-txt-white {
  color: #fff !important;
}
.pc-txt-black {
  color: #000 !important;
}
.pad-10-10 {
  padding: 10px 10px !important;
}
.pad-10-15 {
  padding: 10px 15px !important;
}
.pad-15-10 {
  padding: 15px 10px !important;
}
.pad-15-15 {
  padding: 15px 15px !important;
}
.fc-day-number {
  font-size: 1.1vw !important;
  margin-top: -10px !important;
  padding: 8px !important;
}

/*---Tooltip---*/

.tooltip_moreinfo {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  border-collapse: collapse;
  width: 100%;
}

.tooltip_moreinfo td,
.tooltip_moreinfo th {
  border: 1px solid #ddd;
  padding: 5px;
}

.tooltip_moreinfo tr:nth-child(even) {
  background-color: #f2f2f2;
}

.tooltip_moreinfo tr:hover {
  background-color: #ddd;
}

.tooltip_moreinfo th {
  padding-top: 2px;
  padding-bottom: 2px;
  text-align: left;
  background-color: #099565;
  color: white;
}

table.dataTable tbody > tr.selected,
table.dataTable tbody > tr > .selected {
  background-color: #3c3c3c33 !important;
}

/* Fixed Column Datatable */
/* div.dataTables_wrapper div.dataTables_filter {
  text-align: right;
  position: absolute;
  right: 15px;
  top: 15px;
} */
.selectedClass {
  background-color: #1c89f6;
  position: sticky;
  cursor: move;
  z-index: 5000;
}
.selectedClass a {
  color: #fff !important;
  z-index: 5000;
}
.dataTables_length label {
  font-size: 0;
  /* Hide text */
}
.dataTables_filter label {
  font-size: 0;
  /* Hide text */
}

.dataTables_scrollHeadInner table {
  margin-top: 0 !important;
}

.dataTables_scrollBody thead {
  visibility: hidden; /* Hide duplicate header */
}

.dt-toolbar {
  position: sticky;
  top: 0;
  background: white;
  /* padding: 10px; */
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-end;
  border-bottom: 1px solid #ddd;
}

[type="search"] {
  padding: 0.55rem 0.75rem !important;
}

/* Ensure the DataTable wrapper allows scrolling */
.dataTables_wrapper {
  overflow: hidden; /* Prevent unwanted scrolling */
}

/* Ensure the scroll body allows both horizontal and vertical scrolling */
.dataTables_scrollBody {
  overflow-x: scroll !important; /* Always show horizontal scrollbar */
  overflow-y: scroll !important; /* Always show vertical scrollbar */
  max-height: none !important; /* Prevent height limitations */
}

/* Force scrollbars to be always visible */
.dataTables_scrollBody::-webkit-scrollbar {
  width: 7px; /* Adjust scrollbar width */
  height: 7px; /* Adjust scrollbar height */
  display: block !important; /* Ensure visibility */
}

/* Customize scrollbar appearance (Optional) */
.dataTables_scrollBody::-webkit-scrollbar-thumb {
  background-color: #888; /* Scrollbar color */
  border-radius: 5px; /* Rounded edges */
}

.dataTables_scrollBody::-webkit-scrollbar-track {
  background-color: #f1f1f1; /* Scrollbar track color */
}

/* div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  margin: -20px 0px -10px 0px !important;
  white-space: nowrap;
} */

@media only screen and (max-width: 1199px) {
  .pagination li {
    float: left;
    margin-bottom: 0px !important;
  }
}

/* Align pagination and info text in one row */
.dataTables_info,
.dataTables_paginate {
  display: inline-block; /* Makes them sit side by side */
  vertical-align: middle; /* Aligns them properly */
}

/* Ensure pagination is aligned to the right */
.dataTables_paginate {
  float: right;
}

/* Optional: Add spacing between them */
.dataTables_info {
  margin-right: 20px;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  margin: 10px 0px 0px 0px !important;
}

thead tr[role="row"] {
  height: 0px !important;
  overflow: hidden;
  border: none;
}

@media (min-width: 768px) {
  .col-lg-4 .dt-buttons {
    display: none !important;
  }
}

.fc-toolbar .fc-state-active,
.fc-toolbar .ui-state-active {
  z-index: 1 !important;
}

/* Layout Popups */
.zonlay-main-button {
  background: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.zonlay-main-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.zonlay-main-button:active {
  transform: translateY(0);
}

/* Modal Styles */
.zonlay-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.zonlay-modal-overlay.zonlay-active {
  visibility: visible;
  opacity: 1;
}

.zonlay-modal {
  background: white;
  border-radius: 16px;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.zonlay-modal-overlay.zonlay-active .zonlay-modal {
  transform: scale(1);
}

.zonlay-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.zonlay-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

.zonlay-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.zonlay-close-btn:hover {
  background: #f5f5f5;
  color: #333;
}

.zonlay-icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.zonlay-icon-item {
  background: #f8f9fa;
  border: 3px solid transparent;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.zonlay-icon-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.zonlay-icon-item:hover::before {
  left: 100%;
}

.zonlay-icon-item:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: #007bff;
}

.zonlay-icon-item.zonlay-selected {
  border-color: #28a745;
  background: #f8fff9;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.zonlay-icon-item.zonlay-selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  background: #28a745;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.zonlay-icon-svg {
  width: 60px;
  height: 60px;
  transition: all 0.3s ease;
}

.zonlay-icon-item:hover .zonlay-icon-svg {
  transform: scale(1.1);
}

.zonlay-icon-item.zonlay-selected .zonlay-icon-svg {
  filter: hue-rotate(90deg) saturate(1.5);
}

.zonlay-icon-label {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.zonlay-selected-info {
  background: #e7f3ff;
  border: 2px solid #007bff;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  font-weight: 600;
  color: #0056b3;
}

.zonlay-selected-info.zonlay-success {
  background: #e7f8ec;
  border-color: #28a745;
  color: #155724;
}

@media (max-width: 768px) {
  .zonlay-icons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .zonlay-modal {
    padding: 20px;
    margin: 10px;
  }

  .zonlay-icon-svg {
    width: 50px;
    height: 50px;
  }
}

.btn-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background-color: #099565;
  border-radius: 2px;
  transition: width 0.1s ease-out;
}

/*------------------------------------------------PWA--------------------------------------------------*/
.pwa-install-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 20px;
  z-index: 1000;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  /* display: flex; */
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.pwa-install-banner.show {
  /* transform: translateY(0); */
}

.pwa-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.pwa-device-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.pwa-banner-text {
  font-size: 14px;
  line-height: 1.4;
}

.pwa-banner-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.pwa-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pwa-btn-install {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pwa-btn-install:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.pwa-btn-close {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pwa-btn-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.pwa-uninstall-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ff4757;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
  transition: all 0.3s ease;
  display: none;
}

.pwa-uninstall-btn:hover {
  background: #ff3838;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 71, 87, 0.4);
}

.pwa-uninstall-btn.show {
  display: none;
}

/* Responsive design */
@media (max-width: 600px) {
  .pwa-install-banner {
    padding: 10px 15px;
  }

  .pwa-banner-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }

  .pwa-banner-buttons {
    width: 100%;
    justify-content: flex-end;
  }

  .pwa-btn {
    padding: 10px 20px;
    font-size: 12px;
  }
}
/*------------------------------------------------PWA - END----------------------------------------------*/
