/* static/style.css */

/* General body and headings */
body {
    font-family: Arial, sans-serif;
    background: #f9fafb;
    color: #333;
    margin: 0;
    padding: 20px;
}

h1, h2, h3 {
    color: #222;
}

h1 {
    margin-bottom: 12px;
}

h3 {
    margin-top: 20px;
}

/* Buttons */
.btn, .copy-btn {
    padding: 8px 12px;
    margin: 6px 6px 6px 0;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
    transition: all 0.2s ease;
}

.btn:hover, .copy-btn:hover {
    background: #e6f0ff;
    border-color: #007bff;
}

.remove-btn {
    padding: 6px 8px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Input and select fields */
input, select {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input:focus, select:focus {
    outline: none;
    border-color: #007bff;
}

/* Field row container */
.field-row {
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Output / preview boxes */
.output-box, pre {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 12px;
    border-radius: 6px;
    min-height: 80px;
    overflow-x: auto;
    white-space: pre-wrap;
    font-family: monospace;
}

/* Inline code styling */
.code-block, .code-inline {
    background: #f6f8fa;
    padding: 12px;
    border-radius: 6px;
    font-family: monospace;
    white-space: pre-wrap;
}

.code-inline {
    display: inline-block;
    padding: 6px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

/* Small notes / hints */
.small {
    font-size: 0.95em;
    color: #444;
}

.small-note {
    font-size: 0.9em;
    color: #666;
    margin-top: 6px;
}

/* Slider */
input[type=range] {
    width: 300px;
}

/* Docs page specific */
.endpoint {
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    background: #fff;
}

.endpoint pre {
    margin-top: 6px;
    margin-bottom: 6px;
}

/* Copy button for docs examples */
.endpoint .copy-btn {
    margin-top: 6px;
    background: #007bff;
    color: #fff;
    border: none;
}

.endpoint .copy-btn:hover {
    background: #0056b3;
}

