/* extra styles here if needed */

/**
 ** OpenAPI - openapi2md.py swagger style coloring 
 **/

/* standard REST methods */
.api-endpoint.get      { --method-color: #2196F3; }
.api-endpoint.post     { --method-color: #4CAF50; }
.api-endpoint.put      { --method-color: #9C27B0; }
.api-endpoint.patch    { --method-color: #FF9800; }
.api-endpoint.delete   { --method-color: #F44336; }

/* additional commonly supported methods */
.api-endpoint.head     { --method-color: #009688; }
.api-endpoint.options  { --method-color: #795548; }
.api-endpoint.trace    { --method-color: #607D8B; }
.api-endpoint.connect  { --method-color: #673AB7; }

/* WebDAV & uncommon methods */
.api-endpoint.link     { --method-color: #3F51B5; }
.api-endpoint.unlink   { --method-color: #3F51B5; }
.api-endpoint.propfind { --method-color: #8E24AA; }
.api-endpoint.mkcol    { --method-color: #558B2F; }
.api-endpoint.move     { --method-color: #6D4C41; }
.api-endpoint.copy     { --method-color: #03A9F4; }
.api-endpoint.lock     { --method-color: #E91E63; }
.api-endpoint.unlock   { --method-color: #E91E63; } 

/* badge styling */
.http-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: bold;
    color: white;
    margin-right: 6px;
    background-color: var(--method-color);
}

/* endpoint container - lighter version of badge color */
.api-endpoint {
    padding: 8px 12px;
    border-radius: 6px;
    margin: 12px 0;
    border: 1px solid #ddd;
    background: color-mix(in srgb, var(--method-color) 15%, white);
}

