@charset "UTF-8";
.table-container {
  border: 1px solid #e0e0e0;
  border-radius: 1px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  height: auto;
}

/* Ocultar elementos de DataTable por defecto */
.dataTables_length,
.dataTables_filter {
  display: none !important;
}

.dataTables_info {
  padding: 1rem 1.5rem 0.5rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.dataTables_paginate {
  padding: 0.5rem 1.5rem 1rem;
}

/* Estilos de la tabla */
.datatables-basic {
  margin: 0 !important;
  width: 100% !important;
}

.datatables-basic thead th {
  background-color: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
  color: #495057;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 1rem 0.75rem;
  white-space: nowrap;
}

.datatables-basic tbody td {
  padding: 0.75rem;
  border-bottom: 1px solid #f1f3f4;
  font-size: 0.875rem;
  vertical-align: middle;
}

.datatables-basic tbody tr:hover {
  background-color: #f8f9fa;
}

/* Checkboxes */
.datatables-basic input[type=checkbox] {
  width: 16px;
  height: 16px;
}

/* PAGINACIÓN MODERNA */
.dataTables_paginate .pagination {
  justify-content: center;
  margin: 0;
}

.dataTables_paginate .page-link {
  border: 1px solid #dee2e6;
  color: #007bff;
  padding: 0.5rem 0.75rem;
  margin: 0 2px;
  border-radius: 4px;
}

.dataTables_paginate .page-item.active .page-link {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
}

.dataTables_processing {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: auto !important;
  margin: 0 !important;
  padding: 1rem 2rem !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  z-index: 1000 !important;
  font-size: 0.875rem !important;
  color: #495057 !important;
}

.datatables-basic tbody td .badge + .badge {
  margin-left: 0.25rem;
}

/* ESTILOS PARA LA VISTA DE RADIOGRAFÍAS */
.radiographics-header {
  background: #ffffff;
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 0;
}

.radiographics-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #495057;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.radiographics-title img {
  width: 24px;
  height: 24px;
}

.action-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* FILTROS SUPERIORES */
.filters-section {
  background: #ffffff;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group label {
  margin: 0;
  font-size: 0.875rem;
  color: #6c757d;
  white-space: nowrap;
}

.filter-group select,
.filter-group input {
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  min-width: 120px;
}

.search-group {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-group input {
  min-width: 200px;
}

/* Responsive */
@media (max-width: 768px) {
  .radiographics-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .action-buttons {
    justify-content: flex-end;
  }

  .btn-action {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }

  .filters-section {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .search-group {
    margin-left: 0;
  }

  .search-group input {
    min-width: auto;
    width: 100%;
  }
}
