/* tree_copy_paste_styles.css
 * Styles for the tree copy-paste module.
 * Core styles are injected dynamically by tree_copy_paste.js;
 * this file exists to satisfy the static resource reference.
 */

.button-group {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    padding: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.button-subgroup {
    display: inline-flex;
    gap: 1px;
}

.button-subgroup:not(:last-child) {
    border-right: 1px solid #ccc;
    padding-right: 3px;
    margin-right: 3px;
}

.button-group .add-item {
    border: none !important;
    background: transparent !important;
    padding: 6px 8px !important;
    margin: 0 !important;
    border-radius: 3px !important;
    transition: all 0.2s ease !important;
    min-width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.button-group .add-item:hover:not(:disabled) {
    background: rgba(0, 123, 255, 0.1) !important;
    color: #007bff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}

.button-group .add-item:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    color: #6c757d !important;
}

#copyNodeBtn:hover:not(:disabled) {
    background: rgba(40, 167, 69, 0.1) !important;
    color: #28a745 !important;
}

#pasteNodeBtn:hover:not(:disabled) {
    background: rgba(0, 123, 255, 0.1) !important;
    color: #007bff !important;
}

#clearCopyBtn:hover:not(:disabled) {
    background: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
}

#moveUpBtn:hover:not(:disabled),
#moveDownBtn:hover:not(:disabled) {
    background: rgba(102, 16, 242, 0.1) !important;
    color: #6610f2 !important;
}

#positionBtn:hover:not(:disabled) {
    background: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107 !important;
}

#copyIndicator {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
