/* API Documentation Styles */
.api-docs {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.api-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.api-title span {
    font-size: 28px;
}

.endpoint {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.endpoint:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.endpoint-method {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    margin-right: 10px;
}

.method-post {
    background-color: #10b981;
    color: white;
}

.method-get {
    background-color: #3b82f6;
    color: white;
}

.endpoint-path {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #1e293b;
    font-size: 16px;
}

.endpoint-desc {
    color: #64748b;
    margin: 12px 0;
    line-height: 1.6;
}

.code-example {
    background-color: #1e293b;
    border-radius: 6px;
    padding: 15px;
    margin-top: 12px;
    overflow-x: auto;
}

.code-example code {
    font-family: 'Courier New', monospace;
    color: #10b981;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Responsive */
@media (max-width: 768px) {
    .api-docs {
        padding: 20px;
        margin: 10px;
    }

    .api-title {
        font-size: 20px;
    }

    .endpoint {
        padding: 15px;
    }

    .endpoint-path {
        font-size: 14px;
        display: block;
        margin-top: 8px;
    }
}
