body { font-family: Arial, sans-serif; margin: 40px; line-height: 1.6; }
h1 { color: #2c3e50; border-bottom: 2px solid #3498db; padding-bottom: 10px; }
h2 { color: #34495e; margin-top: 30px; }
h3 { color: #555; margin-top: 20px; }
table { border-collapse: collapse; width: 100%; margin: 20px 0; }
th, td { border: 1px solid #ddd; padding: 10px; text-align: left; }
th { background-color: #3498db; color: white; }
code { background-color: #f4f4f4; padding: 2px 5px; border-radius: 3px; font-family: monospace; }
pre { background-color: #f4f4f4; padding: 15px; border-radius: 5px; overflow-x: auto; }
.endpoint { background-color: #e8f4fd; padding: 10px; border-left: 4px solid #3498db; margin: 15px 0; }
.method { font-weight: bold; color: #27ae60; }
.url { font-family: monospace; background-color: #fff; padding: 5px; }
.badge { display: inline-block; background-color: #27ae60; color: white; padding: 2px 8px; border-radius: 4px; font-size: 12px; margin-left: 10px; }
.warning { background-color: #f39c12; }
.info { background-color: #3498db; }
.footer { margin-top: 40px; padding-top: 20px; border-top: 2px solid #ddd; text-align: center; font-size: 14px; }
.creator { background-color: #ecf0f1; padding: 15px; border-radius: 5px; margin: 20px 0; text-align: center; }
.copyright { font-size: 12px; color: #7f8c8d; }
.preview-panel { background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 8px; padding: 20px; margin: 24px 0; }
.preview-panel .hint { color: #64748b; font-size: 14px; margin-bottom: 16px; }
.preview-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 12px; }
.preview-controls label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.preview-controls input[type="search"], .preview-controls select { min-width: 220px; padding: 8px; font-size: 14px; }
.preview-controls select { max-width: 100%; }
#previewResults { margin-top: 16px; overflow-x: auto; }
#previewResults table { margin-top: 0; }
.monitor-banner { background: #e0f2fe; border-left: 4px solid #0284c7; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }
.btn-preview { background: #0284c7; color: white; border: none; padding: 10px 20px; border-radius: 6px; cursor: pointer; font-size: 15px; }
.btn-preview:hover { background: #0369a1; }
.preview-error { color: #b91c1c; }

.visit-stats { background: #f0fdf4; border: 1px solid #86efac; border-radius: 8px; padding: 16px 20px; margin: 24px 0; }
.visit-stats > h2 { margin-top: 0; color: #166534; border-bottom: 1px solid #bbf7d0; padding-bottom: 8px; }
.visit-stats h3 { font-size: 1.05em; margin-top: 16px; margin-bottom: 8px; color: #15803d; }
.visit-stats .hint { color: #64748b; font-size: 14px; margin-bottom: 12px; }
.visit-stats-table { margin-top: 8px; margin-bottom: 16px; }
.visit-stats-table th { background-color: #22c55e; }
.visit-stats-meta { font-size: 12px; color: #64748b; margin-top: 12px; }
.visit-stats-empty { margin: 0; color: #94a3b8; }
