:root {
  --tblr-font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--tblr-font-sans-serif);
  background: #0f172a;
}

.page-wrapper {
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  min-height: calc(100vh - 3.5rem);
}

.navbar.bg-dark {
  background: #0b1220 !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-title {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.toolbar-card {
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.card.shadow-sm {
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: #1e293b;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

.table-branches thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tblr-secondary);
  border-bottom-width: 1px;
  background: rgba(15, 23, 42, 0.5);
}

.table-branches td,
.table-branches th {
  vertical-align: middle;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.table-branches tbody tr:hover {
  background: rgba(32, 107, 196, 0.08);
}

.btn-excel {
  background: linear-gradient(135deg, #15803d 0%, #22c55e 100%);
  border: none;
  color: #fff;
  font-weight: 500;
}

.btn-excel:hover,
.btn-excel:focus {
  filter: brightness(1.1);
  color: #fff;
}

.empty-state {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--tblr-secondary);
}

.modal .form-label {
  font-weight: 500;
}

.col-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.5rem 1rem;
}

.form-selectgroup-label {
  border-radius: 10px;
}

#jsAlert {
  border-radius: 10px;
}

@media (max-width: 576px) {
  .toolbar-actions {
    flex-direction: column;
    width: 100%;
  }
  .toolbar-actions .btn {
    width: 100%;
  }
}
