* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f7fa;
  color: #333;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
}

h2 {
  color: #3498db;
  margin-bottom: 15px;
}

ol, ul {
  margin: 20px 0;
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

.warning {
  background-color: #fffbeb;
  border-left: 4px solid #f6c23e;
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
}

.success-message {
  background-color: #e6fffa;
  border-left: 4px solid #38b2ac;
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
}

.error-message {
  background-color: #fff5f5;
  border-left: 4px solid #e53e3e;
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
}

.button {
  display: inline-block;
  background-color: #3498db;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  margin: 20px 0;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #2980b9;
}

.json-preview {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 15px 0;
  border: 1px solid #e9ecef;
}

pre {
  font-family: Consolas, Monaco, 'Andale Mono', monospace;
  white-space: pre-wrap;
}

.note {
  color: #6c757d;
  font-style: italic;
  margin-top: 10px;
}

.stats-panel {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.stat-value {
  font-size: 24px;
  font-weight: bold;
  color: #3498db;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: #6c757d;
}

.action-buttons {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.button.primary {
  background-color: #3498db;
}

.button.secondary {
  background-color: #6c757d;
}

.table-responsive {
  overflow-x: auto;
  margin: 20px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.data-table th {
  background-color: #f8f9fa;
  font-weight: bold;
}

.data-table tbody tr:hover {
  background-color: #f8f9fa;
}

.status-success {
  color: #38b2ac;
  font-weight: bold;
}

.status-error {
  color: #e53e3e;
  font-weight: bold;
}

.database-results {
  background-color: #f0f9ff;
  border-left: 4px solid #3498db;
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
}

.stats-list {
  list-style: none;
  padding-left: 0;
}

.stats-list li {
  padding: 5px 0;
}

.main-content {
  margin-top: 20px;
}

.stats-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
}

.api-documentation {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.api-endpoint {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.api-endpoint h3 {
  margin-top: 0;
}

.api-endpoint pre {
  background-color: #f1f3f5;
  padding: 15px;
  border-radius: 4px;
  overflow-x: auto;
}

.api-endpoint code {
  font-family: 'Courier New', Courier, monospace;
} 