/* JSONL Management Styles */
.jsonl-control-panel {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 5px;
  flex-wrap: wrap;
  align-items: center;
}

.jsonl-control-panel select, 
.jsonl-control-panel input, 
.jsonl-control-panel button {
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
}

.jsonl-control-panel button {
  background-color: #007bff;
  color: white;
  cursor: pointer;
  border: none;
}

.jsonl-control-panel button:hover {
  background-color: #0056b3;
}

.jsonl-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
  font-size: 12px;
}

.jsonl-table th, .jsonl-table td {
  border: 1px solid #ddd;
  padding: 6px;
  text-align: left;
  vertical-align: top;
}

.jsonl-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.jsonl-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

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

.jsonl-editable {
  cursor: pointer;
  min-width: 80px;
  max-width: 200px;
  word-wrap: break-word;
}

.jsonl-edit-cell {
  background-color: #fff3cd !important;
}

.jsonl-edit-cell input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 12px;
  padding: 2px;
}

.jsonl-pagination {
  text-align: center;
  margin: 10px 0;
}

.jsonl-pagination button {
  margin: 0 2px;
  padding: 4px 8px;
  border: 1px solid #ddd;
  background-color: white;
  cursor: pointer;
  border-radius: 3px;
  font-size: 12px;
}

.jsonl-pagination button:hover {
  background-color: #f8f9fa;
}

.jsonl-pagination button.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.jsonl-message-area {
  margin: 10px 0;
}

.jsonl-message-area .error {
  color: #dc3545;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 8px;
  border-radius: 4px;
}

.jsonl-message-area .success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 8px;
  border-radius: 4px;
}

.jsonl-message-area .info {
  color: #0c5460;
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  padding: 8px;
  border-radius: 4px;
}

.jsonl-stats-area {
  margin: 10px 0;
  padding: 10px;
  background-color: #e9ecef;
  border-radius: 4px;
  font-size: 13px;
}

.jsonl-loading-area {
  text-align: center;
  padding: 20px;
  color: #666;
  font-style: italic;
}


.jsonl-text-cell--link {
  cursor: pointer;
  color: #2563eb;
  text-decoration: underline;
}
.jsonl-text-cell--link[data-disabled="true"] {
  cursor: not-allowed;
  color: #6c757d;
  text-decoration: none;
}

.jsonl-toolbar-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
}
.jsonl-toolbar-btn:disabled {
  background: #b0c4de;
  cursor: not-allowed;
  opacity: 0.7;
}

.jsonl-toolbar-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}
