/* FOSSBilling module templates use class="icon" (Tabler sprite). Sidebar uses .svg-icon (inline MDI). */
.icon {
    height: 20px;
    width: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#orderManager .accordion-button {
    align-items: center;
    min-height: auto;
    padding: 0.75rem 1rem;
}

#orderManager .btn-sm .icon {
    display: block;
}

[data-bs-theme=light] .hide-theme-light,
[data-bs-theme=dark] .hide-theme-dark {
    display: none !important;
}

.js-theme-toggler {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
}

/* CKEditor (support tickets, contact): comfortable minimum typing area */
.ck-editor__main > .ck-editor__editable {
    min-height: calc(1.5em * 4 + 1rem);
}

/* Payment gateway logos: Stripe wordmark is black — unreadable on dark theme tiles */
[data-bs-theme=dark] .invoice-gateway:has(label[style*="stripe.png"]) {
    background-color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}
