/* Gedeelde popup-stijl voor admin en publieke pagina's. */
.hv-dialog .modal-content {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .24);
    overflow: hidden;
}
.hv-dialog .modal-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    cursor: move;
    user-select: none;
}
.hv-dialog .modal-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}
.hv-dialog .hv-dialog-drag-handle:active { cursor: grabbing; }
.hv-dialog-fullscreen .modal-header { cursor: default; }

.hv-dialog-actions { flex: 0 0 auto; margin-left: auto; }
.hv-dialog-fullscreen {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #6c757d;
}
.hv-dialog-fullscreen:hover { background: #e9ecef; color: #212529; }

.hv-dialog.hv-dialog-fullscreen {
    padding: 0 !important;
    overflow: hidden;
}
.hv-dialog.hv-dialog-fullscreen .modal-dialog {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    transform: none !important;
}
.hv-dialog.hv-dialog-fullscreen .modal-content {
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}
.hv-dialog.hv-dialog-fullscreen .modal-body {
    flex: 1 1 auto;
    overflow: auto;
}
