.documentos-filtros-panel {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 12px;
  padding: 24px;
}
.documentos-tipo-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5b6472;
  margin-bottom: 12px;
}
.documentos-tipo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.doc-chip {
  border: 1px solid #d7dce3;
  background: #fff;
  color: #33394a;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.doc-chip:hover {
  border-color: #12233f;
}
.doc-chip.active {
  background: #0f2340;
  border-color: #0f2340;
  color: #fff;
}
.documentos-rango-fecha {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.documentos-rango-fecha .filtro-grupo label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5b6472;
  margin-bottom: 6px;
}
.documentos-rango-fecha select {
  min-width: 180px;
  border: 1px solid #d7dce3;
  border-radius: 8px;
  padding: 10px 12px;
  color: #33394a;
  background: #f7f8fa;
}
.documentos-count {
  font-size: 15px;
  color: #33394a;
}
.documentos-count strong {
  color: #0f2340;
}
.documentos-limpiar-btn {
  background: none;
  border: none;
  color: #0f2340;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  margin-left: 14px;
  cursor: pointer;
  text-decoration: underline;
}
.documentos-table-wrap {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 12px;
  overflow: hidden;
  overflow-x: scroll;
}
.documentos-table {
  width: 100%;
  border-collapse: collapse;
}
.documentos-table thead th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #8a93a3;
  padding: 16px 20px;
  border-bottom: 1px solid #e6e9ee;
}
.documentos-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f2f5;
  font-size: 0.8rem;
  color: #33394a;
  vertical-align: middle;
}
.documentos-table tbody tr:last-child td {
  border-bottom: none;
}
.documentos-doc-titulo {
  color: #0f2340;
  font-weight: 700;
}
.documentos-tipo-badge {
  display: inline-block;
  margin-left: 10px;
  border: 1px solid #d7dce3;
  border-radius: 6px;
  padding: 3px 6px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #5b6472;
  vertical-align: middle;
}
.documentos-codigo {
  color: #0f2340;
  font-weight: 700;
}
.documentos-descarga {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f2340;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
}

.comparar-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0f2340;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
}
.comparar-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  flex-wrap: wrap;
}
.comparar-bar-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.comparar-bar-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}
.comparar-bar-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.7rem;
  font-weight: 600;
}
.comparar-bar-chip button {
  background: none;
  border: none;
  color: #fff;
  opacity: 0.7;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 0;
}
.comparar-bar-chip button:hover {
  opacity: 1;
}
.comparar-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.comparar-bar-limpiar {
  background: none;
  border: none;
  color: #cfd6e2;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}
.comparar-bar-comparar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1f3a63;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 500;
  font-size: 0.8rem;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
}
.comparar-bar-comparar:hover {
  background: #274874;
}
