.selection-panel {
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.05) 0%,
            rgba(118, 75, 162, 0.05) 100%);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.selection-panel:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.panel-header i {
    font-size: 24px;
}

/* Action Section */
.action-section {
    padding: 30px 0 20px 0;
}

.btn-action {
    min-width: 250px;
    padding: 16px 48px;
    font-size: 18px;
    gap: 12px;
}

/* Save Message */
.save-message {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(245, 87, 108, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.save-message i {
    font-size: 24px;
}

/* Responsive */
@media (max-width: 991px) {
    .selection-panel {
        margin-bottom: 20px;
    }

    .fixed-scroll-modern {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .panel-header {
        font-size: 16px;
    }

    .panel-header i {
        font-size: 20px;
    }

    .btn-action {
        min-width: 200px;
        padding: 14px 32px;
        font-size: 16px;
    }

    .save-message {
        padding: 14px 24px;
        font-size: 14px;
    }
}

/* Optionally also paste any other global classes used by this page
         (e.g. modern-step-wrapper, step-content-card, alert-modern, fixed-scroll-modern)
         from your main CSS files. */

.danger-tooltip {
    --bs-tooltip-bg: var(--bs-danger);
}

.success-tooltip {
    --bs-tooltip-bg: var(--bs-success);
}

.jstree-custom-button {
    margin-right: 5px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0;
    position: relative;
}

/* .jstree-custom-button i {
  font-size: 12px;
} */
.jstree {
    /* max-width: 100%; */
    overflow: auto;
}

.tooltip.show {
    opacity: 1;
    display: block;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px;
}

