dialog.billing-confirm-dialog { width: 440px; max-width: calc(100% - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid #dee2e6; border-radius: 6px; color: #212529; background: #fff; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); }
dialog.billing-confirm-dialog[open] { display: flex; flex-direction: column; }
dialog.billing-confirm-dialog::backdrop { background: rgba(0, 0, 0, 0.35); }
.billing-confirm-dialog .modal-header { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border-bottom: 1px solid #dee2e6; }
.billing-confirm-dialog .modal-header .btn-close { flex: 0 0 auto; margin: 0; }
.billing-confirm-dialog .modal-body { min-height: 0; overflow-y: auto; padding: 16px; }
.billing-confirm-dialog .modal-footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid #dee2e6; }
.billing-confirm-dialog .modal-header, .billing-confirm-dialog .modal-footer { flex-shrink: 0; }
.billing-confirm-dialog .modal-title { margin: 0; font-size: 1.125rem; }
.billing-confirm-message, .billing-notice-message { white-space: pre-wrap; overflow-wrap: anywhere; }
.billing-notices { position: fixed; z-index: 1090; top: calc(var(--site-header-height, 64px) + 8px); right: 16px; width: 400px; max-width: calc(100% - 32px); max-height: calc(100dvh - 96px); overflow-y: auto; }
.billing-notices.billing-notices-center { position: absolute; top: 50%; left: 50%; right: auto; transform: translate(-50%, -50%); width: 440px; max-width: calc(100% - 32px); max-height: calc(100% - 32px); }
.billing-notices.billing-notices-viewport { position: fixed; max-height: calc(100dvh - 32px); }
.billing-notices .alert.is-fading { opacity: 0; transition: opacity 350ms ease-out; }
@media (prefers-reduced-motion: reduce) {
  .billing-notices .alert.is-fading { transition: none; }
}
.billing-confirm-dialog .btn { display: inline-block; padding: 6px 12px; border: 1px solid #6c757d; border-radius: 4px; font: inherit; font-size: 14px; line-height: 1.5; cursor: pointer; }
.billing-confirm-dialog .btn-outline-secondary { color: #495057; background: #fff; }
.billing-confirm-dialog .btn-primary { color: #fff; background: #0d6efd; border-color: #0d6efd; }
.billing-confirm-dialog .btn-danger { color: #fff; background: #dc3545; border-color: #dc3545; }
.billing-confirm-dialog .btn:disabled { opacity: 0.65; cursor: default; }
.billing-confirm-dialog .btn-close, .billing-notices .btn-close { box-sizing: border-box; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 4px; color: #495057; background: none; font: 24px/1 Arial, sans-serif; cursor: pointer; }
.billing-notices .alert { position: relative; box-sizing: border-box; margin: 0 0 8px; padding: 16px 48px 16px 16px; border: 1px solid transparent; border-radius: 6px; font-size: 14px; line-height: 1.5; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }
.billing-notices .alert .btn-close { position: absolute; top: 8px; right: 8px; }
.billing-notices .alert-success { color: #0f5132; background: #d1e7dd; border-color: #badbcc; }
.billing-notices .alert-warning { color: #664d03; background: #fff3cd; border-color: #ffecb5; }
.billing-notices .alert-danger { color: #842029; background: #f8d7da; border-color: #f5c2c7; }
.billing-notices .alert-info { color: #055160; background: #cff4fc; border-color: #b6effb; }
