/* Styles for Changelog directive */

.changelog-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2em;
    table-layout: fixed;
}

.changelog-table th,
.changelog-table td {
    padding: 12px 16px;
    border: 1px solid #ddd;
    vertical-align: top;
}

.changelog-table th {
    background-color: #d1d3d6;
    font-weight: 600;
    text-align: left;
}

.changelog-tag {
    display: block;
    padding: 4px 8px;
    margin: 2px 0;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.changelog-tag-added {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.changelog-tag-removed {
    background-color: hsl(28, 44%, 82%);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.changelog-tag-changed {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.changelog-tag-fixed {
    background-color: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.changelog-tag-deprecation {
    background-color: #c2bfaf;
    color: #554f2a;
    border: 1px solid #c2bfaf;
}

.changelog-tag-api-break {
    background-color: #dfccce;
    color: #721c24;
    font-weight: 500;
    border: 1px solid #dabcbf;
}

.changelog-tag-default {
    background-color: #cfcfcf;
    color: #363535;
    border: 1px solid #cfcfcf;
}