/* ==========================================================================
   VNDEL invoice page (2026-11-16): the "Actions" box under the payment panel.
   In Lagom's "modern" style a sidebar panel has no padding and no background, but on the invoice page it gets a hairline border,
   so the title and the link touched the edge. Here it is made a proper card, like the invoice card next to it.
   Scoped to the invoice page only. Remove the <link> to this file in includes/common/overwrites/seo.tpl to disable.
   ========================================================================== */
body.lagom.page-viewinvoice .panel.panel-sidebar:not(.panel-summary) {
    margin-top: var(--spacing-3x, 16px);
    padding: 16px 20px 12px;
    background: var(--panel-bg, transparent);
    border: 1px solid var(--panel-border-divider-color, rgba(128, 138, 180, .22));
    border-radius: var(--panel-border-radius, 12px);
    box-shadow: none;
    overflow: hidden;
}
body.lagom.page-viewinvoice .panel.panel-sidebar:not(.panel-summary) .panel-heading {
    padding: 0 0 10px;
    margin: 0 0 6px;
    min-height: 0;
    border-bottom: 1px solid var(--panel-border-divider-color, rgba(128, 138, 180, .18));
}
body.lagom.page-viewinvoice .panel.panel-sidebar:not(.panel-summary) .panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
body.lagom.page-viewinvoice .panel.panel-sidebar:not(.panel-summary) .panel-title .panel-minimise {
    margin-inline-start: auto;
    float: none !important;
}
body.lagom.page-viewinvoice .panel.panel-sidebar:not(.panel-summary) .list-group {
    padding: 0;
    margin: 0;
}
body.lagom.page-viewinvoice .panel.panel-sidebar:not(.panel-summary) .list-group .list-group-item {
    display: block;
    width: 100%;
    white-space: nowrap;
    padding: 9px 0;
    border: 0;
}
