* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

h1 {
    color: white;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #667eea;
}

.endpoints, .response-section, .query-section, .qa-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

ul {
    list-style: none;
}

li {
    padding: 20px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

li:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

li strong {
    color: #333;
    font-size: 1.2rem;
    min-width: 100px;
}

li code {
    background: #667eea;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
}

button {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
    margin-left: auto;
}

button:hover {
    background: #5a6fd6;
    transform: scale(1.05);
}

pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    max-height: 400px;
    overflow-y: auto;
}

textarea {
    width: 100%;
    height: 100px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    resize: vertical;
    margin-bottom: 15px;
}

textarea:focus {
    outline: none;
    border-color: #667eea;
}

.query-section button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.qa-section input[type="text"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 15px;
}

.qa-section input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
}

.qa-row {
    display: flex;
    gap: 10px;
}

.qa-row input {
    flex: 1;
    margin-bottom: 0;
}

.qa-row button {
    margin-left: 0;
    padding: 15px 30px;
}

.answer-box {
    margin-top: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
    font-size: 1.05rem;
    line-height: 1.8;
}

.answer-box p {
    margin: 0;
}

.answer-box strong {
    color: #ffd700;
}

.suggestions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.suggestions span {
    font-weight: bold;
    color: #666;
}

.suggestions button {
    margin-left: 0;
    padding: 8px 15px;
    font-size: 0.9rem;
    background: #f0f0f0;
    color: #333;
}

.suggestions button:hover {
    background: #667eea;
    color: white;
}
