/* Extra CSS for Heirloom PLI Documentation */

/* Custom admonition colors */
.md-typeset .admonition.pli-tip {
    border-color: #00c853;
}

.md-typeset .admonition.pli-warning {
    border-color: #ff6d00;
}

.md-typeset .admonition.pli-danger {
    border-color: #d50000;
}

/* Code block improvements */
.md-typeset pre > code {
    max-height: 600px;
}

/* Table improvements */
.md-typeset table:not([class]) {
    font-size: 0.85rem;
}

.md-typeset table:not([class]) th {
    background-color: var(--md-default-fg-color--lightest);
    font-weight: 600;
}

/* Badge styling */
.badge {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.badge-new {
    background-color: #00c853;
    color: white;
}

.badge-updated {
    background-color: #ff6d00;
    color: white;
}

/* Improve code inline readability */
.md-typeset code {
    background-color: var(--md-code-bg-color);
    border-radius: 0.25rem;
    padding: 0.1em 0.3em;
}

/* Better spacing for lists */
.md-typeset li {
    margin-bottom: 0.5em;
}

/* Highlight important notes */
.md-typeset .admonition.important {
    border-left-width: 4px;
}
