.draggable-modal {
    user-select: none;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    will-change: transform;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.draggable-modal .modal-header {
    user-select: none;
    touch-action: none;
    cursor: grab;
}

.draggable-modal .modal-header:active {
    cursor: grabbing;
}

.draggable-modal .modal-content {
    border-radius: 0 0 8px 8px;
    overflow-y: auto;
    max-height: calc(90vh - 50px); /* Adjust based on header height */
}

.draggable-modal button:hover {
    color: #A3A3A3;
}

/* Prevent text selection while dragging */
.draggable-modal * {
    user-select: none;
}

/* Allow text selection in the content area */
.draggable-modal .modal-content * {
    user-select: text;
}
