/* Jinja equivalent of x-confirm-modal; scoped to relay's DOM dialog. */
dialog.oltp-navy-confirm-modal {
    width: min(480px, calc(100vw - 28px)); max-height: calc(100dvh - 28px);
    margin: auto; padding: 0; border: 1px solid #b8c5d2; border-radius: 12px;
    color: #20354b; background: #fff; box-shadow: 0 20px 60px #0006;
    overflow-y: auto; font: inherit;
}
dialog.oltp-navy-confirm-modal::backdrop { background: #07111bcc; }
.oltp-navy-confirm-modal .oltp-navy-modal-header {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 14px 16px; background: #172d43; color: #edf3f8;
}
.oltp-navy-confirm-modal .oltp-navy-modal-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.oltp-navy-confirm-modal h2 { margin: 0; font-size: 18px; line-height: 1.4; }
.oltp-navy-confirm-modal .oltp-navy-modal-icon-warning {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px;
    height: 40px; border-radius: 6px; background: #fff2cb; border: 1px solid #dfbc65; color: #886010;
}
.oltp-navy-confirm-modal .oltp-navy-modal-close {
    flex: 0 0 44px; height: 44px; border: 0; background: transparent; color: inherit; font-size: 28px;
}
.oltp-navy-confirm-modal .oltp-navy-modal-body { padding: 20px; }
.oltp-navy-confirm-modal .oltp-navy-confirm-text { margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.oltp-navy-confirm-modal .oltp-navy-confirm-hint { margin: 0; font-size: 16px; color: #475d72; }
.oltp-navy-confirm-modal .oltp-navy-confirm-detail {
    margin: 14px 0 0; padding: 8px 12px; border-left: 3px solid #527897; background: #eef3f7; font-size: 14px;
}
.oltp-navy-confirm-modal .oltp-navy-modal-footer {
    display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid #d8e1e9;
}
.oltp-navy-confirm-modal .oltp-navy-modal-footer button { flex: 0 1 auto; min-height: 44px; padding: 10px 14px; border-radius: 8px; font: inherit; }
.oltp-navy-confirm-modal .btn-ghost { color: #475d72; background: #fff; border-color: #b8c5d2; }
.oltp-navy-confirm-modal .btn-reject { color: #fff; background: #ae3939; border: 1px solid #ae3939; }
.oltp-navy-confirm-modal button { cursor: pointer; }
.oltp-navy-confirm-modal button:focus-visible { outline: 3px solid #4e8fbe; outline-offset: 2px; }
.oltp-navy-confirm-modal button:disabled { opacity: .6; cursor: default; }
