body {
}

:root {
    --rgba-success: 25, 135, 84;
    --rgba-danger: 220, 53, 69;
}

.scale-negative-100 {
    background-color: rgba(var(--rgba-danger), 1) !important;
    color: #ffffff;
}

.scale-negative-90 {
    background-color: rgba(var(--rgba-danger), 0.9) !important;
    color: #ffffff;
}

.scale-negative-80 {
    background-color: rgba(var(--rgba-danger), 0.8) !important;
    color: #ffffff;
}

.scale-negative-70 {
    background-color: rgba(var(--rgba-danger), 0.7) !important;
    color: #ffffff;
}

.scale-negative-60 {
    background-color: rgba(var(--rgba-danger), 0.6) !important;
    color: #ffffff;
}

.scale-negative-50 {
    background-color: rgba(var(--rgba-danger), 0.5) !important;
    color: #ffffff;
}

.scale-negative-40 {
    background-color: rgba(var(--rgba-danger), 0.4) !important;
    color: #000000;
}

.scale-negative-30 {
    background-color: rgba(var(--rgba-danger), 0.3) !important;
    color: #000000;
}

.scale-negative-20 {
    background-color: rgba(var(--rgba-danger), 0.2) !important;
    color: #000000;
}

.scale-negative-10 {
    background-color: rgba(var(--rgba-danger), 0.1) !important;
    color: #000000;
}

.scale-positive-100 {
    background-color: rgba(var(--rgba-success), 1) !important;
    color: #ffffff;
}

.scale-positive-90 {
    background-color: rgba(var(--rgba-success), 0.9) !important;
    color: #ffffff;
}

.scale-positive-80 {
    background-color: rgba(var(--rgba-success), 0.8) !important;
    color: #ffffff;
}

.scale-positive-70 {
    background-color: rgba(var(--rgba-success), 0.7) !important;
    color: #ffffff;
}

.scale-positive-60 {
    background-color: rgba(var(--rgba-success), 0.6) !important;
    color: #ffffff;
}

.scale-positive-50 {
    background-color: rgba(var(--rgba-success), 0.5) !important;
    color: #ffffff;
}

.scale-positive-40 {
    background-color: rgba(var(--rgba-success), 0.4) !important;
    color: #000000;
}

.scale-positive-30 {
    background-color: rgba(var(--rgba-success), 0.3) !important;
    color: #000000;
}

.scale-positive-20 {
    background-color: rgba(var(--rgba-success), 0.2) !important;
    color: #000000;
}

.scale-positive-10 {
    background-color: rgba(var(--rgba-success), 0.1) !important;
    color: #000000;
}

.logo {
    height: 16px;
    width: auto;
    vertical-align: middle;
}

.navbar {
    position: relative;
}

.navbar .dropdown {
    position: relative;
    z-index: 1035;
}

.navbar .dropdown-menu {
    z-index: 1036;
}

.erp-summary-toolbar {
    position: relative;
    z-index: 1030;
    overflow: visible;
}

.erp-summary-toolbar .dropdown {
    position: relative;
    z-index: 1030;
}

.erp-summary-export-menu {
    z-index: 1031 !important;
}

/* Commit list styles */
.commit-card {
    border: 1px solid var(--bs-border-color, #ddd);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.commit-head {
    padding: .75rem 1rem;
    background: var(--bs-tertiary-bg, #f7f7f7);
}

.commit-meta {
    font-size: .875rem;
    color: #666;
}

.diff {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: .875rem;
    white-space: pre;
    overflow: auto;
    margin: 0;
    padding: .5rem 1rem;
}

.diff .hunk { background: #f0f0f0; color: #333; }
.diff .file { background: #eef;    color: #223; }
.diff .add  { background: #e6ffed; color: #1a7f37; }
.diff .del  { background: #ffeef0; color: #b31d28; }
.diff .ctx  { color: #444; }
