
.categoria-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.categoria-name {
  font-weight: 600;
  color: #2d3748;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-ativo {
  background-color: #d4edda;
  color: #155724;
}

.status-inativo {
  background-color: #f8d7da;
  color: #721c24;
}

.id-badge {
  background: #e2e8f0;
  color: #2d3748;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
}

.date-info {
  color: #6b7280;
  font-size: 0.875rem;
}

.action-buttons {
  display: flex;
  gap: 4px;
}

.empty-state {
  text-align: center;
  padding: 2rem;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.search-box {
  position: relative;
}

.search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.pagination-info {
  color: #6b7280;
  font-size: 0.875rem;
}

.page-header {
  margin-bottom: 2rem;
}

.filters-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.table-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
}

.table-card .table {
  margin-bottom: 0;
}

.table-card .table thead th {
  background-color: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
  color: #495057;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: #6b7280;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-left: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn-icon {
  margin-right: 0.5rem;
}

.page-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.page-icon {
  font-size: 2rem;
}

.page-description {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

.pagination-container {
  padding: 1rem 1.5rem;
  background-color: #f8f9fa;
}


#categoriaModal {
  z-index: 1060 !important;
}

#categoriaModal .modal-backdrop {
  z-index: 1055 !important;
}

#categoriaModal .modal-dialog {
  z-index: 1070 !important;
}

#categoriaModal .modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#categoriaModal .modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px 12px 0 0;
  padding: 1.5rem;
}

#categoriaModal .modal-title {
  font-weight: 600;
  font-size: 1.25rem;
}

#categoriaModal .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

#categoriaModal .btn-close:hover {
  opacity: 1;
}

#categoriaModal .modal-body {
  padding: 1.5rem;
}

#categoriaModal .modal-footer {
  padding: 1rem 1.5rem;
  background-color: #f8f9fa;
  border-radius: 0 0 12px 12px;
}


.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.6) !important;
}

.modal-backdrop.show {
  opacity: 0.6 !important;
}