/* Color palette generated with AI assistance (Claude) */
:root {
    --surface: #1e1e2e;
    --border: #313244;
    --text: #cdd6f4;
    --text-muted: #6c7086;
    --accent: #89b4fa;
    --pre-bg: #11111b;
}

.hero-banner {
    text-align: center;
    padding: 3rem 1rem;
    border-bottom: 1px solid var(--border);
}

.hero-banner h1 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.hero-banner p {
    color: var(--text-muted);
}

main {
    max-width: 860px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.endpoint-card {
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.endpoint-header {
    padding: 0.6rem 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text);
}

.endpoint-body {
    padding: 1rem;
}

form {
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.form-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input, textarea {
    flex: 1;
    background: var(--pre-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
}

textarea {
    resize: vertical;
}

.limit-input {
    flex: none;
    width: 90px;
}

button[type="submit"] {
    padding: 0.4rem 1.1rem;
    background: var(--accent);
    color: #1e1e2e;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

button[type="submit"]:hover {
    opacity: 0.85;
}

.result-pre {
    background: var(--pre-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1rem;
    max-height: 400px;
    overflow: auto;
    font-size: 0.85rem;
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--text);
}
