.adi-qr-scan-history-page-Plat-Comp-LayoutRoot {
  max-width: 900px;
}
.adi-qr-scan-history-page-header-item,
.adi-qr-scan-history-page-Plat-Comp-DataGridItemRow {
  grid-template-columns: 1fr 3fr 1.5fr;
}
/* Apply Filter Button Styling */
.adi-qr-scan-history-page-btn-custom-primary {
  background-color: var(--color-link);
  border-color: var(--color-link);
  color: white;
  transition: all 0.2s ease-in-out;
  font-weight: 600;
  border-radius: 0.4rem;
}
.adi-qr-scan-history-page-btn-custom-primary:hover {
  background-color: #084aa6;
  border-color: #084aa6;
  transform: translateY(-1px);
  color: #fff;
}

/* Filter Dropdown Customization (Prefixed) */

.adi-qr-scan-history-page-dropdown {
  position: relative;
}

/* Dropdown container position floating */
.adi-qr-scan-history-page-dropdown-menu-filter {
  display: none;
  position: absolute !important;
  top: 100%;
  right: 0;
  z-index: 9999;
  min-width: 260px;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  background: #fff;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-12px);
  opacity: 0;
  transition: max-height 0.35s ease, transform 0.35s ease, opacity 0.35s ease;
}

.adi-qr-scan-history-page-dropdown-show {
  display: block;
  max-height: 500px;
  transform: translateY(0);
  opacity: 1;
}

/* Show when class added via JS */
.adi-qr-scan-history-page-dropdown-show {
  display: block;
  max-height: 500px;
  transform: translateY(0);
}

.adi-qr-scan-history-page-dropdown-menu-filter input {
  font-size: 1rem;
}

.adi-qr-scan-history-page-dropdown-menu-filter button {
  font-weight: 600;
}
/* Filter By Date Button Styling */
.adi-qr-scan-history-page-btn-outline-custom {
  background: #eef6ff;
  color: #000;
  font-weight: 600;
  border: none;
}

.adi-qr-scan-history-page-btn-outline-custom:hover {
  background: #e6eaf0;
  color: #000000;
}

/*  flatpickr inputs inside the date filter dropdown */
.adi-qr-scan-history-page-dropdown-menu-filter .flatpickr-input,
#adi-qr-scan-history-page-startDate,
#adi-qr-scan-history-page-endDate {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #d4d9e2; /* light border */
  border-radius: 4px;
  text-align: left !important;
  font-size: 14px;
  padding: 0.35rem 0.5rem;
  box-shadow: none;
}

.adi-qr-scan-history-page-dropdown-menu-filter .flatpickr-calendar {
  background: #ffffff;
  border: 1px solid #d4d9e2;
}
