
/* Стили для пагинации */
.pagination {
    @apply flex items-center justify-between border-t border-gray-200 dark:border-gray-700 px-4 py-3 sm:px-6;
}

.pagination .this-page {
    @apply bg-blue-600 text-white;
}

.pagination a {
    @apply relative inline-flex items-center px-4 py-2 border border-gray-300 dark:border-gray-600 text-sm font-medium rounded-md text-gray-700 dark:text-gray-300 bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-700;
}

/* Стили для поиска */
#searchbar {
    @apply block w-full pl-10 pr-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md leading-5 bg-white dark:bg-gray-700 placeholder-gray-500 dark:placeholder-gray-400 focus:outline-none focus:placeholder-gray-400 focus:ring-1 focus:ring-blue-500 focus:border-blue-500 dark:text-white;
}

/* Стили для действий */
.action-counter {
    @apply text-sm text-gray-700 dark:text-gray-300;
}

/* Адаптация таблиц */
#changelist table {
    @apply min-w-full divide-y divide-gray-200 dark:divide-gray-700;
}

#changelist table thead th {
    @apply px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider bg-gray-50 dark:bg-gray-700;
}

#changelist table tbody td {
    @apply px-6 py-4 whitespace-nowrap text-sm text-gray-900 dark:text-gray-300;
}
/* Стили для ячеек таблицы */
#result_list tbody td {
  @apply px-6 py-4 whitespace-nowrap text-sm text-gray-900 dark:text-gray-300;
}

/* Стили для действий в таблице */
.object-tools {
  @apply flex space-x-2;
}

.object-tools a {
  @apply inline-flex items-center px-3 py-1 border border-transparent text-xs font-medium rounded shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500;
}

.object-tools a.viewlink {
  @apply bg-green-600 hover:bg-green-700 focus:ring-green-500;
}

.object-tools a.changelink, .object-tools a.historylink {
  @apply bg-blue-600 hover:bg-blue-700 focus:ring-blue-500;
}

.object-tools a.deletelink {
  @apply bg-red-600 hover:bg-red-700 focus:ring-red-500;
}

/* Стили для чекбоксов и действий */
.action-checkbox {
  @apply h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded;
}

/* Стили для статусов */
.field-get_status .badge {
  @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium;
}

.field-get_status .status-active {
  @apply bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200;
}

.field-get_status .status-inactive {
  @apply bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-200;
}

.field-get_status .status-pending {
  @apply bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-200;
}