.api-documentation {
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    color: #333;
}

.api-section {
    margin-bottom: 60px;
}

.api-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #6C5DD3;
    color: #2c3e50;
}

.api-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #34495e;
}

.api-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
    color: #34495e;
}

.api-section h5 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #34495e;
}

.endpoint {
    background: #f8f9fa;
    border-left: 4px solid #6C5DD3;
    padding: 25px;
    margin-bottom: 40px;
    border-radius: 4px;
}

.endpoint-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-family: 'Monaco', 'Courier New', monospace;
}

.method {
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.method.post {
    background: #10b981;
    color: white;
}

.method.get {
    background: #3b82f6;
    color: white;
}

.path {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.params-table-container {
    overflow-x: auto;
}

.params-table {
    min-width: 500px;
    border-collapse: collapse;
    margin: 15px 0;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.params-table thead {
    background: #6C5DD3;
    color: white;
}

.params-table th {
    padding: 14px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.params-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
}

.params-table tbody tr:last-child td {
    border-bottom: none;
}

.params-table tbody tr:hover {
    background: #f9fafb;
}

.api-documentation pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.5;
}

.api-documentation code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 13px;
}

.params-table code {
    background: #f1f5f9;
    color: #be185d;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
}

.api-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.api-section li {
    margin: 8px 0;
}

.api-section p {
    margin: 12px 0;
}

@media (max-width: 768px) {
    .api-documentation {
        padding: 15px;
    }
    
    .endpoint {
        padding: 15px;
    }
    
    .params-table {
        font-size: 13px;
    }
    
    .params-table th,
    .params-table td {
        padding: 10px;
    }
    
    .api-documentation pre {
        padding: 15px;
        font-size: 12px;
    }
    
    .endpoint-header {
        flex-direction: column;
        align-items: flex-start;
    }
}