.gap-xs.vertical > *:not(:last-child) { margin-bottom: 4px; }
.gap-s.vertical  > *:not(:last-child) { margin-bottom: 6px; }
.gap-m.vertical  > *:not(:last-child) { margin-bottom: 8px; }
.gap-l.vertical  > *:not(:last-child) { margin-bottom: 12px; }
.gap-xl.vertical > *:not(:last-child) { margin-bottom: 24px; }
.gap-xs.horizontal > *:not(:last-child) { margin-right: 4px; }
.gap-s.horizontal  > *:not(:last-child) { margin-right: 6px; }
.gap-m.horizontal  > *:not(:last-child) { margin-right: 8px; }
.gap-l.horizontal  > *:not(:last-child) { margin-right: 12px; }
.gap-xl.horizontal > *:not(:last-child) { margin-right: 24px; }

.m-xs { margin: 4px; }
.m-s  { margin: 6px; }
.m-m  { margin: 8px; }
.m-l  { margin: 12px; }
.m-xl { margin: 24px; }

.mt-xs { margin-top: 4px; }
.mt-s  { margin-top: 6px; }
.mt-m  { margin-top: 8px; }
.mt-l  { margin-top: 12px; }
.mt-xl { margin-top: 24px; }

.mb-xs { margin-bottom: 4px; }
.mb-s  { margin-bottom: 6px; }
.mb-m  { margin-bottom: 8px; }
.mb-l  { margin-bottom: 12px; }
.mb-xl { margin-bottom: 24px; }

.ms-xs { margin-left: 4px; }
.ms-s  { margin-left: 6px; }
.ms-m  { margin-left: 8px; }
.ms-l  { margin-left: 12px; }
.ms-xl { margin-left: 24px; }

.me-xs { margin-right: 4px; }
.me-s  { margin-right: 6px; }
.me-m  { margin-right: 8px; }
.me-l  { margin-right: 12px; }
.me-xl { margin-right: 24px; }

.current-branch, .current-branch image { color: @accent_color; }

.staged-icon { color: #2ec27e; }
.unstaged-icon { color: #e66100; }
.status-label { font-weight: bold; min-width: 1em; }

/* Commit log badges */
.tag-badge { color: @purple_3; }
.branch-badge { color: @accent_color; }
.remote-branch-badge { color: @success_color; }
.upstream-badge { color: @warning_color; }

/* Diff view */
.diff-addition { background-color: rgba(46, 194, 126, 0.15); }
.diff-deletion { background-color: rgba(224, 27, 36, 0.15); }
.diff-hunk-header {
    background-color: @window_bg_color;
    padding: 4px 8px;
    border-bottom: 1px solid alpha(@borders, 0.3);
}
.diff-line-number {
    min-width: 50px;
    font-family: monospace;
    opacity: 0.6;
    padding: 0 4px;
}
.diff-content {
    font-family: monospace;
    padding: 0 4px;
}
.diff-summary {
    padding: 6px 12px;
    opacity: 0.8;
}
.diff-header {
    padding: 8px 12px;
}

.commit-item { padding: 8px; }

.commit-item.drop-target {
    background-color: alpha(@accent_color, 0.18);
    box-shadow: 0 -2px 0 0 @accent_color;
}

.commit-item.drop-invalid {
    background-color: alpha(@window_fg_color, 0.08);
    box-shadow: 0 -2px 0 0 alpha(@window_fg_color, 0.35);
}

.drag-no-drop {
    color: @error_color;
    background-color: alpha(@window_bg_color, 0.85);
    border-radius: 50%;
    padding: 4px;
}

.rebase-banner {
    padding: 8px 12px;
    background-color: alpha(@accent_bg_color, 0.15);
    border-bottom: 1px solid alpha(@borders, 0.5);
}
