/* Resizable Dialog Component Styles */

/* Ensure resize handles are above other content */
.p-dialog .resize-handle {
    position: absolute;
    z-index: 10000;
    transition: background-color 0.2s ease;
}

/* Hover effect for resize handles */
.p-dialog .resize-handle:hover {
    background-color: rgba(0, 123, 255, 0.6) !important;
}

/* Make corner handles more visible */
.p-dialog .resize-handle-ne,
.p-dialog .resize-handle-se,
.p-dialog .resize-handle-sw,
.p-dialog .resize-handle-nw {
    border-radius: 2px;
}

/* Optional: Hide handles when not hovering over dialog */
.p-dialog:not(:hover) .resize-handle {
    opacity: 0.3;
}

.p-dialog:hover .resize-handle {
    opacity: 1;
}

/* Ensure dialog can be resized properly */
.p-dialog.resizable-dialog {
    resize: none !important;
}

/* Small header style when dialog height is below threshold */
.p-dialog.header-small .p-dialog-header {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.p-dialog.header-small .p-dialog-title {
    font-size: 0.9rem;
}

.p-dialog.header-small .p-dialog-header-icons {
    font-size: 0.85rem;
}

.p-dialog.header-small .p-dialog-header-icon {
    width: 1.5rem;
    height: 1.5rem;
}
