.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.empty {
  padding: 48px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.error {
  margin-bottom: 16px;
  padding: 12px 14px;
  font-size: 13px;
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-sm);
}

.pagination {
  margin-top: 20px;
  padding: 0 4px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 38px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 12px;
}

.paginationMeta {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  height: 38px;
  margin: 0;
  padding: 0;
  line-height: 38px;
  font-family: var(--font-ui);
  transform: translateY(2px);
}

.pagination > nav {
  grid-column: 2;
  justify-self: center;
  height: 38px;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.addFab {
  position: static;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb) / 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.addFab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(var(--primary-rgb) / 0.45);
}

.fabDock {
  position: fixed;
  inset-inline-end: 32px;
  inset-inline-start: auto;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 110;
}

@media (max-width: 768px) {
  .fabDock {
    inset-inline-end: 20px;
    inset-inline-start: auto;
    bottom: 20px;
    gap: 8px;
  }

  .addFab {
    width: 52px;
    height: 52px;
  }
}
