/* 自定义右键菜单样式 */
#customContextMenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    pointer-events: none;
}

.custom-menu {
    position: fixed !important;
    background: linear-gradient(145deg, rgba(20, 20, 40, 0.98), rgba(10, 10, 25, 0.99)) !important;
    border: 1px solid rgba(0, 242, 255, 0.4) !important;
    border-radius: 14px !important;
    padding: 6px 0 !important;
    min-width: 200px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 
                0 0 25px rgba(0, 242, 255, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    animation: menuFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1000000 !important;
    pointer-events: auto !important;
    overflow: hidden !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.custom-menu-item {
    display: flex !important;
    align-items: center !important;
    padding: 12px 18px !important;
    color: #e8e8e8 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 14px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

.custom-menu-item i {
    margin-right: 12px !important;
    width: 20px !important;
    text-align: center !important;
    color: #00f2ff !important;
    font-size: 15px !important;
    transition: all 0.2s ease !important;
}

.custom-menu-item:hover {
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.15), rgba(0, 242, 255, 0.05)) !important;
    color: #fff !important;
}

.custom-menu-item:hover i {
    color: #fff !important;
    transform: scale(1.15) !important;
}

.custom-menu-item:active {
    background: rgba(0, 242, 255, 0.25) !important;
}

.custom-menu-item.danger {
    color: #ff6b6b !important;
}

.custom-menu-item.danger i {
    color: #ff6b6b !important;
}

.custom-menu-item.danger:hover {
    background: linear-gradient(90deg, rgba(255, 107, 107, 0.2), rgba(255, 107, 107, 0.05)) !important;
    color: #fff !important;
}

.custom-menu-divider {
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.3), transparent) !important;
    margin: 4px 0 !important;
    display: block !important;
}

/* 自定义通知样式 */
.custom-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(145deg, rgba(20, 20, 40, 0.98), rgba(10, 10, 25, 0.99));
    border: 1px solid rgba(0, 242, 255, 0.4);
    border-radius: 12px;
    padding: 14px 18px;
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    opacity: 0;
    transform: translateX(120%);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000001;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.custom-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.custom-notification.success {
    border-color: rgba(0, 255, 136, 0.5);
}

.custom-notification.success i {
    color: #00ff88;
}

.custom-notification.error {
    border-color: rgba(255, 107, 107, 0.5);
}

.custom-notification.error i {
    color: #ff6b6b;
}

.custom-notification.info {
    border-color: rgba(0, 242, 255, 0.5);
}

.custom-notification.info i {
    color: #00f2ff;
}
