/*
 * Custom Flowbite datatable refinements
 */

.datatable-wrapper {
  background: transparent;
  border: none;
}

.datatable-container {
  border: none;
  padding: 0;
}

.datatable-top,
.datatable-bottom {
  display: none !important;
}

.datatable-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.datatable-table thead {
  background-color: #f9fafb;
  color: #111827;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.datatable-table th {
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #edeff2;
}

.datatable-table td {
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #1f2937;
}

.datatable-table tr:hover td {
  background-color: #f9fafb;
}

.datatable-table .datatable-sorter {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: inherit;
  font: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.text-heading {
  color: #0f172a;
}

.text-body {
  color: #475467;
}

.bg-neutral-secondary-medium {
  background-color: #f5f7fa;
}

.border-default-medium {
  border-color: #e4e7ec;
}

.bg-brand {
  background-color: #111827;
}

.hover\:bg-brand-strong:hover {
  background-color: #0b1220;
}

.focus\:ring-brand-medium:focus {
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.25);
}

.focus\:ring-brand:focus {
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.35);
}

.focus\:border-brand:focus {
  border-color: #111827;
}

.rounded-base {
  border-radius: 0.625rem;
}

.shadow-xs {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.customer-modal__panel {
  border-radius: 12px;
  max-height: calc(100vh - 3rem);
  overflow: hidden;
}

@media (max-width: 640px) {
  .customer-modal__panel {
    max-height: calc(100vh - 1.5rem);
  }
}
