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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #007bff;
}

h1 {
    color: #007bff;
    font-size: 2.5em;
}

.language-toggle {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 10px 20px;
    border: 2px solid #007bff;
    background-color: white;
    color: #007bff;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background-color: #007bff;
    color: white;
}

.lang-btn:hover {
    background-color: #0056b3;
    color: white;
}

.content {
    display: none;
}

.content.active {
    display: block;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: #007bff;
    margin-bottom: 20px;
    font-size: 1.8em;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

h3 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.intro p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 15px;
}

.endpoint {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.endpoint:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.endpoint h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.method {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8em;
    margin-right: 10px;
}

.method.get {
    background-color: #28a745;
    color: white;
}

.method.post {
    background-color: #007bff;
    color: white;
}

.endpoint code {
    background-color: #e9ecef;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 1.1em;
    display: inline-block;
    margin-bottom: 10px;
}

.endpoint p {
    color: #666;
    margin-bottom: 15px;
}

.example {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
}

.example strong {
    color: #495057;
    display: block;
    margin-bottom: 8px;
}

.example pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 12px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #495057;
}

.usage pre {
    background-color: #343a40;
    color: #f8f9fa;
    border-radius: 4px;
    padding: 15px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.usage code {
    background-color: #343a40;
    color: #f8f9fa;
    padding: 2px 4px;
    border-radius: 3px;
}

.config ul {
    list-style-type: none;
    padding-left: 0;
}

.config li {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 8px;
}

.config li strong {
    color: #007bff;
}

footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #e9ecef;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header {
        flex-direction: column;
        gap: 20px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .endpoint {
        padding: 15px;
    }
    
    .example pre {
        font-size: 0.8em;
    }
}
