/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.form-control {
  border: 1px solid #d2d6da;
}

.form-control:focus {
  border-color: #555559;
  box-shadow: 0 0 0 0.2rem rgba(20, 39, 60, 0.25);
}

/* Contenedor general */
.dataTables_wrapper {
  font-family: sans-serif;
  font-size: 14px;
  color: #444;
}

/* Selector de cantidad (Mostrar registros) */
.dataTables_length label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #555;
}

.dataTables_length select.form-select-sm {
  padding: 4px 8px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dataTables_length select.form-select-sm:focus {
  border-color: #999;
  box-shadow: 0 0 3px rgba(0,0,0,0.1);
  outline: none;
}

/* Filtro (Buscar) */
.dataTables_filter {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin-bottom: 1em;
}

.dataTables_filter label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dataTables_filter input.form-control-sm {
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dataTables_filter input.form-control-sm:focus {
  border-color: #999;
  box-shadow: 0 0 3px rgba(0,0,0,0.1);
  outline: none;
}

/* Info de paginación (Mostrando registros...) */
.dataTables_info {
  padding-top: 0.5em;
  color: #666;
}

/* Paginación */
.dataTables_paginate {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.dataTables_paginate ul.pagination {
  margin: 0;
}

.dataTables_paginate .pagination .page-link {
  padding: 4px 10px;
  font-size: 14px;
  color: #555;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-left: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dataTables_paginate .pagination .page-link:hover {
  background-color: #f1f1f1;
  color: #333;
}

.dataTables_paginate .pagination .active .page-link {
  background-color: #e0e0e0;
  color: #333;
  border-color: #ccc;
}

.dataTables_paginate .pagination .disabled .page-link {
  color: #bbb;
  cursor: not-allowed;
  background-color: #f9f9f9;
  border-color: #eee;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
  font-size: 14px;
  color: #333;
}

.table thead {
  background-color: #f9f9f9;
}

.table th,
.table td {
  padding: 12px 8px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.table th {
  font-weight: 600;
  color: #555;
}

.table tr:hover {
  background-color: #f1f1f1;
}

.table td img {
  border-radius: 4px;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.dataTables_filter {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1em;
  font-family: sans-serif;
  font-size: 14px;
  color: #555;
}

.dataTables_filter label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dataTables_filter .search-label {
  font-weight: 500;
}

.dataTables_filter input[type="search"] {
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 400px;
}

.dataTables_filter input[type="search"]:focus {
  border-color: #999;
  box-shadow: 0 0 3px rgba(0,0,0,0.1);
  outline: none;
}
